|
I think JRun has a sniffer.exe in the main jrun bin
directory that you could use...
I think you would have to methodically track down what URLs
are being used at compile time, what URLs are being used to host the SWF, what
URLs are being used to make data requests. Without detailed info I can't suggest
more than that as it seems that what you're doing in terms of RemoteObject is
fine (as per it working on Tomcat). From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Crane Sent: Sunday, October 16, 2005 9:51 PM To: [email protected] Subject: RE: [flexcoders] RemoteObject call to POJO on JRUN Here is the mapping I
have for the AMFGatewayServlet in my flex servers /WEB-INF/web.xml
file: <!-- Flash Remoting
AMF Gateway URL -->
<servlet-mapping>
<servlet-name>AMFGatewayServlet</servlet-name>
<url-pattern>/amfgateway/*</url-pattern>
</servlet-mapping> As for using a sniffer,
NO I haven’t tried using one. How might I go about it, what program should
I use…? Also, I have since
installed Tomcat and copied the server I had setup on JRun onto it and
“magically” it is working! Now, since we know it is not my code or the
flex-config.xml configuration that it must be JRun and/or a conflict with
coldfusion. I’m not sure how to resolve this issue, and am pretty pissed
and frustrated having found out that everything I needed to do to get my remote
java classes to work was correct. I would like to still figure out what
the issue is with JRun problem. Thanks, Jeremy From:
Are you sure that
/amfgateway is mapped to your Flex AMF GatewayServlet in /WEB-INF/web.xml and
not a coldfusion one? Have you used a sniffer to try and watch where your SWF is
trying to call - i.e. tracking down host names, ports, context roots, what have
you... From:
One more thing that I
should mention is that Flex and Coldfusion are installed on separate JRun server
instances. From:
Ok, I have again resumed trying to
figure out how to get a call to a Remote Java object working. I posted a
previous message on this topic, but was not able to get a working answer.
The PROBLEM: When calling a java class located in {contextroot}\classes\com\obc
I get a response of Service threw an exception during method invocation: no
service named com.obc.User known to Flash Remoting MX. BACKGROUND:
Flex installed on a Coldfusion MX integrated JRun4 server. The
remote-object section of the flex-config file contains the following
<remote-objects>
<amf-gateway>{context.root}/amfgateway</amf-gateway>
<amf-https-gateway>{context.root}/amfgateway</amf-https-gateway>
<allow-url-override>false</allow-url-override>
<whitelist>
<!-- whitelist config for unnamed objects -->
<unnamed>
<source>*</source> … MORE BACKGROUND: I can make a
successful call to a coldfusion component as a webservice using
<mx:RemoteObject> It seems to me that somehow there is
a conflict with the remoting gateway for coldfusion and the one for flex, but I
really am not sure how to fix it if it is actually what is causing the problem.
If anyone has experienced this problem, or knows of a solution I really
appreciate your suggestions. Thanks, Jeremy -- 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
|
- RE: [flexcoders] RemoteObject call to POJO on JRUN Peter Farland
- RE: [flexcoders] RemoteObject call to POJO on JRUN Jeremy Crane
- RE: [flexcoders] RemoteObject call to POJO on JRUN Peter Farland

