Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Sienna Hughes   on May 27 In Java Category.

  
Question Answered By: Adalia Fischer   on May 27

Are you using a connection  pool? If so, make sure you advise your connection pool to test connections before handing them out of the pool. This is necessary with MySQL because it aggressively closes idle connections and since connections in a connections pool are mostly chilling, they are broken after a while and without any notice.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on problems with database connection on a linux tomcat server Or get search suggestion and latest updates.


Tagged: