Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jboss-MySql Connection Problem

 
bala kiran
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am losing mysql connection from jboss very frequently. Mysql db is in the same network, but on a different IP. After researching thru jboss documentation, I added this line to my mysql db xml file,
<connection-property name="autoReconnect">true</connection-property>

still its losing connection after 6-7 hrs of not using. The connection re-establishes if i restart jboss.

Any help is greatly appreciated.
 
bala kiran
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nobody has a clue on this? In that case, I guess I have to buy jboss support.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Similar issue was reported some time back here:

Connection timeouts
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic