House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  Adobe Integrated Runtime (AIR)

RemoteObject Troubles on Windows

  << Previous Post |  RSS |  Tree View |  Sort Oldest First |  Subscribe to this Group  

RemoteObject Troubles on Windows

It turns out it was the server. We moved all the CF code to a freshly installed Scott McAllister 12/15/2008 02:08 PM
Interesting development. All of this trouble has been with connecting to the Scott McAllister 12/12/2008 01:46 AM
Fully updated versions of XP and Vista have been tested, and the error has Scott McAllister 12/10/2008 07:42 PM
again, I am thinkign that if the issue were the code it would not work Dana 12/10/2008 04:18 PM
Sorry if this is another duplicate.  I could have sworn I posted Scott McAllister 12/10/2008 04:14 PM
silly laptop, I did not mean to send that yet.... Am thinkinng your Dana 12/08/2008 11:09 PM
there's an interesting suggestion! I am thinking that your issue is not Dana 12/08/2008 11:04 PM
Is the server in this: James Holmes 12/08/2008 10:22 PM
Sorry for the duplicates posts, I always forget there is a hesitation on Scott McAllister 12/08/2008 09:57 PM
Do you have an example of how you are using RemoteObject?  I work with Steve Good 12/08/2008 05:54 PM
is the ColdFusion install on campus? you may be running into network Dana 12/08/2008 05:50 PM
Thanks to a previous thread on this site I was able to get RemoteObject in a AIR Scott McAllister 12/08/2008 05:45 PM
Thanks to the other thread on here regarding the use of RemoteObject in AIR I Scott McAllister 12/08/2008 05:45 PM

