Hi Dave, I can I see how your Apple's UnixLaunchScript.sh look like? So why is very difficult to launch a JavaClient on WebObjects 5.4 ?
Thanks Le 24 févr. 2012 à 21:44, David Avendasora <webobje...@avendasora.com> a écrit : > I just started up one of my Java Client/Server apps that when run in > production, launches the client through Java WebStart. > > When I launch the server-side app in Eclipse then use the UnixLaunchClient.sh > script to launch the client-side app the client-side application launches > with no problem and connects to the server-side app and works just fine. > > However, when I connect to the server-side app through a web browser: > > http://Kaiten.local:63994/cgi-bin/WebObjects/KMJavaClient.woa > > I get the standard "click here to start Kaiten Manufacturing through > WebStart." page. When I click on the link which should generate a JNLP file > and return it to the browser I get this as the HTTP response: > > HTTP/1.0 404 Apple WebObjects > Content-Length: 0 > x-webobjects-loadaverage: 11 > > The URL that the link is trying to load is: > http://Kaiten.local:63994/cgi-bin/WebObjects/KMJavaClient.woa/eowebstart/com.webobjects.eodistribution._EOWebStartAction/webStart/JavaClient.jnlp > > I haven't tried to deploy at all to see if there is a problem once deployed. > > Again, if I launch using Apple's UnixLaunchScript.sh which should get copied > into your App.woa/Contents/MacOS/ directory and get renamed to > ProjectName_Client. > > If that is there when launching the app in Eclipse, then your app should > automatically launch, without needing the JNLP file. > > Dave > > On Feb 24, 2012, at 8:16 AM, Raymond NANEON wrote: > >> Hi Dave, >> >> When I try to load the dynamic JavaClient.jnlp, nothing happens just this >> exception in log : java.io.FileNotFoundException: >> /Library/WebServer/Documents/cgi-bin/WebObjects/WebStartJNLPTest.woa/eowebstart/com.webobjects.eodistribution._EOWebStartAction/webStart/JavaClient.jnlp >> (No such file or directory) >> >> Thanks >> >> >> >> Le 23 févr. 2012 à 23:32, David Avendasora <webobje...@avendasora.com> a >> écrit : >> >>> Hi Raymond, >>> >>> It's been a couple years since I did JavaClient stuff, but... >>> >>> What happens when you try to simply load " >>> /cgi-bin/WebObjects/WebStartJNLPTest.woa/eowebstart/com.webobjects.eodistribution._EOWebStartAction/webStart/JavaClient.jnlp" >>> in your web browser? >>> >>> Dave >>> >>> On Feb 23, 2012, at 9:46 PM, Raymond NANEON wrote: >>> >>>> Hi, >>>> >>>> I tried a little JavaClient app but I can't launch the app because the >>>> JavaClient.jnlp link is broken. >>>> >>>> I got this error : >>>> >>>> [2012-2-23 14:33:42 CET] <main> Opening application's URL in browser: >>>> http://imac-cedre.utt.fr:51807/cgi-bin/WebObjects/WebStartJNLPTest.woa >>>> [2012-2-23 14:33:42 CET] <main> null >>>> [2012-2-23 14:33:42 CET] <main> Waiting for requests... >>>> [2012-2-23 14:33:49 CET] <WorkerThread0> >>>> <com.webobjects.appserver._private.WOStaticResourceRequestHandler> Unable >>>> to get contents of file for uri. file: >>>> /Library/WebServer/Documents/cgi-bin/WebObjects/WebStartJNLPTest.woa/eowebstart/com.webobjects.eodistribution._EOWebStartAction/webStart/JavaClient.jnlp; >>>> uri: >>>> /cgi-bin/WebObjects/WebStartJNLPTest.woa/eowebstart/com.webobjects.eodistribution._EOWebStartAction/webStart/JavaClient.jnlp >>>> [2012-2-23 14:33:49 CET] <WorkerThread0> java.io.FileNotFoundException: >>>> /Library/WebServer/Documents/cgi-bin/WebObjects/WebStartJNLPTest.woa/eowebstart/com.webobjects.eodistribution._EOWebStartAction/webStart/JavaClient.jnlp >>>> (No such file or directory) >>>> at java.io.FileInputStream.open(Native Method) >>>> at java.io.FileInputStream.<init>(FileInputStream.java:120) >>>> at >>>> com.webobjects.appserver._private.WOStaticResourceRequestHandler.handleRequest(WOStaticResourceRequestHandler.java:86) >>>> at >>>> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687) >>>> at >>>> com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144) >>>> at >>>> com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226) >>>> at java.lang.Thread.run(Thread.java:680) >>>> >>>> Main >>>> >>>> <html> >>>> <head> >>>> <title>Main</title> >>>> </head> >>>> <body>Please >>>> <webobject name = "JavaClientLink"> click here </webobject> >>>> to start WebStartJNLPTest through WebStart. >>>> </body> >>>> </html> >>>> >>>> JavaClientLink: WOHyperlink { >>>> href = javaClientLink; >>>> } >>>> >>>> JavaClient >>>> >>>> <body> <webobject name = "JavaClientComponent" /> </body> >>>> >>>> JavaClientComponent: WOJavaClientComponent { >>>> j2seVersion = "1.4+"; >>>> applicationClassName = >>>> "com.webobjects.eogeneration.EODynamicApplication"; >>>> applicationName = "D2JC WebStart Test"; >>>> applicationDescription = "D2JC WebStart Test"; >>>> downloadClientClasses = "noDownloadClientClasses"; >>>> vendor = "TEST"; >>>> } >>>> >>>> Thanks for your Help >>>> >>>> Envoyé depuis iCloud >>>> _______________________________________________ >>>> Do not post admin requests to the list. They will be ignored. >>>> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >>>> Help/Unsubscribe/Update your Subscription: >>>> https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com >>>> >>>> This email sent to webobje...@avendasora.com >>> >> >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com