• 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: Urgent: WO error after server update to 10.4.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Urgent: WO error after server update to 10.4.4


  • Subject: Re: Urgent: WO error after server update to 10.4.4
  • From: Wolfram Stebel <email@hidden>
  • Date: Mon, 16 Jan 2006 16:41:10 +0100
  • Thread-topic: Urgent: WO error after server update to 10.4.4

Am 16.01.2006 14:41 Uhr schrieb "Dev WO" unter <email@hidden>:

Hi,

Thanks für your answer!

> Hi Wolfram,
> could you past your connection dictionnary so we can have a look at it?
>From the logs:

[2006-01-16 16:20:13 CET] <main> Didn't find any JNDI data source.
[2006-01-16 16:20:13 CET] <main> Using JDBCPlugIn
'com.webobjects.jdbcadaptor.MySQLPlugIn' for JDBCAdaptor@8628573
[2006-01-16 16:20:13 CET] <main>  connecting with dictionary: {plugin
= ""; username = "webclubs"; driver = ""; password = "<password
deleted for log>"; URL = "jdbc:mysql://localhost/WebClubs"; }
DriverManager.getConnection("jdbc:mysql://localhost/WebClubs")
     trying driver
[className=com.mysql.jdbc.Driver,com.mysql.jdbc.Driver@9d4f72]
java.sql.SQLException: Unable to connect to any hosts due to
exception: java.net.ConnectException: Connection refused


> You said you can connect using MySQLAdministrator, on the local
> machine or remotely?
Yes
> Are you using localhost or 127.0.0.1 to connect using
> mySQLAdministrator?
Yes
127.0.0.1 does not work! looks like a problem.

> Xavier
>
>
>
>> Hi list,
>>
>> i update server to 10.4.4.
>>
>> Starting my applications in monitor results in :
>>
>> ...
>>
>> java.net.SocketException
>> MESSAGE: java.net.ConnectException: Connection refused
>>
>> STACKTRACE:
>>
>> java.net.SocketException: java.net.ConnectException: Connection
>> refused
>>     at com.mysql.jdbc.StandardSocketFactory.connect
>> (StandardSocketFactory.java:156)
>>     at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284)
>> ...
>>
>>
>> Last packet sent to the server was 0 ms ago.
>> [2006-01-16 11:52:50 CET] <main> A fatal exception occurred:
>> _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext
>> com.webobjects.eoaccess.EODatabaseContext@c488c: failed to open
>> database channel.  Check your connection dictionary, and ensure your
>> database is correctly configured.
>> [2006-01-16 11:52:50 CET] <main> java.lang.IllegalStateException:
>> _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext
>> com.webobjects.eoaccess.EODatabaseContext@c488c: failed to open
>> database channel.  Check your connection dictionary, and ensure your
>> database is correctly configured.
>>     at com.webobjects.eoaccess.EODatabaseContext._obtainOpenChannel
>> (EODatabaseContext.java:2131)
>>
>>
>> ------
>>
>>
>> i'm able to connect with MySQLAdministrator and manually with the
>> user and
>> password the application uses.
>> i tried a new jdbc driver.
>> i have my.cnf in /etc/:
>>
>> [mysqld]
>> datadir=/Volumes/Sonne-Data/mySQL-Data
>> pid-file=/Volumes/Sonne-Data/mySQL-Data/Sonne.local.pid
>> socket=/var/mysql/mysql.sock
>> port=3306
>> character-set-server=latin1
>> collation-server=latin1_german1_ci
>>
>>
>> [mysql.server]
>> basedir=/usr/bin
>>
>> -------
>>
>> Any tips?
>>
>> Please hurry :-)
>>
>> Wolfram


 _______________________________________________
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: Urgent: WO error after server update to 10.4.4 (From: Dev WO <email@hidden>)

  • Prev by Date: Re: Urgent: WO error after server update to 10.4.4
  • Next by Date: Re: Urgent: WO error after server update to 10.4.4
  • Previous by thread: Re: Urgent: WO error after server update to 10.4.4
  • Next by thread: Re: Urgent: WO error after server update to 10.4.4
  • Index(es):
    • Date
    • Thread