August 21, 2008
For ColdFusion hosting try HostMySite.com. |
Home /
Groups /
Adobe Flex 2
Remote Object problems
I am trying to rebuild a project that I have not touched in some threeIan Skinner 03/20/08 01:44 P Is CF running under the troublelog context root? Or did you hardcodedJoão_Fernandes 03/20/08 03:08 P João_Fernandes wrote:Ian Skinner 03/20/08 03:45 P On Thu, Mar 20, 2008 at 3:45 PM, Ian Skinner <HOF@ilsweb.com> wrote:Douglas Knudsen 03/20/08 03:59 P Exactly, the Flex Builder context.root variable is what corresponds toJoão_Fernandes 03/20/08 04:14 P I am trying to rebuild a project that I have not touched in some three or four months. When I run the code I in my Builder I get this error. [FaultEvent fault=[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://localhost/troublelog/flex2gateway/'"] messageId="84687DCD-26CD-7E29-5699-CD4932CC0545" type="fault" bubbles=false cancelable=true eventPhase=2] Can anybody point out what this actually means and hopefully what I should do to resolve it? Is CF running under the troublelog context root? Or did you hardcoded that value ? -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org João_Fernandes wrote: > Is CF running under the troublelog context root? Or did you hardcoded > that value ? > What do you mean by 'under the context root'? ColdFusion is running against my IIS website which has the web root of C:\development\wwwroot The Flex app output runs under this in C:\development\wwwRoot\Flex\TroubleLog\ accessed as http:\\localhost\Flex\TroubleLog\ The Flex development directory with the MXML files is at C:\development\Flex\TroubleLog\ I did put 'TroubleLog' in the project definition in the context root field. Is something wrong with any of that? On Thu, Mar 20, 2008 at 3:45 PM, Ian Skinner <HOF@ilsweb.com> wrote: ----- Excess quoted text cut - see Original Post for more ----- yes, issue here. put just / in there for your setup. DK > > Is something wrong with any of that? Exactly, the Flex Builder context.root variable is what corresponds to your server-side application root. If you deployed CF as /cfusion context-root (default for war deployment) you whould have to set it the same way in Flex Builder so the channel points to the right place ( http://someservername/cfusion/flex2gateway ). Standard or Multiserver usually use / as context-root so your channel will always point to http://servername/flex2gateway . -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
|
Mailing Lists
|
Latest Fusion Authority Articles
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||