• 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
connection dictionary error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

connection dictionary error


  • Subject: connection dictionary error
  • From: Tarun Reddy <email@hidden>
  • Date: Wed, 2 Aug 2006 08:54:21 -0600

So I'm trying to get back into WebObjects after dabbling last year a bit. Last night I attempted to deploy a simple application that does some CRUD type operations into a Tomcat instance (thank you Andrew, http://homepage.mac.com/andrewlindesay/le/articles/wo-tomcat.pdf).

The application deploys correctly and the login page comes up, but I get the following errors when attempting to access the database (Oracle XE in this case).


- An exception occurred while trying to open a channel: com.webobjects.jdbcadaptor.JDBCAdaptorException: Cannot create JDBC driver of class '' for connect URL 'null'
- <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request:
java.lang.IllegalStateException: _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext com.webobjects.eoaccess.EODatabaseContext@cffc79: failed to open database channel. Check your connection dictionary, and ensure your database is correctly configured.



I assume (but you know the saying about that word) that I'm basically not getting the correct JDBC URL plugged in for my deployment, even though it may be set up correctly in the EOModel file. Andrews documentation refers to setConnectionDictionary call... and I assume that I may need that, but feel a bit lost. FWIW, the app behaves correctly when run out of Xcode.


Thanks in advance,
Tarun
_______________________________________________
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: connection dictionary error
      • From: John Larson <email@hidden>
  • Prev by Date: Re: Event update ; notice
  • Next by Date: Re: connection dictionary error
  • Previous by thread: Re: Oracle initcap: was MSSQL Server 2005 Unicode Support and EOF
  • Next by thread: Re: connection dictionary error
  • Index(es):
    • Date
    • Thread