13 messages in com.mysql.lists.javaNeed Help - java.net.ConnectException...| From | Sent On | Attachments |
|---|---|---|
| Teemu Kuulasmaa | 19 Oct 2004 04:35 | |
| Mark Matthews | 19 Oct 2004 07:10 | |
| Jim Tyrrell | 19 Oct 2004 10:22 | |
| Mark Matthews | 19 Oct 2004 11:05 | |
| Kevin A. Burton | 20 Oct 2004 00:57 | |
| Kevin A. Burton | 20 Oct 2004 00:58 | |
| Teemu Kuulasmaa | 20 Oct 2004 05:06 | |
| Mark Matthews | 20 Oct 2004 06:15 | |
| Mark Matthews | 20 Oct 2004 06:19 | |
| Kevin A. Burton | 20 Oct 2004 11:26 | |
| Teemu Kuulasmaa | 20 Oct 2004 22:08 | |
| Youngho Cho | 27 Oct 2004 16:53 | |
| Youngho Cho | 28 Oct 2004 00:41 |
| Subject: | Need Help - java.net.ConnectException Problem![]() |
|---|---|
| From: | Youngho Cho (youn...@nannet.co.kr) |
| Date: | 10/27/2004 04:53:40 PM |
| List: | com.mysql.lists.java |
Hello,
I have been faced very strange problem.
When I tried to connect to the mysql database which is in another computer, I
received the following error message.
The application is running at the Window XP with HotSpot 1.4.2_06.
Do you have any clue ? Any Comment will be appreciated.
Thanks,
Youngho
2004-10-28 08:36:35,703 [TP-Processor3] ERROR
com.nannet.jettiger.services.security.JetTigerSecurity -
org.apache.torque.TorqueException: com.mysql.jdbc.CommunicationsException:
Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.ConnectException MESSAGE: Connection refused: connect
STACKTRACE:
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.<init>(Socket.java:309)
at java.net.Socket.<init>(Socket.java:124)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:130)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:246)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1402)
at com.mysql.jdbc.Connection.<init>(Connection.java:350)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:218)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at
org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS.getPooledConnection(DriverAdapterCPDS.java:160)
at
org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS.getPooledConnection(DriverAdapterCPDS.java:130)
at
org.apache.commons.dbcp.datasources.InstanceKeyDataSource.testCPDS(InstanceKeyDataSource.java:711)
at
org.apache.commons.dbcp.datasources.SharedPoolDataSource.registerPool(SharedPoolDataSource.java:188)
at
org.apache.commons.dbcp.datasources.SharedPoolDataSource.getPooledConnectionAndInfo(SharedPoolDataSource.java:157)
at
org.apache.commons.dbcp.datasources.InstanceKeyDataSource.getConnection(InstanceKeyDataSource.java:631)
at
org.apache.commons.dbcp.datasources.InstanceKeyDataSource.getConnection(InstanceKeyDataSource.java:615)
at org.apache.torque.TorqueInstance.getConnection(TorqueInstance.java:698)
at org.apache.torque.Torque.getConnection(Torque.java:261)




