Re: failed to open database channel. Check your connection dictionary, and ensure your database is correctly configured.

Chuck Hill <[email protected]> Thu, 28 Jul 2005 10:44:16 -0700
Newsgroups gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
Hi Robert,

I long ago tired of playing this game with EOF.  Go here:

http://www.apress.com/book/bookDisplay.html?bID=248

Get the source code for our book (see sig).  Extract the file  
EOFJDBCConnectionAnalyzer.java and add it to your application.   
Create an instance in your Application constructor like this:

new EOFJDBCConnectionAnalyzer("modelName");

It won't fix the problem but it can determine the cause of the vast  
majority of them and suggest solutions.

Chuck


On Jul 28, 2005, at 3:52 AM, Robert Huber@7r wrote:

> Hello All
>
> I have (suddenly) a problem with my WO deployment, I didn't have  
> before:
>
> If i want to login to an internal aera, I get the correct page to  
> login, but when I try to login, I get following info:
>
> _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext  
> com.webobjects.eoaccess.EODatabaseContext@ddf0a: failed to open  
> database channel. Check your connection dictionary, and ensure your  
> database is correctly configured.
>
> This looks to me as I would not have the correct JDBC adatpor  
> settings in the EOModel, but I did not change anything there.
> BTW, how can I access the mentioned connection dictionary?
>
> I am stuck, so any help is very much appreciated.
>
> Best regards, Robert
>
>
> My  Setup:
> MySQL Database Version 4.0.18
> WO Version 5.2.2
> Java(TM) 2 Runtime Environment, Standard Edition (build  
> 1.4.2_05-141.4)
> Mac OS X Server 10.3.9
>
>
> PS: I run some Security Updates and may be (I am not sure anymore)  
> a Java Update and I assume this may have had some bad influence.
>
>
>
> _/ _/ _/ _/ _/                             r. huber
>                _/
>             _/      _/      _/           7r gmbh
>          _/      _/  _/               lindenplatz 12b
>       _/      _//                   ch-8203 schaffhausen
>    _/      _/
> _/      _/                    tel. +41 52 624 81 15   www.seven- 
> r.ch_______________________________________________
> WebObjects-admin mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/webobjects-admin
>
>

-- 
Practical WebObjects - a book for intermediate WebObjects developers  
who want to increase their overall knowledge of WebObjects, or those  
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects