• 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: Shelley Eitzen <email@hidden>
  • Date: Wed, 01 Jan 2014 15:11:50 +1030
  • Importance: Normal

Thanks,

It already exists in /Library/Java/Extensions and is referenced in the
"Configure Build Path" dialog

I tried downloading it again and updating it, but I still have the same
issue.

Any more suggestions?

Thanks in advance

Shelley


> did you install the openbase jdbc driver? I think this is what you want:
>
> http://www.openbase.com/index.php/products/downloads
>
> I believe the installed driver should live at (this is where I put my
> postgresql .jar):
>
> /Library/Java/Extensions
>
> On Dec 31, 2013, at 11:09 PM, Shelley Eitzen <email@hidden>
> wrote:
>
>> Hi All,
>>
>> I am trying to set up a new machine
>>
>> OSX 10.9
>> Openbase 12
>> Eclipse 3.8.2
>> Wonder Frameworks
>>
>> I have managed to import my existing application and it compile and
>> build
>> successfully, but when I run my application from eclipse the application
>> is unable to connect to the database with the following log excerpt:
>>
>> ...
>> 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 = "jdbc:openbase://127.0.0.1/Test"; }
>> 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 = "jdbc:openbase://127.0.0.1/Test"; }
>> 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)
>> .....
>>
>>
>> I have tried localhost and 127.0.0.1 combinations
>> I have tried both restored database and a completely new database
>> I can connect from the command line using openisql_ascii
>> I have no knowledge of jdbc, nor how to test a jdbc connection
>>
>> Can anyone offer any suggestions?
>>
>> Thanks in advance
>> Shelley
>>
>>
>> _______________________________________________
>> 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
>
>

 _______________________________________________
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: failed to open database channel: Openbase
      • From: Chuck Hill <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>)

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