Hi All,
 
I am really not sure whether this question should be asked here or not but I am hoping that someone must have faced this problem.
 
My Servers are losing connections with database because of inactivity and on next activity I am getting following error :- 
 
"The last packet successfully received from the server was40939 seconds ago.The last packet sent successfully to the server was 40939 seconds ago, which  is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem."
 
Do I need to change in the application for this or what changes do I need to do to fix this error.

Please provide me some input.
 
Thanks in advance.

--
Regards,
Manasi Save

Reply via email to