Re: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
Andreas Andersson <[email protected]> Tue, 29 May 2007 22:46:53 +0200
| Newsgroups | gmane.comp.db.mysql.java |
|---|---|
| Message-ID | <[email protected]> |
Mark Matthews wrote:
> Andreas,
>
> --log-warnings on the server should give you some more insight.
>
> Is there anything in your application (GC?) that could be causing a
> hiccup that would cause login_timeout to expipre? The server will kill
> a connection in the authentication phase if that timeout expires.
It shouldn't be anything like GC, it's been running smooth on the old
connector for a long time.
I added the parameter dontTrackOpenResources=true and that seems to have
solved this problem. Good, but a bit confusing :)
--
Andreas Andersson
Senior Developer
Travelstart <http://www.travelstart.se>
Travelstart Nordic AB
Davidshallsgatan 14
211 45 Malmö
www.travelstart.se <http://www.travelstart.se>
www.travelstart.dk <http://www.travelstart.dk>
Tel +46 (0)40-690 38 83
Mob +46 (0)70-757 23 73
Fax +46 (0)40-611 17 78
www.travelstart.no <http://www.travelstart.no>
www.travelstart.co.za <http://www.travelstart.co.za>
--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/[email protected]