• 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: jdbc-problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: jdbc-problem


  • Subject: Re: jdbc-problem
  • From: Chuck Hill <email@hidden>
  • Date: Sun, 28 Sep 2003 11:04:51 -0700

Perhaps the database was restarted and the app lost connection?  It
*should* reconnect, but perhaps there is a bug with mySQL?  Try restarting
the apps.  If that does not work, then someone has changed something on the
machine (paths, permissions, passwords, deleted something etc.).  Find out
what happened and fix it.


Chuck


At 02:48 PM 28/09/2003 +0200, jacques couzteau wrote:
>i posted the following to  email@hidden but no one
>answered, so i hope i might get some help here. my big problem is that
>i only have access to the machine via ssh and i cannot reboot it. How
>do i get my app up and running again?
>
>i appreciate your help.
>
>thank you
>
>jacques
>
>> hello
>>
>>  i depleyed a wo app on a webserver (osx 10.2.6)
>>
>> I t was working fine for 5 days. suddenly i got the errormessage "no
>> instance available". after reloading i got the  error below.
>>
>>
>>> Original Exception:
>>> java.lang.IllegalStateException: _obtainOpenChannel --
>>> com.webobjects.eoaccess.EODatabaseContext
>>> com.webobjects.eoaccess.EODatabaseContext@315e08: failed to open
>>> database channel.  Check your connection dictionary, and ensure your
>>> database is correctly configured.
>>
>>
>> i assume this means that the woapp has
>> problems connecting to my mysql-db. which would lead to problems using
>> the jdbc driver because i can login to the db with my
>> commandline-mysql-client and do everything i want.
>>
>> i've tested the driver with a little java testprogram (thanks to Marc
>> Liyanage the program is available here:
>> http://www.entropy.ch/software/MacOSx/mysql/TestMySQL.java)
>>
>> java -classpath
>> /Library/Java/Extensions/mysql-connector-java-3.0.8-stable-bin.jar:.
>> TestMySQL
>> result:
>> 2003-09-26 12:48:36
>>
>> which shows that the jdbc drivers ar available as well.
>>
>> i don't know how to get my app up and running again. please help.
>>
>> thanks
>>
>> jacques couzteau
>
>__________
>OSX 10.2.6 /
>mysql 4.0.14-standard
>WO 5.2.1
>mysql-connector-java-3.0.8-stable-bin.jar
>_______________________________________________
>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
_______________________________________________
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.

  • Follow-Ups:
    • Re: jdbc-problem
      • From: jacques couzteau <email@hidden>
References: 
 >jdbc-problem (From: jacques couzteau <email@hidden>)

  • Prev by Date: jdbc-problem
  • Next by Date: Adding a filter to a D2J fetch
  • Previous by thread: jdbc-problem
  • Next by thread: Re: jdbc-problem
  • Index(es):
    • Date
    • Thread