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      ([email protected])
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      ([email protected])
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