• 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
Problem with single directory deployment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with single directory deployment


  • Subject: Problem with single directory deployment
  • From: Shravan <email@hidden>
  • Date: Tue, 18 Jan 2005 11:01:38 +1100

Hi!
Can anyone help me with this. Am new to WebObjects. I created a small address book application using WO5.2.3/MySQL4.0.21 on OS X v10.3.7. It runs fine when running as WebObjects application. I tried to deploy the application in Tomcat 4.1.29 using single directory deployment. I get the error shown below. I have tried placing the jdbc driver jar file in tomcat's shared/lib folder and tested with a JSP file and it works well. Non database webobjects applications works well when i do the single directory deployment.


Application: WOAAddressBookEx
Error: java.lang.IllegalStateException exception
Reason:
java.lang.IllegalStateException: An Exception occurred while generating the Exception page 'WOExceptionPage'. This is most likely due to an error in 'WOExceptionPage' itself or WebObjects encountered an uncaught exception while creating a Session object.



Below are the logs of the original Exception which occured in Application, then the later Exception in WOExceptionPage.


Original Exception:
java.lang.IllegalStateException: _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext com.webobjects.eoaccess.EODatabaseContext@564b26: failed to open database channel. Check your connection dictionary, and ensure your database is correctly configured.


WOExceptionPage Exception:
com.webobjects.foundation.NSForwardException [java.lang.IllegalStateException] _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext com.webobjects.eoaccess.EODatabaseContext@564b26: failed to open database channel. Check your connection dictionary, and ensure your database is correctly configured.: <Session> failed instantiation. Exception thrown :
java.lang.IllegalStateException: _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext com.webobjects.eoaccess.EODatabaseContext@564b26: failed to open database channel. Check your connection dictionary, and ensure your database is correctly configured.: _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext com.webobjects.eoaccess.EODatabaseContext@564b26: failed to open database channel. Check your connection dictionary, and ensure your database is correctly configured.


Cheers
Shravan

_______________________________________________
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: Problem with single directory deployment
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Request throwing NullPointerException
  • Next by Date: Re: Problem with single directory deployment
  • Previous by thread: Re: Request throwing NullPointerException
  • Next by thread: Re: Problem with single directory deployment
  • Index(es):
    • Date
    • Thread