list archives . users mailing list

Subject: Communication failure exception

Date view Thread view Subject view Author view Attachment view

From: Shishir S. Bharathi (shishir@ISI.EDU)
Date: Apr 02, 2003 01:35

Hi,

        I've been getting this exception a lot now. It sometimes happens
after some of the statements in the script have been executed (as
reflected in the database). The only way to continue once this happens
has been to restart tomcat. Does anyone have any ideas as to why this
is happening ?
        I didn't see any problems with mysql.

Thanks,
Shishir

331559306 [Thread-97] ERROR
uk.org.ogsadai.porttype.gds.drivers.jdbcdriver.JDBCDataResourceManager -
SystemException created - Communication failure during handshake. Is there
a server running on localhost:3306?
java.sql.SQLException: Communication failure during handshake. Is there a
server running on localhost:3306?
        at com.mysql.jdbc.MysqlIO.init(Unknown Source)
        at com.mysql.jdbc.Connection.connectionInit(Unknown Source)
        at com.mysql.jdbc.jdbc2.Connection.connectionInit(Unknown Source)
        at com.mysql.jdbc.Driver.connect(Unknown Source)
        at java.sql.DriverManager.getConnection(DriverManager.java:512)
        at java.sql.DriverManager.getConnection(DriverManager.java:193)
        at
uk.org.ogsadai.porttype.gds.drivers.jdbcdriver.JDBCDataResourceManager.initialise(JDBCDataResourceManager.java:48)
        at
uk.org.ogsadai.porttype.gds.statement.jdbcstatement.SQLStatementHandler.<init>(SQLStatementHandler.java:52)
        at sun.reflect.GeneratedConstructorAccessor75.newInstance(Unknown
Source)

-- 

Date view Thread view Subject view Author view Attachment view