• 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: Drew Thoeni <email@hidden>
  • Date: Mon, 27 Jun 2005 23:19:10 -0400

Hmmm... I was hoping, but no, didn't do the trick.

But, I have another project that is working fine. It was created in 5.2. This one that is not working was created in 5.3. It is possible I have a) forgotten something (most likely) or b) 5.3 has some oddity.

Anyone else not able to write to Frontbase in a new 5.3 project?

Drew

On Jun 26, 2005, at 11:20 PM, Chuck Hill wrote:

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&errorM essage
=Error+:+java.lang.IllegalStateException+-+Reason+% 3A_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:
40global-village
.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
References: 
 >Re: _obtainOpenChannel exception, yet connected (From: Chuck Hill <email@hidden>)

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