Hi Michael, that's a bug in EOModel that only shows on Windows: when the resource url to the plist file of the entity is constructed, the path separator of the current platform is used. By chance, that will work on platforms that have the slash as path separator, but not on Windows. All tests of the "true war deployment" feature have probably been done on MacOS, so the bug was not visible during the tests. On Windows, as you have observed, the backslash gets in the resource url and so the resulting url doesn't actually point to the plist file of the entity.
In case you want to adhere to true war deployment, you could consider to patch EOModel to construct proper urls. (We did so...) HTH Cheers,--micha -- ----------------------------------------------------- Michael Müller, Dipl.-Math. (mailto:[EMAIL PROTECTED]) Projektleiter, Condat AG Alt-Moabit 91 D, D-10559 Berlin Fon: +49.30.3949-1227; Fax: +49.30.3949-1300 http://www.condat.de/ -----Original Message----- From: Bjerke, Michael A. [mailto:[EMAIL PROTECTED] Sent: Monday, November 27, 2006 9:30 PM To: [email protected] Subject: Deploying a working WAR file on Windows JBoss I have a WAR file that was developed on a colleague's Mac. He can drop it into JBoss instances on Mac and Solaris and it works fine. But when I try to run it through JBoss on my Windows XP I get the following error message. Login Failed: JAR entry Resources/Logbook.eomodeld\User.plist not found in C:\JBoss\server\default\tmp\deploy\tmp65355Logbook-exp.war\WEB-INF\lib\Logbo ok.jar If I open up the Logbook.jar file I find the following entry. Resources/Logbook.eomodeld/User.plist So why isn't it finding this file? Note that the error message shows both forward and backward slashes. Should that cause a problem? Michael Bjerke Oak Ridge National Laboratory Networking & Computing Technologies Department Office:(865) 574-4654 Cell: (865) 567-8385 _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-deploy mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com This email sent to [email protected]
