Deploying problems with WO 5.4/Wonder
Deploying problems with WO 5.4/Wonder
- Subject: Deploying problems with WO 5.4/Wonder
- From: Helmut Schottmüller <email@hidden>
- Date: Fri, 30 Nov 2007 17:49:42 +0100
Hi,
I tried to create a first simple project with WO 5.4 / Wonder in
Leopard.
I got used to the new JavaEOGenerator (great work!) and my project is
running fine in Eclipse.
When I deploy the project using the Ant Tools/Install menu in Eclipse
the project will be deployed.
The first problem I got was the start of the deployed application. I
don't know why, but the variable ${JAVA_EXECUTABLE} in the application
executable is only resolved as ${jvm}. Maybe I missed to set an
environment variable?
Ok, but by replacing ${JAVA_EXECUTABLE} with java (I know, it's the
hard way but it worked :-) the deployed app started and looked healthy
in JavaMonitor.
But if I try to access the application in the webbrowser, I only get a
"No instance available" message and I find the following log entries:
Nov 30 17:19:54 HspInfo[2001] (ERXNSLogLog4jBridge.java:41) WARN
NSLog - <WOWorkerThread id=2 socket=null> Throwable occurred:
java.lang.NullPointerException: map cannot be null
[2007-11-30 16:19:54 CET] <WorkerThread2>
java.lang.NullPointerException: map cannot be null
at com.webobjects.foundation.NSDictionary.<init>(NSDictionary.java:363)
at er.extensions.ERXApplication.createRequest(ERXApplication.java:739)
at
com
.webobjects
.appserver._private.WOHttpIO.readRequestFromSocket(WOHttpIO.java:380)
at
com
.webobjects
.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:88)
at
com
.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:
226)
at java.lang.Thread.run(Thread.java:613)
Nov 30 17:19:54 HspInfo[2001] (ERXNSLogLog4jBridge.java:41) WARN
NSLog - <WOWorkerThread id=2 socket=null> Workerthread exiting due to
error, respawning with ID 10002...
Exception in thread "WorkerThread2" java.lang.NullPointerException:
map cannot be null
at com.webobjects.foundation.NSDictionary.<init>(NSDictionary.java:363)
at er.extensions.ERXApplication.createRequest(ERXApplication.java:739)
at
com
.webobjects
.appserver._private.WOHttpIO.readRequestFromSocket(WOHttpIO.java:380)
at
com
.webobjects
.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:88)
at
com
.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:
226)
at java.lang.Thread.run(Thread.java:613)
Does anyone know what this could mean? I found a similar bug report in
an earlier post ("WO 5.4 and Project Wonder") but there wasn't a
solution offered since then (November 4).
Regards,
Helmut
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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