Thanks for the update Peter.

The specific config setting that causes the problem is adding verity support, so if you don't need that you should be fine. The question is whether there is a standard way to set it up so that you can have both CFMX with verity and Flex running at the same time.

The relevant docs here: http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/instal17.htm

My guess that the solution would be one of:

* Move the verity files elsewhere and change the JVM config path to point to the new location.
* Remove flashgateway.jar from the cfusion/lib directory of any CFMX server instances and reconfigure the web.xml if necessary so that it uses the one in JRun/lib.
* Modify the classloader settings so that the classpath setting for each CFMX server instance doesn't affect the whole server.


Rather than playing around to figure out which (if any) of those options would work, it would be nice if we could get official confirmation from Macromedia, or a link to a technote that answers this. I have a feeling that I have seen a technote along those lines, but it was a long time ago and I can't find it now.

Spike

Peter Farland wrote:
Hi Ben, Spike is correct - CF 6.1 unfortunately made changes to Jrun's
jvm.config level classpath. I've heard from the CF team a while ago that
they no longer do this for CF7.

If you've tried removing the jvm.config level additions to the classpath and
CF 6.1 still runs, then I think you're fine.

Web applications should keep their class paths isolated at the application
level. If you have this setup, things should be fine in Flex 1.5 (as the CF
gateway is behind their own bootstrap classloader).

Pete


-----Original Message-----
From: Spike [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 1:24 AM
To: [email protected]
Subject: Re: [flexcoders] Flex + Java Classes (as RemoteObjects) Config
Question




Do you have a CFMX instance running on the JRun server.

I ran into an issue a week or so ago with a conflict between the instructions for setting up verity and running a Flex server.

The basic problem was a classpath issue that was causing the JVM to use the CFMX flash remoting instead of the generic flash remoting, so it was looking in the wrong place for the class files when a remoting request came through the Flex server.

Not sure if that's your issue, but I tracked it down by launching the server instance in debug mode and lookging at the details for the error when remoting couldn't find the classes.

HTH

Spike

Ben Elmore wrote:

Correct. I am hoping it is something that straight forward.

-----Original Message-----
*From:* Chris Reynolds [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, March 02, 2005 12:05 AM
*To:* [email protected]
*Subject:* RE: [flexcoders] Flex + Java Classes (as RemoteObjects)
Config Question

Presumably the last s in the folder was just an email typo ;-)

{insall-server-root}/FlexProjects/Flex/WEB-INF/classess






---------------------------------------------------------------------- --

*From:* Ben Elmore [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, March 02, 2005 5:26 PM
*To:* [email protected]
*Subject:* [flexcoders] Flex + Java Classes (as RemoteObjects)
Config Question



All.

Basically I am trying to configure the my flex application to work
with some
server side java objects (basic pojos) and am getting a
'flashgateway.adapter.NoSuchServiceException' error thrown when I
attempt to
access it. I have been able to get this working on several different
servers
but am at a loss to why this one particular setup is causing an
issue. I am
running my connectivity test with the both a helloWorld java object
and the
sample java connector that comes with the flex install.

This is my environment.

Jrun 4.0 (running latest updater) install

I have several Jrun servers running each with a couple of apps.

For the environment I am trying to set up I have configured a new

server

(called FlexProjects) and extracted the flex.war file into a
directory in
that server called 'flex'. I loaded my test java classes (also
tried the
Cairngorm demo) into the
{insall-server-root}/FlexProjects/Flex/WEB-INF/classess directory.

Is there something that I am missing in the config of Jrun that is not
having the gateway find the classes in that directory (oh, I can

confirm

that the classes work through a jsp running on that page).

Thanks.

Ben



----------------------------------------------------------------------------

------

This e-mail and any attachments may contain information which is
confidential, proprietary, privileged or otherwise protected by law.

The

information is solely intended for the named addressee (or a person
responsible for delivering it to the addressee). If you are not the
intended
recipient of this message, you are not authorized to read, print,
retain,
copy or disseminate this message or any part of it. If you have

received

this e-mail in error, please notify the sender immediately by return
e-mail
and delete it from your computer.







*Yahoo! Groups Sponsor*
ADVERTISEMENT
click here


<http://us.ard.yahoo.com/SIG=1290mjllk/M=298184.6018725.7038619.3001176/D=gr oups/S=1705007207:HM/EXP=1109830219/A=2593423/R=0/SIG=11el9gslf/*http://www. netflix.com/Default?mqso=60190075>


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

<mailto:[EMAIL PROTECTED]>

* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/>.





--

--------------------------------------------
Stephen Milligan
Code poet for hire
http://www.spike.org.uk

Do you cfeclipse? http://cfeclipse.tigris.org




Reply via email to