I assume you're using the webtier compiler (i.e. relying on the servlet to compile .mxml to .swf)? What about the other tokens in the channel definition? Check the value of context.root in /WEB-INF/flex-config.xml to see if it matches or try eliminating it from the channel-definition to isolate the issue. Check that your destination in RemoteObject is setup to use this channel.
Have you registered a fault handler for the RemoteObject? Are you getting any errors? Check the flashlog.txt file if using a debug version of Flash Player 8.5. Try adding an <mx:TraceTarget level="0" /> tag to your MXML too to trace channel (well, all messaging) communications. Consider whether you're using an IP address to precompile a SWF but then accessing the SWF using a domain name - remembering that the security sandbox does not translate DNS to IP or vice-versa in which case you'd need a crossdomain.xml file in a webapp at the default context root (i.e. not /flex) to allow such a difference in URLs. -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Thursday, March 09, 2006 3:51 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Firewall ports for Enterprise Services with Java RemoteObject Everything going through JRun... invoking the thing via: http://serverIP:8700/flex/AppFusion/Qualcomm.mxml channel looks like: <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel"> <endpoint uri="http://{server.name}:8700/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/> <properties> <polling-enabled>false</polling-enabled> </properties> </channel-definition> seems like it should all be going over 8700 right? Thunder --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote: > > What does the channel configuration look like in your > flex-enterprise-services.xml file? Have you tried replacing any tokens > in the endpoint URI with hard coded values to check whether they're > successfully being resolved at runtme? Where are launching the SWF from? > If it's not from the same JRun web server you'll need a > crossdomain.xml file. > > -----Original Message----- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] > On Behalf Of thunderstumpgesatwork > Sent: Thursday, March 09, 2006 1:16 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Firewall ports for Enterprise Services with Java > RemoteObject > > Hi guys > > we have attempted to provide access to out flex app (2.0 Beta1) > through our firewall, and have opened port 8700 (the default http port > for JRUN). We are using Java RemoteObjects in JRUN over the default > AMF channel (also configured to use port 8700 from what I can tell) > > With just port 8700 open, we get the initial screen, but it appears > the remote object calls cannot connect. > > Are there any other ports that need to be opened up for this > configuration? I could not find any documentation discussing firewalls > and ports for Flex. > > thanks, > Thunder -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/