12/15/2008 02:08 PM
Author: Scott McAllister Short Link: http://www.houseoffusion.com/groups/adobe-integrated-runtime/thread.cfm/threadid:1797#5594 It turns out it was the server. We moved all the CF code to a freshly installed instance of Apache, running on more reliable hardware, and it seems to work. Thanks again for all you help. -Scott
12/12/2008 01:46 AM
Author: Scott McAllister Short Link: http://www.houseoffusion.com/groups/adobe-integrated-runtime/thread.cfm/threadid:1797#5593 Interesting development. All of this trouble has been with connecting to the production server where ColdFusion is running on Apache2.  I just had someone run a test where they ran the updater from the AIR app installed on Vista pointed to our development server where CF is running on IIS, and it worked. Looking at the apache error logs on the production server I found this repeating entry around the same time as running the updates: mod_mime_magic: invalid type 0 in mconvert()., referer: app:/myAppName.swf I'm not exactly sure what that means, but it's progress. Thanks again for all your thoughts. Still open to any suggestions or tips. -Scott
12/10/2008 07:42 PM
Author: Scott McAllister Short Link: http://www.houseoffusion.com/groups/adobe-integrated-runtime/thread.cfm/threadid:1797#5592 Fully updated versions of XP and Vista have been tested, and the error has occurred on both OSes. -Scott
12/10/2008 04:18 PM
Author: Dana Short Link: http://www.houseoffusion.com/groups/adobe-integrated-runtime/thread.cfm/threadid:1797#5591 again, I am thinkign that if the issue were the code it would not work on macs either. Can you tellme which Windows OSes you are using exactly on both machines? ----- Excess quoted text cut - see Original Post for more -----
12/10/2008 04:14 PM
Author: Scott McAllister Short Link: http://www.houseoffusion.com/groups/adobe-integrated-runtime/thread.cfm/threadid:1797#5590 Sorry if this is another duplicate.  I could have sworn I posted earlier today. Thanks for the replies! @James - My apologies, my actually code does indeed have the full domain in the updateRO.endpoint. @Dana - I also think it could be something to do with connections, but I don't know enough about Windows to know where to look. Another twist that I discovered today is that out of the 11 RemoteObject calls the first one completes just fine on Windows. The blow up happens on the second RemoteObject call.  But, in the past, when it was CF code that broke the app I received a different error that indicated the CFC couldn't be invoked. So, I can't think the actual CF code is the problem.  Am I wrong? Thanks again for all your help! -Scott
12/08/2008 11:09 PM
Author: Dana Short Link: http://www.houseoffusion.com/groups/adobe-integrated-runtime/thread.cfm/threadid:1797#5589 silly laptop, I did not mean to send that yet.... Am thinkinng your problem is not code syntax if the code works on a mac -- that is why I am thinking about connections. For other connections (not involving this particular code) is it also true that you can connect to campus with the mac but not with windows? ----- Excess quoted text cut - see Original Post for more -----
12/08/2008 11:04 PM
Author: Dana Short Link: http://www.houseoffusion.com/groups/adobe-integrated-runtime/thread.cfm/threadid:1797#5588 there's an interesting suggestion! I am thinking that your issue is not ----- Excess quoted text cut - see Original Post for more -----
12/08/2008 10:22 PM
Author: James Holmes Short Link: http://www.houseoffusion.com/groups/adobe-integrated-runtime/thread.cfm/threadid:1797#5587 Is the server in this: updateRO.endpoint = "http://myserver/flex2gateway/"; just the server name of the full domain name? If it's just the server name, perhaps your MAC has a hosts entry for that server that your PC doesn't. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ----- Excess quoted text cut - see Original Post for more -----
12/08/2008 09:57 PM
Author: Scott McAllister Short Link: http://www.houseoffusion.com/groups/adobe-integrated-runtime/thread.cfm/threadid:1797#5586 Sorry for the duplicates posts, I always forget there is a hesitation on houseoffusion before posts are presented.   @Dana, The CF server resides on campus. The funny part is that when I test the RemoteObject at home (off campus) it works on my MacBookPro while it's running XP, but not on a Dell laptop running XP from the same location.  I've tried from various locations (and with various hardware configs) off campus and the only consistent behavior is that the RemoteObject always works from a Mac and not from XP.  I have yet to find a test machine that runs Vista (off campus), so I'm not sure if the latest version of Windows would change anything. @Steve, I'm using RemoteObject inside of an AS Class.  The code I use to set up the RO looks something like this: import mx.rpc.remoting.mxml.RemoteObject; private var updateRO:RemoteObject; updateRO = new RemoteObject(); updateRO.destination = "ColdFusion"; updateRO.endpoint = "http://myserver/flex2gateway/"; updateRO.source = "path.to.remoteObject.UpdateRO"; updateRO.requestTimeout = 120; I then have around 11 eventListeners that prepare for corresponding function calls in the updateRO. They look like the following: updateRO.checkForNew.addEventListener("result",checkForNewHandler); updateRO.checkForNew.addEventListener("fault",newErrorHandler); And then I initiate the process by calling the functions in the updateRO like so: updateRO.checkDBUpdates( updateDate ); This is all very new to me, so any tips would be awesome.  Thanks for your replies, and offering up your help! -Scott
12/08/2008 05:54 PM
Author: Steve Good Short Link: http://www.houseoffusion.com/groups/adobe-integrated-runtime/thread.cfm/threadid:1797#5585 Do you have an example of how you are using RemoteObject?  I work with   these all day every day and I haven't found any issues with ROs and   the OS. Steve Good http://lanctr.com On Dec 8, 2008, at 1:59 PM, Scott McAllister wrote: ----- Excess quoted text cut - see Original Post for more -----
12/08/2008 05:50 PM
Author: Dana Short Link: http://www.houseoffusion.com/groups/adobe-integrated-runtime/thread.cfm/threadid:1797#5584 is the ColdFusion install on campus? you may be running into network security,like a firewall. On the other hand you say this works on a Mac whether you are on campus or not?  What Windows are we talking about? ----- Excess quoted text cut - see Original Post for more -----
12/08/2008 05:45 PM
Author: Scott McAllister Short Link: http://www.houseoffusion.com/groups/adobe-integrated-runtime/thread.cfm/threadid:1797#5582 Thanks to a previous thread on this site I was able to get RemoteObject in a AIR app to work seamlessly with a ColdFusion server...most of the time. The RemoteObject connects with ColdFusion to retrieve data updates from the server. As I mentioned, this setup is working superbly when the AIR app is installed on a Mac. However, when the app is install on Windows I receive the following error whenever trying to retrieve updates from ColdFusion: faultCode: Channel.Call.Failed faultString:'error' faultDetail:'NetConnection.Call.Failed: HTTP: Failed' There is one more twist in this dilemma, the CF server resides on a high powered university network where I work.  On campus Windows runs the RemoteObject code perfectly.  It is only off campus where this error occurs. Any tips on understanding and/or fixing this error would be delightful. Thanks, Scott
12/08/2008 05:45 PM
Author: Scott McAllister Short Link: http://www.houseoffusion.com/groups/adobe-integrated-runtime/thread.cfm/threadid:1797#5583 Thanks to the other thread on here regarding the use of RemoteObject in AIR I have been able to create a great connection between my AIR app and a CF server.   At least, most of the time. I have a Flex-based AIR app that uses a RemoteObject that connects with ColdFusion to retrieve updates on the data stored in the AIR app. As I mentioned, this setup is working superbly when the AIR app is installed on a Mac. However, when the app is installed on Windows I receive the following error whenever trying to retrieve updates from ColdFusion: faultCode: Channel.Call.Failed faultString:'error' faultDetail:'NetConnection.Call.Failed: HTTP: Failed' The other twist on this issue is that it only occurs off campus. Working on a high speed university network, where the CF server is located, I can run the AIR app on either operating system and it works with the CF server just fine. My issue is with using RemoteObject with my AIR app installed on Windows running off campus. Any help in understanding this issue and/or how to fix it would be delightful. Thanks, Scott
<< Previous Thread Today's Threads  

Search adobe-integrated-runtime

May 16, 2012

<<   <   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     

Designer, Developer and mobile workflow conference