• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IllegalState Exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IllegalState Exception


  • Subject: Re: IllegalState Exception
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 13 May 2004 19:46:51 -0700

Well, that last bit was important to tell us. What does the whole exception stack trace look like? Do you have more than one model? Is you JVM running out of memory?

Chuck

On May 13, 2004, at 6:11 PM, Thusitha Jayawardana wrote:

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.
_______________________________________________
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.


References: 
 >RE: IllegalState Exception (From: "Thusitha Jayawardana" <email@hidden>)

  • Prev by Date: RE: IllegalState Exception
  • Next by Date: Re: IllegalState Exception
  • Previous by thread: RE: IllegalState Exception
  • Next by thread: Re: IllegalState Exception
  • Index(es):
    • Date
    • Thread