Re: IllegalState Exception
Re: IllegalState Exception
- Subject: Re: IllegalState Exception
- From: Dirk Bajohr <email@hidden>
- Date: Fri, 14 May 2004 09:09:12 +0200
Did you turn on SQL debugging? There are many posts on this list about
how to do that. If it's only one query to the database that fails you
should post the SQL that is generated, and a complete stack trace as
suggested by Chuck would be good.
Am 14.05.2004 um 02:57 schrieb Thusitha Jayawardana:
Hi Dirk,
Thanks for the reply. Yes, the database connection works from
EOModeler and I can retriev the data via EOModeler. The project
includes the JavaJDBCAdaptor.framework. I installed the MS SQL Server
2000 adaptor. The database is running and I supplied the correct
username/password for the database.
Below is the info requested:
Database - MS SQL Server 2000
WO Version - 5.2
OS - Windows 2000
Plugin/Adaptor Version for Database: MS SQL Server 2000 Driver for
JDBC
The application that I am developing is a Direct to Web application.
Thanks,
Thusitha
-----Original Message-----
From: Dirk Bajohr [mailto:email@hidden]
Sent: Thursday, May 13, 2004 5:33 PM
To: Thusitha Jayawardana
Subject: Re: IllegalState Exception
Hi Thusitha,
Here some questions for finding the solution to your exception:
Does the database connection work from EOModeler? Did you include the
JavaJDBCAdaptor.framework? Did you install the right adaptor for your
database? Is the database running? Did you supply the correct
username/password for the database?
For further help on the list please include the following information:
Database + version, WO version, OS, Plugin/Adaptor version for
database, and anything special about your environment
Cheers,
Dirk
Am 14.05.2004 um 00:49 schrieb Thusitha Jayawardana:
Does anybody know what is causing this error? What needs to be done
to fix this problem?
java.lang.IllegalStateException: _obtainOpenChannel --
com.webobjects.eoaccess.EODatabaseContext
com.webobjects.eoaccess.EODatabaseContext@171f189: failed to open
database channel. Check your connection dictionary, and ensure your
database is correctly configured.
Thanks.
Thusitha
_______________________________________________
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.
--
Dirk Bajohr
iSOLUTION - Individuelle Software fuer moderne Kommunikation
Hauptstr. 50
53757 Sankt Augustin
T +49 2241 921567-0
F +49 2241 921567-89
http://www.isolution.de
_______________________________________________
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.