WO 5.4.3 custom launch on Windows - help needed
WO 5.4.3 custom launch on Windows - help needed
- Subject: WO 5.4.3 custom launch on Windows - help needed
- From: Helmut Tschemernjak <email@hidden>
- Date: Sat, 31 Mar 2012 22:06:48 +0200
- Organization: HELIOS Software GmbH
I am working on a custom JNI launch executable for our WO app. On UNIX
it works but on Windows I still have problems. I don't use the
WOBootstrap.jar. It looks like the WOResourceManager cannot load the
MIME.plist and the WO startup fails.
Below are my used properties and the error output. I tried absolute path
to the the WO jars and relative path, no success. Our app has also a
MIME.plist in Contents/Resources/
Any ideas what property is missing or wrong, thank you for your help.
Regards Helmut
addOption: -Xms32m
addOption: -Xmx256m
addOption: -Xrs
addOption: -DWOPlatform=HELIOS
addOption: -DHELIOSDIR=C:\Program Files (x86)\Helios
addOption: -Dcom.webobjects.pid=3180
addOption: -DWORootDirectory=""
addOption: -DWOLocalRootDirectory=""
addOption: -DWOUserDirectory=C:\Program Files
(x86)\Helios\var\run\webshare.woa
addOption:
-Djava.class.path=Contents\Resources\Java\webshare.jar;..\WebObjects\JavaFoundation.jar;..\WebObjects\JavaWebObjects.jar;..\WebObjects\JavaXML.jar;..\WebObjects\JavaWOExtensions.jar;..\WebObjects\JavaEOControl.jar;..\WebObjects\JavaEOAccess.jar
[2012-3-31 21:28:28 MESZ] <main> <WOResourceManager> Unable to locate
the "JavaWebObjects" bundle
[2012-3-31 21:28:28 MESZ] <main> Unable to initialize WOProperties for
reason: Cannot find JavaWebObjects framework !
java.lang.IllegalStateException: Unable to locate the "JavaWebObjects"
bundle
[2012-3-31 21:28:28 MESZ] <main> A fatal exception occurred:
<WOApplication>: Cannot be initialized.
[2012-3-31 21:28:28 MESZ] <main>
com.webobjects.foundation.NSForwardException
[java.lang.IllegalStateException] Unable to locate the "JavaWebObjects"
bundle:<WOApplication>: Cannot be initialized.
at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:918)
at de.helios.webshare.Application.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
at de.helios.webshare.Application.main(Unknown Source)
Caused by: java.lang.IllegalStateException: Unable to locate the
"JavaWebObjects" bundle
at
com.webobjects.appserver.WOResourceManager.__getJavaWebObjectsResourceAsStream(WOResourceManager.java:131)
at
com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WOProperties.java:317)
at
com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:5743)
at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:779)
... 9 more
My var/run/WebObjects directory includes the following WO runtime jars.
The jars are extracted from an 5.4.3 .war file. Again on several UNIX
platforms it works fine on Windows I miss something.
-rw-r--r-- 1 root wheel 342441 17 Feb 16:08 JavaEOAccess.jar
-rw-rw-r-- 1 root wheel 272836 17 Feb 16:08 JavaEOControl.jar
-rw-rw-r-- 1 root wheel 699806 17 Feb 16:08 JavaFoundation.jar
-rw-rw-r-- 1 root wheel 199189 17 Feb 16:08 JavaWOExtensions.jar
-rw-rw-r-- 1 root wheel 825068 17 Feb 16:08 JavaWebObjects.jar
-rw-rw-r-- 1 root wheel 6978345 17 Feb 16:08 JavaXML.jar
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden