• 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: EOModel/Database access fails once deployed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Re: Caching problem? (From: David Griffith <email@hidden>)
 >EOModel/Database access fails once deployed (From: Thomas Carstensen <email@hidden>)

  • Prev by Date: Getting a component action URL for an arbitrary component?
  • Next by Date: Re: Pattern Approach to User permissions?
  • Previous by thread: Re: EOModel/Database access fails once deployed
  • Next by thread: Re: EOModel/Database access fails once deployed
  • Index(es):
    • Date
    • Thread