Hi all,
I'm just trying to create a HelloWorld app for a quick demo, and when I create a WebObjects Application using the defaults using the current WOLips, it won't run.
First I get: [2010-11-18 14:58:15 EST] <main> Waiting for requests... [2010-11-18 14:58:15 EST] <WorkerThread0> <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request: java.lang.IllegalArgumentException: <your.app.Application> Class 'Session' exists (interface org.apache.axis.session.Session) but is not a subclass of WOSession. [2010-11-18 14:58:15 EST] <WorkerThread0> java.lang.IllegalArgumentException: <your.app.Application> Class 'Session' exists (interface org.apache.axis.session.Session) but is not a subclass of WOSession. at com.webobjects.appserver.WOApplication._sessionClass(WOApplication.java:1934) at com.webobjects.appserver.WOApplication.createSessionForRequest(WOApplication.java:1973) at com.webobjects.appserver.WOApplication._initializeSessionInContext(WOApplication.java:2110) at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:319) at com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:369) at com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:442) at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687) 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:680)
Okay, fine, it's grabbing the wrong Session class. I can fix that.
I remove JavaXML.framework and I get: [2010-11-18 14:59:7 EST] <main> Waiting for requests... [2010-11-18 14:59:7 EST] <WorkerThread0> <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request: com.webobjects.appserver.WOPageNotFoundException: <your.app.Application>: Unable to create page 'Main'. [2010-11-18 14:59:7 EST] <WorkerThread0> com.webobjects.appserver.WOPageNotFoundException: <your.app.Application>: Unable to create page 'Main'. at com.webobjects.appserver.WOApplication.pageWithName(WOApplication.java:2346) at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedSession(WOComponentRequestHandler.java:284) at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:332) at com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:369) at com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:442) at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687) 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:680)
If I turn off bundle-less builds, then the app launches correctly.
Can anyone else reproduce this?
Again, it's the basic WebObjects Application, with _no_ changes. Just create the project and run it.
Thanks!
Dave |