Hi, If this is not a problem with tomcat and it is something to do with application (or) or with java or 0racle!!Please suggest me for some user list!!! Thanks in Advance!!
Regards, Thangavel Sankaranarayanan Thangavel Sankaranarayanan/ India/[EMAIL PROTECTED] To Tomcat Users List 09/08/2008 04:19 <users@tomcat.apache.org> PM cc Subject Please respond to Intermitant DB Problem in "Tomcat Users tomcat:java.sql.SQLException: Io List" exception: Connection reset by <[EMAIL PROTECTED] peer: JVM_recv in socket input che.org> stream read Hi , I am getting the following error when connecting to oracle database, Has any one seen this kind of errors before? is this the problem with tomcat in loosing the connections?? I am getting this error once in 5 hrs and i get a HTTPStatus500 error and when a user tries again it gets okay and it is working How can i resolve this Intermitant DB Problem in tomcat!!! java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read This is the Exception details in my application logs: DEBUG au.com.vodafone.mpp.bos.MPPFactory - Calling getConnection method of Datasrc Class:600991 DEBUG au.com.vodafone.mpp.da.DataSrc - Inside getConnection() method of DataScr DEBUG au.com.vodafone.mpp.da.DataSrc - About to get a Connection from SharedPoolDatasrc and return it back... ERROR au.com.vodafone.mpp.da.DataSrc - Exception while get a Datasource connection ERROR au.com.vodafone.mpp.da.DataSrc - java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read DEBUG au.com.vodafone.mpp.bos.MPPFactory - Exception:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read WARN org.apache.struts.action.RequestProcessor - Unhandled Exception thrown: class java.sql.SQLException This is my code: static public Connection getConnection() throws Exception { theLog.debug("Inside getConnection() method of DataScr"); try { if (ds == null) { theLog.debug("SharedPoolDatasrc is NULL: Serious Error "); System.out.println("SERIOUS ERROR 99"); } theLog.debug("About to get a Connection from SharedPoolDatasrc and return it back..."); return ds.getConnection(); } catch(Exception exp) { theLog.error("Exception while get a Datasource connection"); theLog.error(exp); throw exp; } } Regards, Thangavel Sankaranarayanan --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]