facebook

Please help me!!!

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #220480 Reply

    hailh
    Member

    hi all,
    My Project is based on Struts FrameWork. I deploy it on Websphere Server. My database are Oracle 9i and MySQL 4.17. SOMETIME(Only Sometime), an error occurs. But when i refresh webpage or restart webserver, it’s Ok. Please help me to resovle this bug.

    Thanks for reading!!!!
    This error message display:

    Connection was closed due to the following exception:

    ** BEGIN NESTED EXCEPTION **

    java.sql.SQLException
    MESSAGE: Communication link failure: java.net.SocketException, underlying cause: Connection reset

    ** BEGIN NESTED EXCEPTION **

    java.net.SocketException
    MESSAGE: Connection reset

    STACKTRACE:

    java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:168)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
    at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
    at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1391)
    at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:1538)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1929)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1167)
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1278)
    at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1224)
    at com.mysql.jdbc.Connection.execSQL(Connection.java:2244)
    at com.mysql.jdbc.Connection.execSQL(Connection.java:2204)
    at com.mysql.jdbc.Connection.execSQL(Connection.java:2185)
    at com.mysql.jdbc.Connection.setAutoCommit(Connection.java:546)
    at org.apache.commons.dbcp.DelegatingConnection.setAutoCommit(DelegatingConnection.java:237)
    at org.apache.commons.dbcp.PoolableConnectionFactory.activateObject(PoolableConnectionFactory.java:273)
    at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(Unknown Source)
    at org.apache.commons.dbcp.AbandonedObjectPool.borrowObject(AbandonedObjectPool.java:117)
    at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:110)
    at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:312)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at vn.net.vnnic.dms.servlet.DMSRequestProcessor.processActionPerform(DMSRequestProcessor.java:85)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:524)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:76)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:965)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
    at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
    at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
    at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
    at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
    at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)

    ** END NESTED EXCEPTION **

    #220491 Reply

    Riyad Kalla
    Member

    Moving to OT > Soft Dev

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Please help me!!!

You must be logged in to post in the forum log in