Re: no database channel available exception?
Re: no database channel available exception?
- Subject: Re: no database channel available exception?
- From: Chuck Hill <email@hidden>
- Date: Fri, 03 Jan 2003 10:43:44 -0800
The only thing I can think of is that another session / thread is
deadlocked and has the only available channel locked as well. There is a
delegate method you can implement to catch when this happens and open
another channel. However, if this is a deadlocking problem that will only
postpone the inevitable.
Chuck
At 11:28 AM 03/01/2003 -0600, Jonathan Rochkind wrote:
>Anyone have any idea what why one of my apps, in some instances, might have
>started to give me exceptions like:
>
>"_obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext
>com.webobjects.eoaccess.EODatabaseContext@78bc3b: no database channel is
>available "
>
>When an instance is effected, it will throw this exception upon any
>database access, even the first in the session. But my app didn't used to
>do this. It just started. Any hints for how I'd track down why?
>
>--Jonathan
>_______________________________________________
>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.