Need a little help here if possible....
1) I am using hibernate with mysql and
tomcat 6.
2) I wish to alter the default 8 hour wait time that mysql comes with.
3) In doing so I have modifies my /etc/my.inf to include the lines:
interactive_timeout=604800
interactive_timeout=604800
I then do a restart of mysql server and a show variable query on timout to confirm that the values on no longer defaults.
My system then breaks as tomcat is not able to use hibernate pool for authentication and aditionally the following happens:
I create a new '
test' user and the application works. Additionally trying to recreate the user brings about the necassary exceptions I have defined, indicating that the new test user is sitting in the cache but is never flushed.
Removing the configuration I did makes it work again but I then have to deal with the 8 hour timeout again.
Many thanks for any help.
SCJP 6.0, SCJD (400/400), SCBCD for JEE 5, SCWCD 1.4 I do videos for development at
http://www.youtube.com/user/thejartender?feature=mhee
I am probably the only developer ever to have had an orange sized brain tumor in my brain while learning development!!