• 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: failed to open database channel: Openbase
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: failed to open database channel: Openbase


  • Subject: Re: failed to open database channel: Openbase
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 01 Jan 2014 04:48:23 +0000
  • Thread-topic: failed to open database channel: Openbase

The ConnectionAnalyzer says:

3635 [main] INFO er.transaction.adaptor.ConnectionAnalyzer  - Trying to create JDBCAdaptor...
3635 [main] INFO er.transaction.adaptor.ConnectionAnalyzer  - Successfully created adaptor com.webobjects.jdbcadaptor.JDBCAdaptor
3635 [main] INFO er.transaction.adaptor.ConnectionAnalyzer  - Trying to create plugin...
OpenBasePlugIn is loaded...
3635 [main] INFO er.transaction.adaptor.ConnectionAnalyzer  - Created plugin com.webobjects.jdbcadaptor.OpenBasePKPlugIn
3635 [main] INFO er.transaction.adaptor.ConnectionAnalyzer  - Trying to load JDBC driver com.openbase.jdbc.ObDriver...
3637 [main] INFO er.transaction.adaptor.ConnectionAnalyzer  - Successfully loaded JDBC driver com.openbase.jdbc.ObDriver
3637 [main] INFO er.transaction.adaptor.ConnectionAnalyzer  - JDBC driver and plugin are loaded, trying to connect...
3638 [main] INFO er.transaction.adaptor.ConnectionAnalyzer  - Error:
Exception thrown while connecting.
Check exception message carefully.

So the problem is not in WebObjects or what software is installed, on the class path, etc.   It simply can’t talk to the database server.  Is it running?  If so, the URL, database name, user name, or password is wrong.  Or if the database supports it, it is refusing connections from that machine.


-- 
Chuck Hill             
Executive Managing Partner, VP Development and Technical Services

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.    
http://www.global-village.net/gvc/practical_webobjects

Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! 

Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!

On 12/31/2013, 8:41 PM, "Shelley Eitzen" wrote:


3621 [main] WARN NSLog  - An exception occurred while trying to open a
channel: N/A
3621 [main] INFO er.transaction.adaptor.Exceptions  - Database Exception
occured: java.lang.IllegalStateException: _obtainOpenChannel --
com.webobjects.eoaccess.EODatabaseContext
com.webobjects.eoaccess.EODatabaseContext@2f473a2e: failed to open
database channel.  Check your connection dictionary, and ensure your
database is correctly configured.
OpenBasePlugIn is loaded...
3634 [main] INFO er.extensions.eof.ERXDatabaseContextDelegate  - ams:
{plugin = "com.webobjects.jdbcadaptor.OpenBasePKPlugIn"; username =
"admin"; driver = "com.openbase.jdbc.ObDriver"; password = "<password
deleted for log>"; URL = "" }
3635 [main] INFO er.transaction.adaptor.ConnectionAnalyzer  - Checking
JDBC connection with information {plugin =
"com.webobjects.jdbcadaptor.OpenBasePKPlugIn"; username = "admin";
driver
= "com.openbase.jdbc.ObDriver"; password = "<password deleted for log>";
URL = "" }
3635 [main] INFO er.transaction.adaptor.ConnectionAnalyzer  - Trying to
create JDBCAdaptor...
3635 [main] INFO er.transaction.adaptor.ConnectionAnalyzer  -
Successfully
created adaptor com.webobjects.jdbcadaptor.JDBCAdaptor
3635 [main] INFO er.transaction.adaptor.ConnectionAnalyzer  - Trying to
create plugin...
OpenBasePlugIn is loaded...
3635 [main] INFO er.transaction.adaptor.ConnectionAnalyzer  - Created
plugin com.webobjects.jdbcadaptor.OpenBasePKPlugIn
3635 [main] INFO er.transaction.adaptor.ConnectionAnalyzer  - Trying to
load JDBC driver com.openbase.jdbc.ObDriver...
3637 [main] INFO er.transaction.adaptor.ConnectionAnalyzer  -
Successfully
loaded JDBC driver com.openbase.jdbc.ObDriver
3637 [main] INFO er.transaction.adaptor.ConnectionAnalyzer  - JDBC
driver
and plugin are loaded, trying to connect...
3638 [main] INFO er.transaction.adaptor.ConnectionAnalyzer  - Error:
Exception thrown while connecting.
Check exception message carefully.
3640 [main] ERROR er.transaction.adaptor.ConnectionAnalyzer  - No
connection.
3640 [main] WARN NSLog  - A fatal exception occurred: _obtainOpenChannel
-- com.webobjects.eoaccess.EODatabaseContext
com.webobjects.eoaccess.EODatabaseContext@2f473a2e: failed to open
database channel.  Check your connection dictionary, and ensure your
database is correctly configured.
[2014-1-1 14:12:26 CST] <main> java.lang.IllegalStateException:
_obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext
com.webobjects.eoaccess.EODatabaseContext@2f473a2e: failed to open
database channel.  Check your connection dictionary, and ensure your
database is correctly configured.
at
com.webobjects.eoaccess.EODatabaseContext._obtainOpenChannel(EODatabaseContext.java:1967)
at
com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3054)
.....
 _______________________________________________
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: 
 >failed to open database channel: Openbase (From: Shelley Eitzen <email@hidden>)
 >Re: failed to open database channel: Openbase (From: Theodore Petrosky <email@hidden>)
 >Re: failed to open database channel: Openbase (From: Shelley Eitzen <email@hidden>)

  • Prev by Date: Re: failed to open database channel: Openbase
  • Previous by thread: Re: failed to open database channel: Openbase
  • Index(es):
    • Date
    • Thread