• 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: _obtainOpenChannel exception, yet connected
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _obtainOpenChannel exception, yet connected


  • Subject: Re: _obtainOpenChannel exception, yet connected
  • From: Chuck Hill <email@hidden>
  • Date: Sun, 26 Jun 2005 20:20:51 -0700

Is the FrontBasePlugIn.framework added to the project?  If so, try removing
it and adding it back again.  Sometimes what xCode shows is not what it
actually does.


Chuck

At 11:04 PM 26/06/2005 -0400, Drew Thoeni wrote:
>>>>
Hi all,

I'm fresh back from Apple's WO class and, after installing 5.3 (mistake)
and working out the preference and EOModel problems, I'm getting
an exception java.lang.IllegalStateException : _obtainOpenChannel

Normally that would mean WO can't talk to the DB. But, I can go to
EOModeler and drop and add tables and query data. All appears  well in
terms of the connection there, assuming that's a valid test.

So, any ideas on what might be awry here? I'm using FrontBase.

Here's the pertinent exception info:

java.lang.IllegalStateException: _obtainOpenChannel --
com.webobjects.eoaccess.EODatabaseContext
com.webobjects.eoaccess.EODatabaseContext@1570cd: failed to open database
channel. Check your connection dictionary, and ensure your database is
correctly configured.

EODatabaseContext.java    2131    _obtainOpenChannel                     
       com.webobjects.eoaccess
EODatabaseContext.java     5900    _batchNewPrimaryKeysWithEntity  
 com.webobjects.eoaccess
EODatabaseContext.java    5883    prepareForSaveWithCoordinator  
 com.webobjects.eoaccess
EOObjectStoreCoordinator.java    409    saveChangesInEditingContext  
 com.webobjects.eocontrol
EOEditingContext.java    3223    saveChanges    com.webobjects.eocontrol
OpinionPage.java    35  
 <http://shark.local:49653/cgi-bin/WebObjects/Opinion.woa/wa/WOProjectBuilde
rAction/openInProjectBuilder?line=35&wosid=C8AateOzzRecJRlyxfesv0&filename=O
pinionPage.java&methodName=addOpinion&fullClassName=OpinionPage&errorMessage
=Error+:+java.lang.IllegalStateException+-+Reason+:_obtainOpenChannel+--
+com.webobjects.eoaccess.EODatabaseContext+com.webobjects.eoaccess.EODatabas
eContext@1570cd:+failed+to+open+database+channel.++Check+your+connection
+dictionary,+and+ensure+your+database+is+correctly+configured.>addOpinion 
   OpinionPage
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
.net

This email sent to email@hidden
<<<<



--

Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: _obtainOpenChannel exception, yet connected
      • From: Drew Thoeni <email@hidden>
References: 
 >_obtainOpenChannel exception, yet connected (From: Drew Thoeni <email@hidden>)

  • Prev by Date: _obtainOpenChannel exception, yet connected
  • Next by Date: Deleting with Referential Integrities
  • Previous by thread: _obtainOpenChannel exception, yet connected
  • Next by thread: Re: _obtainOpenChannel exception, yet connected
  • Index(es):
    • Date
    • Thread