Hi Daryl,

I never resolved this problem from back in March with WO 5.4.1, and I'm still having the same problem with the current build (from the iPhone SDK) of 5.4.2

If I take the same application and run it using WO 5.3.3 it builds fine.

I am going to put a bug in Radar about it, but if you can lend any advice, I'd really appreciate it.

Just for clarity, I get the error below in the Tomcat logs when clicking on the Java Client link that should trigger downloading the .jnlp file. If I launch the client-side application manually using the terminal and the launch script (without using the .jnlp file) it launches the client and connects to the server without any problem, so I'm sure it is something wrong with the WOStaticResourceRequestHandler not properly handling a request for a .jnlp file.

Thanks!

Dave

On Mar 13, 2008, at 10:33 AM, David Avendasora wrote:

Okay, some addition information on this issue:

The Servlet classpath files and web.xml file generated by the most recent WOProject Ant builds are at least _part_ of the problem (I'll document it) and by manually fixing the Classpath and web.xml files, I've gotten the error to change to:

[2008-03-13 10:05:59,926] <http-8080-1> NSLog$Log4JLogger - <com.webobjects.appserver._private.WOStaticResourceRequestHandler> Unable to get contents of file for uri. file: /Library/WebServer/ Documents/MyApplication/WebObjects/MyApplication.woa/eowebstart/ com.webobjects.eodistribution._EOWebStartAction/webStart/ JavaClient.jnlp; uri: /BakeryManagement_D2JavaClientUI/WebObjects/ BakeryManagement_D2JavaClientUI.woa/eowebstart/ com.webobjects.eodistribution._EOWebStartAction/webStart/ JavaClient.jnlp

It appears to be listing _two_ files there. One is in the "/Library/ WebServer/Documents" directory. This is a Servlet deployment sent to "/Library/Tomcat/webapps/". Of course it can't find it in there. The second file seems to be the proper URL, but it can't find that either.

Any guesses?

On Mar 11, 2008, at 1:55 PM, David Avendasora wrote:

Hi all,

WO 5.4.1, Eclipse 3.3.2, WOLips Nightly, OS X 10.5.2

I just recently migrated a Java Client application from 5.3 to 5.4.1. Everything works just fine when building and launching the application from Eclipse using the WOAutoOpenClientApplication=true argument.

It opens the Java Client application just fine using the launch script, but if I bring up the web-page that has a hyperlink to the JavaClient.jnlp file, I get this error:

[2008-3-11 9:16:43 EDT] <WorkerThread5> <com.webobjects.appserver._private.WOStaticResourceRequestHandler> Unable to get contents of file for uri. file: /Library/WebServer/ Documents/BakeryManagement_D2JavaClientUI/WebObjects/ BakeryManagement_D2JavaClientUI.woa/eowebstart/ com.webobjects.eodistribution._EOWebStartAction/webStart/ JavaClient.jnlp; uri: /BakeryManagement_D2JavaClientUI/WebObjects/ BakeryManagement_D2JavaClientUI.woa/eowebstart/ com.webobjects.eodistribution._EOWebStartAction/webStart/ JavaClient.jnlp [2008-3-11 9:16:43 EDT] <WorkerThread5> java.io.FileNotFoundException: /Library/WebServer/Documents/ BakeryManagement_D2JavaClientUI/WebObjects/ BakeryManagement_D2JavaClientUI.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:106)
at com .webobjects .appserver ._private .WOStaticResourceRequestHandler .handleRequest(WOStaticResourceRequestHandler.java:86) at com .webobjects .appserver.WOApplication.dispatchRequest(WOApplication.java:1678) 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:613)

_______________________________________________
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:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
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:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to [EMAIL PROTECTED]

 _______________________________________________
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to