RE: IllegalState Exception
RE: IllegalState Exception
- Subject: RE: IllegalState Exception
- From: "Thusitha Jayawardana" <email@hidden>
- Date: Thu, 13 May 2004 18:11:47 -0700
- Thread-topic: IllegalState Exception
Well, the database is running fine and I am able to query the database via EOModeler. The JDBC driver is installed in the application's classpath. I am not sure, why it works fine with the EOModeler and gives the IllegalStateException error when I try to search for a records that meet a certain criteria from a Direct to Web search form.
Any ideas?
Thanks
Thusitha
-----Original Message-----
From: Jake MacMullin [mailto:email@hidden]
Sent: Thursday, May 13, 2004 5:57 PM
To: Thusitha Jayawardana
Cc: email@hidden
Subject: Re: IllegalState Exception
If this is the first time you've seen this error and the application
has been running fine - I'd say that the database has fallen over. If
this is the first time you've started the application (and you've never
been able to connect to the DB) - this may well be because the
WebObjects application can not find the JDBC driver that it needs.
To troubleshoot this:
See what connection string is set in the EOModel
Check that the DB is running
Check that the JDBC driver is installed somewhere in your application's
classpath
HTH,
Jake MacMullin
On 14 May 2004, at 8:49 AM, Thusitha Jayawardana wrote:
> 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.
_______________________________________________
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.