Re: EOModel/Database access fails once deployed
Re: EOModel/Database access fails once deployed
- Subject: Re: EOModel/Database access fails once deployed
- From: Jonathan Rochkind <email@hidden>
- Date: Tue, 2 Mar 2004 19:41:48 -0600
Odds are, you don't have the JDBC Driver on your deployment machine,
or don't have it in a place that can be located by the running app.
The easiest thing to do is drop the *.jar file for your JDBC driver in:
/Library/WebObjects/Extensions/ (OSX)
or
$NEXT_ROOT/Local/Library/WebObjects/Extensions (other OS)
--Jonathan
At 4:39 PM -0800 3/2/04, Thomas Carstensen wrote:
i have a web objects app -- when run locally access the database on
our remote server is works fine -- access the mysql database via an
EOModel.
Move the app to the server. Access it via normal http:// ....
when it tries to access the database it fails. Does so on every
WOApp i move over. Wether i run it locally via XCode or on the
server both are accessing the same database.
Why would it fail simply my moving the WOApp to the server (where
the actually database is (localhost). ??
thanks for any help - below is the WO error message
-Tom Carstensen
Application:
MovieLibrary
Error:
java.lang.IllegalStateException: _obtainOpenChannel --
com.webobjects.eoaccess.EODatabaseContext
com.webobjects.eoaccess.EODatabaseContext@bf8de1: failed to open
database channel. Check your connection dictionary, and ensure your
database is correctly configured.
Reason:
Stack trace:
File
Line#
Method
Package
NA : Non applicable, JIT activated
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.