House of Fusion
Home of the ColdFusion Community
Hostmysite Dedicated Hosting

Search flex

August 21, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
           1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31             

Subscribe Now
Fusion Authority Quarterly Update - ColdFusion 8 Special Edition

For ColdFusion hosting try HostMySite.com.
Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  Adobe Flex 2

Remote Object problems

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ian Skinner
03/20/2008 01:44 PM

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?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
João_Fernandes
03/20/2008 03:08 PM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ian Skinner
03/20/2008 03:45 PM

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?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Douglas Knudsen
03/20/2008 03:59 PM

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?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
João_Fernandes
03/20/2008 04:14 PM

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


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists