All:
I'm diving into WOnder for the first time and also embedded frameworks
for the first time. Maybe I've bitten off more than I can chew.
Anyway, I've updated my WOnder source to the latest. My app at this
point is very simple and I'm trying to deploy it to my test server
(Mac OS X 10.5.6, WebObjects 5.4.3, java version "1.5.0_16").
On my test server here's the stack trace when I try to hit the app.
Exception in thread "WorkerThread1"
com.webobjects.foundation.NSForwardException
[java.lang.NoSuchMethodError]
com.webobjects.appserver.WORequest.<init>(Ljava/lang/String;Ljava/lang/
String;Ljava/lang/String;Lcom/webobjects/foundation/NSDictionary;Lcom/
webobjects/foundation/NSData;Lcom/webobjects/foundation/
NSDictionary;)V:java.lang.NoSuchMethodError:
com.webobjects.appserver.WORequest.<init>(Ljava/lang/String;Ljava/lang/
String;Ljava/lang/String;Lcom/webobjects/foundation/NSDictionary;Lcom/
webobjects/foundation/NSData;Lcom/webobjects/foundation/NSDictionary;)V
at
com
.webobjects
.foundation
.NSForwardException
._runtimeExceptionForThrowable(NSForwardException.java:41)
at
com
.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:
238)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.NoSuchMethodError:
com.webobjects.appserver.WORequest.<init>(Ljava/lang/String;Ljava/lang/
String;Ljava/lang/String;Lcom/webobjects/foundation/NSDictionary;Lcom/
webobjects/foundation/NSData;Lcom/webobjects/foundation/NSDictionary;)V
at er.extensions.appserver.ERXRequest.<init>(ERXRequest.java:60)
at
er
.extensions
.appserver.ERXApplication._createRequest(ERXApplication.java:1038)
at
er
.extensions.appserver.ERXApplication.createRequest(ERXApplication.java:
1011)
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)
... 1 more
It looks like er.extensions.appserver.ERXRequest is expecting a
constructor signature in WORequest that isn't there? I'm embedding the
core WOnder frameworks and also my own but not the core webobjects
frameworks. The app builds and runs in dev mode if I have the WOnder
sources as build dependencies. But if I close the WOnder projects and
run from the built frameworks, same error. That should be a major clue
but I can't figure out why it's not working. I've tried messing with
the classpath in case that is the issue - if it is I haven't
discovered it.
Any help would be greatly appreciated.
Tim
Programmer/Analyst III, UCLA GSE&IS
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to arch...@mail-archive.com