Re: Do or Die
Posted by: Filipe Silva
Date: May 20, 2015 12:17PM

Hi Karan,

Actually this failure starts in method 'com.erp.Beans.MarketingDashBoardBean.getMonthDiff()' that you call somewhere from 'MarketingDashBoardPage.jsp'.

If I understood correctly, this only happens after a significant time has passed by. My guess is that you are trying to re-use a Connection initialized long time ago and that was closed in the meantime at server side.

By default, a MySQL server ships with a 'wait_timeout' of 8 hours.

You should review your connections management code, web server's session timeout and everything else that may be extending your connections liveness beyond a reasonable expected duration.

Options: ReplyQuote

Written By
May 17, 2015 12:18PM
Re: Do or Die
May 20, 2015 12:17PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.