Re: Database Connection Errors
Re: Database Connection Errors
- Subject: Re: Database Connection Errors
- From: "Nathan C. Hampton" <email@hidden>
- Date: Wed, 3 Sep 2003 17:08:59 -0500
On Tuesday, September 2, 2003, at 08:03 PM, Chuck Hill wrote:
Nathan,
Which database?
MySQL 4.0.13 (Server Logistics' 'Complete MySQL' .pkg)
Which OS?
Mac OS X 10.2.6
It sounds to me like either your JDBC driver is
*not* installed in the correct place,
I have mysql-connector-java-3.0.8-stable-bin.jar in
/Library/Java/Extensions, per instructions on WO5.2 install CD.
or you have failed to re-install the
EOF plugin for the database.
How do I check this? The documentation isn't clear, but I can view
com.webobjects.jdbcadaptor.MySQLPlugin in JavaBrowser.
I've been trying to test the database connection from a new project,
but every time I create a new project, it says "Run session cancelled:
No launchable executable present to run" regardless of whether it
involves a database or not. I just uninstalled and reinstalled
WebObjects, but nothing has changed. Could these problems be related?
--NCH
PS--Cleaning the project didn't help.
Chuck
At 07:49 PM 02/09/2003 -0500, Nathan C. Hampton wrote:
Help! I started a project, and everything was going smoothly until I
had to wipe my hard drive and re-install the OS. After putting
everything back together, I went back to work on my project. Now,
when
I click on 'build and run,' it builds fine and runs fine, but when it
tries to connect to the database, I get this error:
-----
Error: java.lang.IllegalStateException: _obtainOpenChannel --
com.webobjects.eoaccess.EODatabaseContext
com.webobjects.eoaccess.EODatabaseContext@43e7b7: failed to open
database channel. Check your connection dictionary, and ensure your
database is correctly configured.
Reason: _obtainOpenChannel --
com.webobjects.eoaccess.EODatabaseContext
com.webobjects.eoaccess.EODatabaseContext@43e7b7: failed to open
database channel. Check your connection dictionary, and ensure your
database is correctly configured.
-----
I have verified that the username and password are correct, logged in
to the database with the username and password, made sure all the
right
JDBC classes are in the right places, etc, etc. The only place I can
find anything called a 'connection dictionary' is in EOModeler, which
can connect fine. Is there another connection dictionary that I can't
find? If so, where in the documentation do I look? (I've searched on
every related term I can think of.) I'd really like to get going on
this, so if anyone can help, I'd be very grateful.
Thanks!
--Nathan Hampton (email@hidden)
_______________________________________________
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.
--
Chuck Hill email@hidden
Global Village Consulting Inc.
http://www.global-village.net
_______________________________________________
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.