• 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
Basic App & Bundle-less Builds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Basic App & Bundle-less Builds


  • Subject: Basic App & Bundle-less Builds
  • From: David Avendasora <email@hidden>
  • Date: Fri, 19 Nov 2010 12:39:27 -0500

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
 _______________________________________________
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: Basic App & Bundle-less Builds
      • From: Mike Schrag <email@hidden>
    • Re: Basic App & Bundle-less Builds
      • From: Mike Schrag <email@hidden>
  • Prev by Date: Re: Uploading >3GB files with D2W Modern Look
  • Next by Date: Re: Basic App & Bundle-less Builds
  • Previous by thread: Re: Uploading >3GB files with D2W Modern Look
  • Next by thread: Re: Basic App & Bundle-less Builds
  • Index(es):
    • Date
    • Thread