PostgreSQL and D2W: failed to open database channel

Tobias Brühlmeier <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Hi List

I have an issue with connecting to a PostgreSQL database: Everything  
seems to be set up fine: PostgreSQL is up and running, JDBC driver is  
installed, and I'm able to connect to PostgreSQL from within  
EOModeler including executing SQL commands (for creating tables).

My project is set up using Direct to Web (no rules set yet, just the  
plain model). After compiling, I can browse the project, but I cannot  
insert new records. Instead I get the following error message:

Error:
java.lang.IllegalStateException: _obtainOpenChannel --  
com.webobjects.eoaccess.EODatabaseContext  
com.webobjects.eoaccess.EODatabaseContext@70723: 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@70723: failed to open  
database channel. Check your connection dictionary, and ensure your  
database is correctly configured.



Any ideas?


System components:
Mac OS X 10.4.6
XCode 2.2.1
Java 1.5
PostgreSQL 8.1.3
JDBC 8.1-405



Thanks, Tobias
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.