I also experienced something like this setting up a new WonderApp for a new user awhile ago. As Ramsey pointed out, there is still a class path issue because this:
"<hello.app.Application> Class 'Session' exists (interface org.apache.axis.session.Session) but is not a subclass of WOSession." is still showing up in your log. I think I fixed it by right clicking on the application and selecting Build Path -> Configure Build Path and clicking on the Library tab and removing all of the Libraries that contain Session. To find out what Libraries contain Session, go to Navigate -> Open Type and enter Session. Then select Project -> Clean -> Clean All Projects multiple times. You will get errors. Then add the libraries back if they are needed (based on the errors) and clean again until the errors are gone. I also agree with Ramsey that you should start with a Wonder app. Steve On Jan 20, 2013, at 7:51 AM, Ramsey Gurley <[email protected]> wrote: > I still see the session error in the run log. Are you sure you removed the > JavaXML framework? Also, this doesn't appear to be a wonder app. I highly > recommend you use wonder. A WO app without wonder is broken. > > ute Hoffmann <[email protected]> wrote: > > This is what comes up in the logfile when JavaFoundation is starting (in > place of my app) > > Any idea what goes wrong? > > [2013-1-20 9:43:31 MEZ] <main> WOMaxIOBufferSize=8196 > [2013-1-20 9:43:31 MEZ] <main> WOWorkerThreadCountMin=16 > [2013-1-20 9:43:31 MEZ] <main> WOSocketMonitorSleepTime=50 > [2013-1-20 9:43:31 MEZ] <main> WODirectConnectEnabled=true > [2013-1-20 9:43:31 MEZ] <main> WOIncludeCommentsInResponse=false > [2013-1-20 9:43:31 MEZ] <main> WOWorkerThreadCount=8 > [2013-1-20 9:43:31 MEZ] <main> > WOAdaptorURL=http://127.0.0.1/cgi-bin/WebObjects > [2013-1-20 9:43:31 MEZ] <main> WOLaunchdEnabled=false > [2013-1-20 9:43:31 MEZ] <main> WOHost=127.0.0.1 > [2013-1-20 9:43:31 MEZ] <main> WOIDE=WOLips > [2013-1-20 9:43:31 MEZ] <main> WODebuggingEnabled=true > [2013-1-20 9:43:31 MEZ] <main> WOListenQueueSize=128 > [2013-1-20 9:43:31 MEZ] <main> WOMissingResourceSearchEnabled=true > [2013-1-20 9:43:31 MEZ] <main> WOApplicationClassName=hello.app.Application > [2013-1-20 9:43:31 MEZ] <main> WOSessionStoreClassName=WOServerSessionStore > [2013-1-20 9:43:31 MEZ] <main> WOContextClassName=WOContext > [2013-1-20 9:43:31 MEZ] <main> WOCachingEnabled=false > [2013-1-20 9:43:31 MEZ] <main> WOAcceptMalformedCookies=false > [2013-1-20 9:43:31 MEZ] <main> NSProjectSearchPath=(..,../..) > [2013-1-20 9:43:31 MEZ] <main> WOMonitorEnabled=false > [2013-1-20 9:43:31 MEZ] <main> WOAllowRapidTurnaround=true > [2013-1-20 9:43:31 MEZ] <main> WOGenerateWSDL=true > [2013-1-20 9:43:31 MEZ] <main> WOWorkerThreadCountMax=256 > [2013-1-20 9:43:31 MEZ] <main> WOAllowsConcurrentRequestHandling=false > [2013-1-20 9:43:31 MEZ] <main> WOAdaptor=WODefaultAdaptor > [2013-1-20 9:43:31 MEZ] <main> WOSessionTimeOut=3600 > [2013-1-20 9:43:31 MEZ] <main> WOMaxSocketIdleTime=180000 > [2013-1-20 9:43:31 MEZ] <main> WODefaultUndoStackLimit=10 > [2013-1-20 9:43:31 MEZ] <main> WOAutoOpenClientApplication=true > [2013-1-20 9:43:31 MEZ] <main> WOAutoOpenInBrowser=true > [2013-1-20 9:43:31 MEZ] <main> WOApplicationBaseURL=/WebObjects > [2013-1-20 9:43:31 MEZ] <main> WOMaxHeaders=200 > [2013-1-20 9:43:31 MEZ] <main> WOLifebeatEnabled=true > [2013-1-20 9:43:31 MEZ] <main> WOAllowsCacheControlHeader=true > [2013-1-20 9:43:31 MEZ] <main> WOSMTPHost=smtp > [2013-1-20 9:43:31 MEZ] <main> WOFrameworksBaseURL=/WebObjects/Frameworks > [2013-1-20 9:43:31 MEZ] <main> WOAdditionalAdaptors=() > [2013-1-20 9:43:31 MEZ] <main> WOStatisticsStoreSessionMax=50 > [2013-1-20 9:43:31 MEZ] <main> WOLifebeatDestinationPort=1085 > [2013-1-20 9:43:31 MEZ] <main> WOPort=-1 > [2013-1-20 9:43:31 MEZ] <main> WOLifebeatInterval=30 > [2013-1-20 9:43:31 MEZ] <main> WOSocketCacheSize=100 > [2013-1-20 9:43:31 MEZ] <main> > WOUserDirectory=/Users/admin/Documents/workspace/hello > [2013-1-20 9:43:31 MEZ] <main> WODisplayExceptionPages=true > [2013-1-20 9:43:31 MEZ] <main> ------------------------ > [2013-1-20 9:43:31 MEZ] <main> WebObjects version = 5.4.3 > [2013-1-20 9:43:31 MEZ] <main> Created adaptor of class WODefaultAdaptor on > port 49206 and address localhost/127.0.0.1 with WOWorkerThread minimum of 16 > and maximum of 256 > [2013-1-20 9:43:31 MEZ] <main> NSBundle is unable to find > "ExtensionsForResources.plist" in the main bundle. Ignoring optional > configuration file. > [2013-1-20 9:43:31 MEZ] <main> Cannot use rapid turnaround. Please start > Xcode and open the project for this application. > [2013-1-20 9:43:31 MEZ] <main> Creating LifebeatThread now with: > JavaFoundation -1 localhost/127.0.0.1 1085 30000 > Welcome to JavaFoundation ! > [2013-1-20 9:43:31 MEZ] <main> Opening application's URL in browser: > http://127.0.0.1:49206/cgi-bin/WebObjects/JavaFoundation.woa > [2013-1-20 9:43:31 MEZ] <main> null > [2013-1-20 9:43:31 MEZ] <main> Waiting for requests... > [2013-1-20 9:43:31 MEZ] <WorkerThread0> > <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception > occurred while handling request: > java.lang.IllegalArgumentException: <hello.app.Application> Class 'Session' > exists (interface org.apache.axis.session.Session) but is not a subclass of > WOSession. > [2013-1-20 9:43:31 MEZ] <WorkerThread0> java.lang.IllegalArgumentException: > <hello.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:445) > 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) > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/speery%40me.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
