• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Class 'Session' exists but is not a subclass of WOSession?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Class 'Session' exists but is not a subclass of WOSession?


  • Subject: Class 'Session' exists but is not a subclass of WOSession?
  • From: Aaron Thompson <email@hidden>
  • Date: Thu, 3 Jan 2008 00:17:34 -0600

Hi, I'm building a webapp from the WOnderApplication project template, but I'm getting a rather confusing error when I try to debug. This is with WO 5.4, OS X 10.5, and WOLips/WOnder nightly. Here's the error:

NSLog - <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request:
java.lang.IllegalArgumentException: <org.myapp.Application> Class 'Session' exists (interface org.apache.axis.session.Session) but is not a subclass of WOSession.
[2008-1-3 6:1:7 CST] <WorkerThread0> java.lang.IllegalArgumentException: <org.myapp.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: 1925)
at com .webobjects .appserver.WOApplication.createSessionForRequest(WOApplication.java: 1964)
at er .extensions.ERXApplication.createSessionForRequest(ERXApplication.java: 1555)
at com .webobjects .appserver .WOApplication._initializeSessionInContext(WOApplication.java:2101)
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: 1678)
at er.extensions.ERXApplication.dispatchRequest(ERXApplication.java: 1322)
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:613)


I feel like it's some sort of classpath issue, but I couldn't find any org.apache.axis.session.Session imports or anything, and both my Application and Session classes don't have any funny code in them. Any ideas?

Much appreciated,
Aaron Thompson
_______________________________________________
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


  • Follow-Ups:
    • Re: Class 'Session' exists but is not a subclass of WOSession?
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Pass-through bindings from parent to child component
  • Next by Date: Re: Date-Only NSTimestamps
  • Previous by thread: Re: Pass-through bindings from parent to child component
  • Next by thread: Re: Class 'Session' exists but is not a subclass of WOSession?
  • Index(es):
    • Date
    • Thread