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: flexcoders@yahoogroups.com 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 partof 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.
RE: [flexcoders] Flex + Java Classes (as RemoteObjects) Config Question
Title: Message Correct. Iam hoping it is something that straight forward. -Original Message-From: Chris Reynolds [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 12:05 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex + Java Classes (as RemoteObjects) Config Question Presumably thelast 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 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex + Java Classes (as RemoteObjects) Config Question All.Basically I am trying to configure the my flex application to work with someserver side java objects (basic pojos) and am getting a'flashgateway.adapter.NoSuchServiceException' error thrown when I attempt toaccess it. I have been able to get this working on several different serversbut am at a loss towhy this one particular setup is causing an issue. I amrunning my connectivity test with the both a helloWorld java object and thesample java connector that comes with the flex install.This is my environment.Jrun 4.0 (running latest updater) installI 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 inthat server called 'flex'. I loaded my test java classes (also tried theCairngorm 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 nothaving the gateway find the classes in that directory (oh, I can confirmthat the classes work through a jsp running on that page).Thanks.Ben--This e-mail and any attachments may contain information which isconfidential, proprietary, privileged or otherwise protected by law. Theinformation is solely intended for the named addressee (or a personresponsible for delivering it to the addressee). If you are not the intendedrecipient of this message, you are not authorized to read, print, retain,copy or disseminatethis message or any part of it. If you have receivedthis e-mail in error, please notify the sender immediately by return e-mailand deleteit from your computer.
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:* flexcoders@yahoogroups.com *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:* flexcoders@yahoogroups.com *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=groups/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
RE: [flexcoders] Flex + Java Classes (as RemoteObjects) Config Question
Spike. I am running CFMX on one of my Jrun server instances. How did you go about fixing the error (aside from uninstalling CF :) ). I was trying to determine classpath conflicts today but hadn't discovered specifics. Thanks. Ben -Original Message- From: Spike [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 1:24 AM To: flexcoders@yahoogroups.com 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:* flexcoders@yahoogroups.com *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:* flexcoders@yahoogroups.com *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 Yahoo! Groups Links
Re: [flexcoders] Flex + Java Classes (as RemoteObjects) Config Question
I removed the classpath entries I added to the JRun instance for verity. Those were the ones that caused the problem for me. Haven't got round to sorting out how to put them back on again so they don't conflict, but that was the issue. You should be able to tell if that's the issue if you run the flex server from the command line. I can give you more details if you need them, but it's getting late here and I'm about to head off to bed. Spike Ben Elmore wrote: Spike. I am running CFMX on one of my Jrun server instances. How did you go about fixing the error (aside from uninstalling CF :) ). I was trying to determine classpath conflicts today but hadn't discovered specifics. Thanks. Ben -Original Message- From: Spike [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 1:24 AM To: flexcoders@yahoogroups.com 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:* flexcoders@yahoogroups.com *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:* flexcoders@yahoogroups.com *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
RE: [flexcoders] Flex + Java Classes (as RemoteObjects) Config Question
Spike. Thanks for the nudge in the right direction. I solved my issue (though I haven't seen if this messes up CF yet) by updating the class path in the jvm.config file to have it look in jrun/lib rather then Web-Inf/cfusion/lib directory first. I seem to remember that this might not be the best thing since CFusionMX had different versions of certain sub component (xml parsers and the like) then Jrun. Can anyone from MM comment on that, esp if this would mess up a CF7 install on a Java instance (our target prod environment)? Ben -Original Message- From: Spike [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 1:39 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex + Java Classes (as RemoteObjects) Config Question I removed the classpath entries I added to the JRun instance for verity. Those were the ones that caused the problem for me. Haven't got round to sorting out how to put them back on again so they don't conflict, but that was the issue. You should be able to tell if that's the issue if you run the flex server from the command line. I can give you more details if you need them, but it's getting late here and I'm about to head off to bed. Spike Ben Elmore wrote: Spike. I am running CFMX on one of my Jrun server instances. How did you go about fixing the error (aside from uninstalling CF :) ). I was trying to determine classpath conflicts today but hadn't discovered specifics. Thanks. Ben -Original Message- From: Spike [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 1:24 AM To: flexcoders@yahoogroups.com 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:* flexcoders@yahoogroups.com *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:* flexcoders@yahoogroups.com *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