aspose file tools*
The moose likes JDBC and the fly likes com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure" Watch "com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure" New topic
Author

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
I don't have any clue.

Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
Sorry for the long post. I tried to copy all whole stack trace.

Other Information :

- I am using Spring framework, Hibernate and MySQL database. I have tried with Apache Tomcat and JBoss servers.
- Application tries to execute a query and it fails because it can't connect to the database.

I don't know to which forum this question belongs.

I use Tomcat lookup,

as well as tried to put

url="jdbc:mysql://server:3307/database?autoReconnect=true"/> too.

but why the hell I can not get rid of this error.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
 
Similar Threads
Problem to run my application
Webflow 2: view not binding with the model
Hibernate + mysql jdbc on production
Jar conflict or something else?
JSF 1.2 with Facelets 1.2 project deployment issue in JBoss 4.2.3.