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

Re: Problem with single directory deployment


  • Subject: Re: Problem with single directory deployment
  • From: Shravan <email@hidden>
  • Date: Tue, 18 Jan 2005 12:31:06 +1100

Yes there is and JavaJDBCAdaptor.framework is included in the "Frameworks" folder of the project and "Library" folder of "WEB-INF" in tomcat . But i don't know what it is for and how to use it. I read "Inside WebObjects: Deploying Applications" when EOModeler din't work with MySQL. I downloaded MySQL - mm.mysql and installed them and both WebObjects and EOModeler worked fine except when i deploy the WOapplication as servlet using single directory deployment. It works fine as default WebObjects application. I have no idea where to start looking for. My Idea is to deploy WO application on systems that don't have WO installed.

On 18/01/2005, at 11:32 AM, Chuck Hill wrote:

Isn't there a plugin for MySQL? Hmmm, part of the JavaJDBCAdaptor, isn't
it? Is that getting into your deployment as well?




At 11:01 AM 18/01/2005 +1100, Shravan wrote:
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:
villag
e.net

This email sent to email@hidden


--

Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net



_______________________________________________ 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: Dov Rosenberg <email@hidden>
References: 
 >Re: Problem with single directory deployment (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Problem with single directory deployment
  • Next by Date: Re: WOUT and Eclipse
  • Previous by thread: Re: Problem with single directory deployment
  • Next by thread: Re: Problem with single directory deployment
  • Index(es):
    • Date
    • Thread