• 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: Help please _obtainOpenChannel error - Further INFO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help please _obtainOpenChannel error - Further INFO


  • Subject: Re: Help please _obtainOpenChannel error - Further INFO
  • From: Jevon Hills <email@hidden>
  • Date: Tue, 8 Jul 2003 12:16:37 -0600

The login page is esentially the main.wo so there should be no connection to the database. The user enters their Name/PW and presses the submit button. It is at this point that I try to fetch a USER record from the database matching the UN/PW combination. This is where the error shows up in my code.


I trap typing errors on the login page by presenting a message pointing out that the USER does not exist (ie one or both strings were wrong) or that they do not have permissions to use this application. If the USER obj does exist i then check to see if the user has permission to use the application, again presenting a message to them if they do not.


So it shouldn't be problems with typing. it almost appears that there is a 'hiccup' somewhere in the session creation, but I don't understand. Perhaps it is just a Network outage.


Thanx for your thoughts on this.

Jevon

On Tuesday, July 8, 2003, at 11:24  AM, Chuck Hill wrote:

This usually means that the JDBC driver or the JDBCAdaptor plugin are
missing or misplaced, that the connectin dictionary contains incorrect
information, or the the AdaptorName is mispelled in the connection
dictionary. However, that should produce a consistent error. Is there any
chance that the error could be caused by a network outage? Are you using
the login information from the user to log into the database? Perhaps
they've just made a typing mistake? Has the application already connected
to the DB when the user first tried to log in?



Chuck





, At 09:20 AM 08/07/2003 -0600, Jevon Hills wrote:
I've been doing a lot of research around this error, and would like to
add the following tidbits.

I don't believe that it is my JDBC connection, as 95% of the time the
app works with no issue.
I don't understand the illegal state, as I'm getting this error only on
the Login page of the app after the user has entered a username/pw


I'm using OSX and WO 5.1, Java 1.3 and OpenBase 7.13

Hope this helps,  I'll keep looking, but if any one has some
suggestions I would love to hear them.

ttfn

On Tuesday, July 8, 2003, at 08:33  AM, Jevon Hills wrote:

I have a deployed application, which latley will occasionally give the
following error:


_obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext
com.webobjects.eoaccess.EODatabaseContext@5ae6c7: failed to open
database channel. Check your connection dictionary, and ensure your
database is correctly configured.

what does this mean?  Is there anything I can/should be doing to
prevent it?



Jevon K. Hills
Developer - Zymeta Media Promotion Systems
_______________________________________________
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.


Jevon K. Hills
Developer - Zymeta Media Promotion Systems
_______________________________________________
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.


--

Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net



Jevon K. Hills
Developer - Zymeta Media Promotion Systems
_______________________________________________
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: Help please _obtainOpenChannel error - Further INFO (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: how to set the "CLASSPATH environment variable"
  • Next by Date: Configuring MySQL's Connector Java for WO under Windows
  • Previous by thread: Re: Help please _obtainOpenChannel error - Further INFO
  • Next by thread: Re: Help please _obtainOpenChannel error
  • Index(es):
    • Date
    • Thread