Re: No database connection
Re: No database connection
- Subject: Re: No database connection
- From: Daniel Brajkovic <email@hidden>
- Date: Wed, 1 Aug 2007 15:34:45 -0500
Figured it out. Had to comment out a section in the web.xml file. It
works now. Thanks.
On Aug 1, 2007, at 1:42 PM, Chuck Hill wrote:
It is probably a classpath problem: lack of JDBC driver or lack of
EOF plugin. Try adding the attached class and see if it tells you
anything useful.
Chuck
<EOFJDBCConnectionAnalyzer.java>
On Aug 1, 2007, at 11:28 AM, Daniel Brajkovic wrote:
This is killing me and it's holding up my entire project.
I have written a simple WO app and it works fine when i build and
run it. But I want it to wo works with JavaServer Pages and so I
am deploying it in a servlet. A simple Hello World app works fine.
But as soon as I try to access a db app I get this:
Error: java.lang.IllegalStateException: _obtainOpenChannel --
com.webobjects.eoaccess.EODatabaseContext
com.webobjects.eoaccess.EODatabaseContext@6a08e5: failed to open
database channel. Check your connection dictionary, and ensure
your database is correctly configured.
Does anyone know how to fix this?
Dan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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