Servlet Forward + Connection reset by peer

I have a strange error when making a forward from a servlet to a JSP page that exists !
i have the following message :
Connection reset by peer: socket write error
If i use Mozilla to access the same page, it works fine !!!
Strange !
Can you help me please ?

I use OC4J 9.0.4 and had the same error in IE6 but everything works fine in IE5 ! The same application works fine in JBOSS with both versions of IE (5 and 6).

Similar Messages

  • Javax.servlet.ServletException: Connection reset by peer....Help needed..

    Initially, when I clicked on my JSPs, everything was fine. I was able to retrieve data successfully from all the JSPs. However, after much clicking through the JSPs. I was not able to access the JSPs and the Internal Servlet Error was shown.
    Below is my Tomcat.log:
    Context log: path="/Aedge" Error in jsp service() : Connection reset by peer: socket write error
    javax.servlet.ServletException: Connection reset by peer: socket write error
         at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:375)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
         at org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:163)
         at org.apache.tomcat.servlets.DefaultServlet.doGet(DefaultServlet.java:187)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
         at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
         at java.lang.Thread.run(Unknown Source)
    Context log: path="/Aedge" <b>Internal Servlet Error:</b><br>.....
    What is the problem here? How can I solve this as I had to restart my Tomcat once a while due to this problem.

    ok.. I have db classes where all my sql statements methods are being displayed.. In each db class, there will be a getInstance() method to create the connection. Below is one of my db class.. How to I modified the things you had mentioned in my codes..
    package aedgeSoft.access;
    import aedgeSoft.business.*;
    import java.sql.*;
    import java.util.*;
    import java.util.Date;
    import java.io.*;
    public class DBMemberType
         private Connection con;
         private static DBMemberType instance = null;
         public static DBMemberType getInstance()
              try
                   if(instance==null)
                        instance = new DBMemberType();
              catch(SQLException e)
                   System.out.println("Problems with loading database in DBMemberType");
              catch(ClassNotFoundException e)
                   System.out.println("Problems with loading db driver in DBMemberType");
              finally
                   return instance;
         private DBMemberType() throws SQLException, ClassNotFoundException
              try{
              Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
              con = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433;user=username;password=password;DatabaseName=db");
              catch(InstantiationException e)
                   e.printStackTrace();
              catch(IllegalAccessException e)
                   e.printStackTrace();
         //add memberType
         public boolean addMemberType(MemberType mt)
    ..........

  • ServletException - Connection reset by peer

    Hi all,
    I have a Servlet (ModificaCorpoOrdineService.java) with two method:
    1) maskEditOrderCorp(req,resp)
    2) EditOrderCorp(req,resp)
    1) The first method is called when I have to present
    the page addModCorpoOrdine.jsp and contain
    the redirect to that jsp page:
    RequestDispatcher rd = getServletContext().getRequestDispatcher("/Jsp/addModCorpoOrdine.jsp");
    rd.forward(req, resp);
    2) The second is called when I press "modify" from the JSP page when finish of edit the Order Corp. This method check data and if success save into DB the Order.
    When some check fails, I call the method maskEditOrderCorp() to re-present the page displaying the error.
    In some case this cause the error:
    java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at it.webconsulting.util.servlet.GenericService.doGet(GenericService.java:111)
    at it.webconsulting.util.servlet.GenericService.doPost(GenericService.java:136)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
    at it.webconsulting.util.servlet.ServletDispatcher.doGet(ServletDispatcher.java:140)
    at it.karnak.web.servlet.KarnakServletDispatcher.doGet(KarnakServletDispatcher.java:58)
    at it.webconsulting.util.servlet.ServletDispatcher.doPost(ServletDispatcher.java:159)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.lite.web.CheckSessionFilter.doFilter(CheckSessionFilter.java:212)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: javax.servlet.ServletException: Connection reset by peer: socket write error at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:595)
    at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:537)
    at jsp.addModCorpoOrdine._jspService(_addModCorpoOrdine.java:2230)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
    at it.karnak.web.servlet.ModificaCorpoOrdineService.maskEditOrderCorp(ModificaCorpoOrdineService.java:260)
    at it.karnak.web.servlet.ModificaCorpoOrdineService.clienteNonCompleto(ModificaCorpoOrdineService.java:1347)
    at it.karnak.web.servlet.ModificaCorpoOrdineService.checkInviaAKarnak(ModificaCorpoOrdineService.java:2403)
    at it.karnak.web.servlet.ModificaCorpoOrdineService.editOrderCorp(ModificaCorpoOrdineService.java:535)
    ... 24 more
    Can someone help me?
    Tanks for all your help.
    D.

    ok.. I have db classes where all my sql statements methods are being displayed.. In each db class, there will be a getInstance() method to create the connection. Below is one of my db class.. How to I modified the things you had mentioned in my codes..
    package aedgeSoft.access;
    import aedgeSoft.business.*;
    import java.sql.*;
    import java.util.*;
    import java.util.Date;
    import java.io.*;
    public class DBMemberType
         private Connection con;
         private static DBMemberType instance = null;
         public static DBMemberType getInstance()
              try
                   if(instance==null)
                        instance = new DBMemberType();
              catch(SQLException e)
                   System.out.println("Problems with loading database in DBMemberType");
              catch(ClassNotFoundException e)
                   System.out.println("Problems with loading db driver in DBMemberType");
              finally
                   return instance;
         private DBMemberType() throws SQLException, ClassNotFoundException
              try{
              Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
              con = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433;user=username;password=password;DatabaseName=db");
              catch(InstantiationException e)
                   e.printStackTrace();
              catch(IllegalAccessException e)
                   e.printStackTrace();
         //add memberType
         public boolean addMemberType(MemberType mt)
    ..........

  • Servlet error java.io.IOException: Connection reset by peer

    While opening the R12 Notifications, error with Internal Server Error. And find this in application.log
    Servlet error
    java.io.IOException: Connection reset by peer
         at sun.nio.ch.FileDispatcher.write0(Native Method)
         at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
         at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
         at sun.nio.ch.IOUtil.write(IOUtil.java:75)
         at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
         at java.nio.channels.Channels.write(Channels.java:60)
         at java.nio.channels.Channels.access$000(Channels.java:47)
         at java.nio.channels.Channels$1.write(Channels.java:134)
         at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Any idea ?????

    Hi,
    Please post the exact release of R12 along with the database version and OS.
    Is this issue with specific notification? If yes, please mention the steps to reproduce the issue.
    Was this working before? If yes, any changes have been done recently?
    Can you find any errors in the Workflow log file?
    Thanks,
    Hussein

  • Re: Connection reset by peer: Connection reset by peer

              >This is not a problem. It is an error message that you can safely ignore (that
              we should not be printing) and have fixed in version 6.0.
              Sorry but we are upgrading from 5.1 to 6.1sp2 and this became a problem for us.
              Indeed we just ignored this exception in 5.1, but today with 6.1sp2, we get it
              each time we do a RequestDispatcher.forward(). The forward is done, but every
              attributes set on the request are lost !!
              At first I thought it was related with the NT Muxer, or the NT Performance Pack,
              I removed the property NativeIOEnabled but I still get a :
              ven. 20020726 09:11:31 CEST <0> java.net.SocketException: Connection reset by
              peer: socket write error
                   at java.net.SocketOutputStream.socketWrite(Native Method)
                   at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
                   at weblogic.servlet.internal.ChunkUtils.writeHeaderChunk(ChunkUtils.java:151)
                   at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java:380)
                   at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java:827)
                   at weblogic.servlet.internal.ServletOutputStreamImpl.sendHeaders(ServletOutputStreamImpl.java:222)
                   at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:113)
                   at weblogic.servlet.internal.ServletOutputStreamImpl.commit(ServletOutputStreamImpl.java:446)
                   at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:266)
                   at cegedim.tvf.teamsweb.gui.TeamsWebScreenBuilder.forwardScreen(TeamsWebScreenBuilder.java:155)
                   at cegedim.tvf.teamsweb.gui.TeamsWebScreenBuilder.build(TeamsWebScreenBuilder.java:98)
                   at cegedim.tvf.koala.servlet.GlobalServlet.callResultBuilder(GlobalServlet.java:365)
                   at cegedim.tvf.teamsweb.servlet.ConnectionServlet.doPost(ConnectionServlet.java:112)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

              Yann,
              This is not a J2EE Connector problem. From the stack trace it looks like you might
              have better luck posting this to the Servlet newsgroup.
              Also, just so that you are aware, this newsgroup is not monitored regularly so
              if your issue/question is not getting answered in a timely manner, please send
              a request to BEA Support.
              >
              >>This is not a problem. It is an error message that you can safely ignore
              >(that
              >we should not be printing) and have fixed in version 6.0.
              >
              >--
              >
              >Sorry but we are upgrading from 5.1 to 6.1sp2 and this became a problem
              >for us.
              >Indeed we just ignored this exception in 5.1, but today with 6.1sp2,
              >we get it
              >each time we do a RequestDispatcher.forward(). The forward is done, but
              >every
              >attributes set on the request are lost !!
              >At first I thought it was related with the NT Muxer, or the NT Performance
              >Pack,
              >I removed the property NativeIOEnabled but I still get a :
              >
              >ven. 20020726 09:11:31 CEST <0> java.net.SocketException: Connection
              >reset by
              >peer: socket write error
              >     at java.net.SocketOutputStream.socketWrite(Native Method)
              >     at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
              >     at weblogic.servlet.internal.ChunkUtils.writeHeaderChunk(ChunkUtils.java:151)
              >     at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java:380)
              >     at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java:827)
              >     at weblogic.servlet.internal.ServletOutputStreamImpl.sendHeaders(ServletOutputStreamImpl.java:222)
              >     at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:113)
              >     at weblogic.servlet.internal.ServletOutputStreamImpl.commit(ServletOutputStreamImpl.java:446)
              >     at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:266)
              >     at cegedim.tvf.teamsweb.gui.TeamsWebScreenBuilder.forwardScreen(TeamsWebScreenBuilder.java:155)
              >     at cegedim.tvf.teamsweb.gui.TeamsWebScreenBuilder.build(TeamsWebScreenBuilder.java:98)
              >     at cegedim.tvf.koala.servlet.GlobalServlet.callResultBuilder(GlobalServlet.java:365)
              >     at cegedim.tvf.teamsweb.servlet.ConnectionServlet.doPost(ConnectionServlet.java:112)
              >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
              >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              >     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
              >     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
              >     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
              >     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
              >     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              >     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              >
              

  • JSP Exception: connection reset by peer

    ervlet.jsp.JspException: Can't write string 'Asset Library' : Connection reset by peer.
    at org.apache.struts.taglib.tiles.InsertTag$DirectStringHandler.doEndTag()I(InsertTag.java:1026)
    at org.apache.struts.taglib.tiles.InsertTag.doEndTag()I(InsertTag.java:473)
    at jsp_servlet._pages._common._layouts.__mainlayout._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(__mainlayout.java:325)
    at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(RequestDispatcherImpl.java:322)
    at org.apache.struts.action.RequestProcessor.doForward(Ljava.lang.String;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(RequestProcessor.java:1069)
    at org.apache.struts.tiles.TilesRequestProcessor.doForward(Ljava.lang.String;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(TilesRequestProcessor.java:274)
    at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(Ljava.lang.String;ZLjavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Z(TilesRequestProcessor.java:2
    at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Lorg.apache.struts.config.ForwardConfig;)V(TilesRequ
    at org.apache.struts.action.RequestProcessor.process(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(RequestProcessor.java:279)
    at org.apache.struts.action.ActionServlet.process(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6718)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
    at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    When I find the data it's giving result alon with the above exception.
    Can any one help?

    maybe put in abit of effort and tell the forum what you are trying and what is casuing this error, furthermore put in a little bit more effort and read the text behind the Formatting Tips url provided above the textarea you used to paste your stacktrace in.

  • Connection reset by peer.

    I recently started getting following exception. I use Windows 2000
              with weblogic 5.1 service pack 12. This problem does not effect the
              functionality, and happens randomly.
              Thank you,
              berker(at)optonline.net
              java.net.SocketException: Connection reset by peer: socket write error
                   at java.net.SocketOutputStream.socketWrite(Native Method)
                   at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
                   at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java:88)
                   at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java:336)
                   at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java:603)
                   at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:101)
                   at weblogic.servlet.internal.ServletOutputStreamImpl.writeStream(ServletOutputStreamImpl.java:430)
                   at weblogic.servlet.FileServlet.sendFile(FileServlet.java:199)
                   at weblogic.servlet.FileServlet.service(FileServlet.java:56)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:105)
                   at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:742)
                   at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
                   at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:247)
                   at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
                   at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

    Looks like the browser user is closing the browser or moving on to a new url before the response comes back.
              Search the newsgroup, as there are a number of posts concerning this.
              Bill
              berker wrote:
              > I recently started getting following exception. I use Windows 2000
              > with weblogic 5.1 service pack 12. This problem does not effect the
              > functionality, and happens randomly.
              >
              > Thank you,
              > berker(at)optonline.net
              >
              > java.net.SocketException: Connection reset by peer: socket write error
              > at java.net.SocketOutputStream.socketWrite(Native Method)
              > at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
              > at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java:88)
              > at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java:336)
              > at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java:603)
              > at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:101)
              > at weblogic.servlet.internal.ServletOutputStreamImpl.writeStream(ServletOutputStreamImpl.java:430)
              > at weblogic.servlet.FileServlet.sendFile(FileServlet.java:199)
              > at weblogic.servlet.FileServlet.service(FileServlet.java:56)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:105)
              > at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:742)
              > at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
              > at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:247)
              > at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
              > at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

  • Io exception: Connection reset by peer: JVM_recv in socket input stream read

    We are developing a new J2EE app using JDev, OC4J, servlets, and EJBs. We have determined that our firewall is closing database connections that have been idle for 1 hour. This is a security requirement that cannot be changed. When we try to use these idle connections in both stateless and entity beans, we consistently receive this or a similar error message:
    "ServletSACategoryList: Error invoking EJB procedure. Exception: java.sql.SQLException: StatelessSysAdminBean::getCategoryList - Io exception: Connection reset by peer: JVM_recv in socket input stream read "
    Environment:
    Oracle 9iAS 9.0.2.0.0
    Database: Oracle 8.1.7
    JDBC 8.1.7
    JDK 1.3
    JDev 9.0.2.829
    We are using the ejb-location attribute within data-sources.xml for JNDI lookup of the DataSource. Here is what this file looks like:
    <data-sources>
    <data-source
    class="oracle.jdbc.pool.OracleDataSource"
    name="jdbc/OracleDS"
    location="jdbc/OracleCoreDS"
    xa-location="jdbc/xa/OracleXADS"
    ejb-location="jdbc/OraclePoolDS"
    url="jdbc:oracle:thin:@###.###.#.###:1521:dev1"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="????????"
    password="????????"
    max-connections="4"
    wait-timeout="20"
    min-connections="1"
    inactivity-timeout="60"
    connection-retry-interval="1"
    max-connect-attempts="3"
    />
    </data-sources>
    After calling getConnection() on the Connection object in my stateless bean, I have tried checking if the Connection object is null or isClosed(), I have caught any Exception, and looped to try again, but nothing has worked.
    Please respond to [email protected] or directly to this post if you can help in any way.
    Thank you,
    - Rob

    Hi Robert,
    If you don't mind, I can only offer a few suggestions for things
    to try -- I'm afraid I don't have a solution for you. Of-course,
    you may have already tried these things, so please excuse me if
    this is the case.
    Firstly, your "data-sources.xml" file looks "different". Have
    you read the "Data Sources" chapter of the "Oracle9iAS Containers
    for J2EE Services Guide, Release 2 (9.0.2)"? It is accessible
    from here:
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a95879/ds.htm#1004903
    Also, have you tried running OC4J in "debug" mode? This web
    page has more details:
    http://kb.atlassian.com/content/atlassian/howto/orionproperties.jsp
    I get the impression from the information you have supplied,
    that you may not be explicitly closing your database connections
    in your code. It looks to me like you are obtaining a database
    connection in your session bean, and then keeping it for the
    lifetime of that bean. Is that correct? I think it's better
    to obtain a connection when you need to interact with the database,
    and then close the connection immediately after completing the
    interaction with the database (but that's just my opinion).
    Lastly, if you haven't already discovered them, these web sites
    may also be of help:
    http://www.orionserver.com
    http://www.orionsupport.com
    http://www.elephantwalker.com
    Hope this helps you.
    Good Luck,
    Avi.

  • Broken Pipe/Connection Reset By Peer IO Exceptions

    Can someone explain what causes a connection reset by peer exception vs.
              a Broken Pipe IO exception? I realize they are generally caused by
              someone hitting stop, closing their browser, hitting a different link,
              etc.. but I was trying to understand what might cause a connection
              reset by peer exception vs. a broken pipe exception. I've added code to
              my servlet to suppress the "Connection Reset By Peer" socket exceptions
              but I'm wondering if I should do the same with Broken Pipe. Also, are
              there are other types of similar exceptions that can occur when users
              get impatient.. Thanks
              Kirk
              

    I do not have an idea about your application server but i do know how i solved it in weblogic. Just see whether this is helpful to you.
    Points to be sure of........
    1) Make sure that when ever you request a connection from a pool, after you are done with it return it. If you are not returning it and trying to use that reference again, this problem will occur.
    2) Look at the capabilities of your app server. Set the connection pool such that
    a) All the connections are checked at regular interval with some default select statement from any table in the database.
    b) Connections are check when the connection is checked out and returned to the pool.
    I the connection object is not ready , close it and create a new one. The app server which manages the pool should implement these feature so that when you get the connection - its the tested and working object.
    If your app server does not support - then think of ways you testing it before you using it(Anyway this is not the good solution).

  • RE: SocketException: Connection reset by peer

     

    I am getting a same exception in WebLogic6.1 SP1.
    java.net.SocketException: Connection reset by peer: socket write error
         at java.net.SocketOutputStream.socketWrite(Native Method)
         at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
         at weblogic.servlet.internal.ChunkUtils.writeHeaderChunk(ChunkUtils.java:151)
         at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java:380)
         at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java:827)
         at weblogic.servlet.internal.ServletOutputStreamImpl.sendHeaders(ServletOutputStreamImpl.java:222)
         at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:241)
         at weblogic.servlet.internal.ChunkOutput.checkForFlush(ChunkOutput.java:306)
         at weblogic.servlet.internal.MultibyteOutput.write(ChunkOutput.java:413)
         at weblogic.servlet.internal.MultibyteOutput.print(ChunkOutput.java:389)
         at weblogic.servlet.internal.ChunkOutputWrapper.print(ChunkOutputWrapper.java:134)
         at weblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java:111)
    Anybody has any idea?

  • Connection reset by peer:/Broken pipe using JTurbo JDBC Driver

    I am using the JTurbo JDBC driver to connect to a SQL Server 7.0 database. I am using Connection Pooling. After roughly an hour or so, I am no longer to get connections from the pool. Exceptions thrown are "connection reset by peer", followed by "Broken pipe" exceptions on every subsequent getConnection call.
    Has anyone found a successfull resolution to this problem using the JTurbo JDBC driver for SQL Server 7.0? I have tried the "autoReconnection=true" option on the URL string for the driver, but this has had no effect.
    I am running the Resin app server, version 1.2.7, on Solaris 8 and connecting to a SQL Server database running on NT 4.0. The JVM on Solaris where the servlet is running is 1.3.1.
    Any help is greatly appreciated!
    Mark Crouch
    Lead Developer
    accessKent

    I do not have an idea about your application server but i do know how i solved it in weblogic. Just see whether this is helpful to you.
    Points to be sure of........
    1) Make sure that when ever you request a connection from a pool, after you are done with it return it. If you are not returning it and trying to use that reference again, this problem will occur.
    2) Look at the capabilities of your app server. Set the connection pool such that
    a) All the connections are checked at regular interval with some default select statement from any table in the database.
    b) Connections are check when the connection is checked out and returned to the pool.
    I the connection object is not ready , close it and create a new one. The app server which manages the pool should implement these feature so that when you get the connection - its the tested and working object.
    If your app server does not support - then think of ways you testing it before you using it(Anyway this is not the good solution).

  • Connection reset by peer : Socket write

    Hi, everybody
    I am working with weblogic5.1 with servicepack 8. Our server is running for
    24X7X365 but i got some weired error this morning saying that "IO Exception
    :Connection reset by peer : Socket write
    error". I believe this has to do with weblogic.
    Can somebody guide me on this issue.
    Any help would be appreciated.
    Thanks
    Gautam

    Pretty difficult to track such kind of things if it is not easily
    reproducible. Could you also try it out with SP9? Also, try posting it
    on the JDBC newsgroup. Maybe, Joe Weinstein might have more answers.
    Shiva.
    "G.........." wrote:
    LoggingService is one of class that calls db methods.well, we get
    connection from pool and return it pool .we are refreshing connection
    pool regularly, following is some of the entries in properties
    file initialCapacity=5,\
    maxCapacity=10,\
    capacityIncrement=1,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    refreshMinutes=10,\ No this message is not easily
    reproductible.JDK version 1.2.2 and os is windows NT4.0 ThanksGautam
    "Shiva Paranandi" <[email protected]> wrote in message
    news:[email protected] does this
    "com.gdaxs.util.LoggingService.logSystemErrorMsg" do? How is
    your pool usage? Do you use the connection pools for a long
    time? Also, can you check if this happens after a pool
    refresh or not? Is this message easily reproducable? What is
    the jdk version you are using and what OS?
    Shiva.
    "G.........." wrote:
    Here is complete stack trace.
    Io exception: Connection reset by peer: JVM_recv in socket
    input stream read
    Stack trace:
    java.sql.SQLException: Io exception: Connection reset by
    peer: JVM_recv in socket input stream read
    at
    com.gdaxs.util.LoggingService.logSystemErrorMsg(LoggingService.java:309)
    at
    com.gdaxs.DBManager.DataRetrieverBean.getCloseOrders(DataRetrieverBean.java:2208)
    at
    com.gdaxs.DBManager.DataRetrieverBeanEOImpl.getCloseOrders(DataRetrieverBeanEOImpl.java:2656)
    at
    com.gdaxs.DBManager.DataRetrieverBeanEOImpl_ServiceStub.getCloseOrders(DataRetrieverBeanEOImpl_ServiceStub.java:343)
    at
    com.gdaxs.closedOrdersBean.init(closedOrdersBean.java:95)
    at
    jsp_servlet._closedorders._jspService(_closedorders.java:236)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:106)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:907)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:851)
    at
    weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
    at
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
    at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
    at
    weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    and after it series of exception like below
    Io exception: Connection reset by peer: socket write error
    Stack trace:
    java.sql.SQLException: Io exception: Connection reset by
    peer: socket write error
    at
    com.gdaxs.util.LoggingService.logSystemErrorMsg(LoggingService.java:309)
    at
    com.gdaxs.traderadministrator.LDAPInterfaceBean.getTradingAccounts(LDAPInterfaceBean.java:285)
    at
    com.gdaxs.traderadministrator.LDAPInterfaceBean.getTraderCredentials(LDAPInterfaceBean.java:137)
    at
    com.gdaxs.traderadministrator.LDAPInterfaceBeanEOImpl.getTraderCredentials(LDAPInterfaceBeanEOImpl.java:99)
    at
    com.gdaxs.traderadministrator.LDAPInterfaceBeanEOImpl_ServiceStub.getTraderCredentials(LDAPInterfaceBeanEOImpl_ServiceStub.java:109)
    at
    com.gdaxs.traderadministrator.TraderAdministrator.onMessage(TraderAdministrator.java:278)
    at
    progress.message.jclient.Session.ew_(progress/message/jclient/Session.java)
    at
    progress.message.jclient.QueueSession.run(progress/message/jclient/QueueSession.java)
    at
    progress.message.jclient.sl.run(progress/message/jclient/Session$SessionThread.java)
    Thanks
    Gautam"Shiva Paranandi" <[email protected]> wrote in
    message news:[email protected]...> Could you
    post the entire exception?
    Shiva.
    "G.........." wrote:
    Hi, everybody
    I am working with weblogic5.1 with servicepack 8. Our
    server is running for
    24X7X365 but i got some weired error this morningsaying that "IO Exception
    :Connection reset by peer : Socket write
    error". I believe this has to do with weblogic.
    Can somebody guide me on this issue.
    Any help would be appreciated.
    Thanks
    Gautam
    [att1.html]

  • Connection reset by peer: Connection reset by peer

    hi
    I have been reviewing the weblogic logs on one of the apps servers. Attached
    is that log. There are numerous "connection reset by peer" errors in this log, I
    was wondering if a weblogic smart person could give some explanation for this .
    Any assistance would be appreciated.
    Thu Feb 01 11:35:42 PDT 2001:<E> <Posix Performance Pack> Failure in processSockets()
    java.net.SocketException: Connection reset by peer: Connection reset by peer
         at java.net.SocketInputStream.socketRead(Native Method)
         at java.net.SocketInputStream.socketRead(Compiled Code)
         at java.net.SocketInputStream.read(Compiled Code)
         at weblogic.socket.PosixSocketMuxer.processSockets(Compiled Code)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
         at weblogic.kernel.ExecuteThread.run(Compiled Code)
    Thu Feb 01 11:44:33 PDT 2001:<E> <Posix Performance Pack> Failure in processSockets()
    java.net.SocketException: Connection reset by peer: Connection reset by peer
         at java.net.SocketInputStream.socketRead(Native Method)
         at java.net.SocketInputStream.socketRead(Compiled Code)
         at java.net.SocketInputStream.read(Compiled Code)
         at weblogic.socket.PosixSocketMuxer.processSockets(Compiled Code)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
         at weblogic.kernel.ExecuteThread.run(Compiled Code)
    Thu Feb 01 11:44:33 PDT 2001:<E> <Posix Performance Pack> Failure in processSockets()
    java.net.SocketException: Connection reset by peer: Connection reset by peer
         at java.net.SocketInputStream.socketRead(Native Method)
         at java.net.SocketInputStream.socketRead(Compiled Code)
         at java.net.SocketInputStream.read(Compiled Code)
         at weblogic.socket.PosixSocketMuxer.processSockets(Compiled Code)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
         at weblogic.kernel.ExecuteThread.run(Compiled Code)
    Thu Feb 01 13:48:04 PDT 2001:<E> <Posix Performance Pack> Failure in processSockets()
    java.net.SocketException: Connection reset by peer: Connection reset by peer
         at java.net.SocketInputStream.socketRead(Native Method)
         at java.net.SocketInputStream.socketRead(Compiled Code)
         at java.net.SocketInputStream.read(Compiled Code)
         at weblogic.socket.PosixSocketMuxer.processSockets(Compiled Code)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
         at weblogic.kernel.ExecuteThread.run(Compiled Code)
    Thu Feb 01 14:39:21 PDT 2001:<I> <TX> Transaction TxC (30163629, xid = 969404989177_736,
    timeout = 300, txState = Rolledback, root = null rolled back because client is no
    longer alive
    Thu Feb 01 14:42:40 PDT 2001:<I> <EJB JAR deployment /usr/local/weblogic/myserver/serverclasses/SyndicationServerBeans.jar>
    Exception during commit of transaction: '969404989177_736'
    javax.transaction.RollbackException: Transaction TxC (30163629, xid = 969404989177_736,
    timeout = 300, txState = Rolledback, root = null has been rolled back.Reason: Transaction
    rolled back because client disconnected
         at java.lang.Throwable.fillInStackTrace(Native Method)
         at java.lang.Throwable.fillInStackTrace(Compiled Code)
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at javax.transaction.RollbackException.<init>(Compiled Code)
         at weblogic.jts.internal.CoordinatorImpl.throwRollbackException(Compiled Code)
         at weblogic.jts.internal.CoordinatorImpl.commit(Compiled Code)
         at weblogic.jts.internal.TxContext.commit(Compiled Code)
         at weblogic.ejb.internal.StatelessEJBObject.postInvokeOurTx(Compiled Code)
         at weblogic.ejb.internal.BaseEJBObject.postInvoke(Compiled Code)
         at iBeam.iSyndicate.server.ContentDirectoryEJBEOImpl.getPlayList(Compiled Code)
         at iBeam.iSyndicate.server.ContentDirectoryEJBEOImpl_WLSkel.invoke(Compiled Code)
         at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(Compiled Code)
         at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(Compiled Code)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(Compiled Code)
         at weblogic.kernel.ExecuteThread.run(Compiled Code)
    Thu Feb 01 14:42:40 PDT 2001:<E> <ConMan> Attempt to sendMsg using a closed connection
    Thu Feb 01 14:42:40 PDT 2001:<E> <RJVM> Exception on send : weblogic.rmi.ConnectException:
    Attempt to sendMsg using a closed connection
    Thu Feb 01 14:48:10 PDT 2001:<I> <EJB JAR deployment /usr/local/weblogic/myserver/serverclasses/SyndicationServerBeans.jar>
    Transaction: '969404989177_739' rolled back due to EJB exception:
    java.lang.NullPointerException
         at java.lang.String.indexOf(Compiled Code)
         at java.lang.String.indexOf(Compiled Code)
         at iBeam.iSyndicate.server.UserAccountListEJB.findByReferalURL(Compiled Code)
         at iBeam.iSyndicate.server.UserAccountListEJBEOImpl.findByReferalURL(Compiled Code)
         at iBeam.iSyndicate.server.UserAccountListEJBEOImpl_ServiceStub.findByReferalURL(Compiled
    Code)
         at iBeam.iSyndicate.server.SyndicateLinkSessionEJB.getSyndicated(Compiled Code)
         at iBeam.iSyndicate.server.SyndicateLinkSessionEJBEOImpl.getSyndicated(Compiled
    Code)
         at iBeam.iSyndicate.server.SyndicateLinkSessionEJBEOImpl_ServiceStub.getSyndicated(Compiled
    Code)
         at iBeam.iSyndicate.iSynLink.iSyndicateLink.service(Compiled Code)
         at javax.servlet.http.HttpServlet.service(Compiled Code)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)
         at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
         at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
         at weblogic.servlet.internal.ServletContextManager.invokeServlet(Compiled Code)
         at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
         at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
         at weblogic.kernel.ExecuteThread.run(Compiled Code)
    Thu Feb 01 14:56:23 PDT 2001:<W> <ListenThread> Connection rejected: 'Login timed
    out after: '5000' ms on socket: 'Socket[addr=208.185.136.127/208.185.136.127,port=3483,localport=7001]''
    Thu Feb 01 14:56:23 PDT 2001:<W> <ListenThread> Connection rejected: 'Login timed
    out after: '5000' ms on socket: 'Socket[addr=208.185.136.127/208.185.136.127,port=3484,localport=7001]''
    Thu Feb 01 14:56:33 PDT 2001:<W> <ListenThread> Connection rejected: 'Login timed
    out after: '5000' ms on socket: 'Socket[addr=208.185.136.127/208.185.136.127,port=3485,localport=7001]''
    Thu Feb 01 14:56:33 PDT 2001:<W> <ListenThread> Connection rejected: 'Login timed
    out after: '5000' ms on socket: 'Socket[addr=208.185.136.127/208.185.136.127,port=3486,localport=7001]''
    Thu Feb 01 14:57:34 PDT 2001:<E> <Posix Performance Pack> Failure in processSockets()
    java.net.SocketException: Connection reset by peer: Connection reset by peer
         at java.net.SocketInputStream.socketRead(Native Method)
         at java.net.SocketInputStream.socketRead(Compiled Code)
         at java.net.SocketInputStream.read(Compiled Code)
         at weblogic.socket.PosixSocketMuxer.processSockets(Compiled Code)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
         at weblogic.kernel.ExecuteThread.run(Compiled Code)
    Fri Sep 22 12:11:40 PDT 2001:<I> <TX> Transaction TxC (22541288, xid = 969404989177_1317,
    timeout = 300, txState = Rolledback, root = null rolled back because client is no
    longer alive
    Fri Sep 22 12:11:58 PDT 2001:<W> <ListenThread> Connection rejected: 'Login timed
    out after: '5000' ms on socket: 'Socket[addr=208.185.136.93/208.185.136.93,port=4922,localport=7001]''
    Fri Sep 22 12:11:59 PDT 2001:<W> <ListenThread> Connection rejected: 'Login timed
    out after: '5000' ms on socket: 'Socket[addr=208.185.136.93/208.185.136.93,port=4923,localport=7001]''
    Fri Sep 22 12:12:16 PDT 2001:<W> <ListenThread> Connection rejected: 'Login timed
    out after: '5000' ms on socket: 'Socket[addr=208.185.136.93/208.185.136.93,port=4924,localport=7001]''
    Fri Sep 22 12:12:17 PDT 2001:<W> <ListenThread> Connection rejected: 'Login timed
    out after: '5000' ms on socket: 'Socket[addr=208.185.136.93/208.185.136.93,port=4925,localport=7001]''
    Fri Sep 22 12:15:03 PDT 2001:<I> <EJB JAR deployment /usr/local/weblogic/myserver/serverclasses/SyndicationServerBeans.jar>
    Exception during commit of transaction: '969404989177_1317'
    javax.transaction.RollbackException: Transaction TxC (22541288, xid = 969404989177_1317,
    timeout = 300, txState = Rolledback, root = null has been rolled back.Reason: Transaction
    rolled back because client disconnected
         at java.lang.Throwable.fillInStackTrace(Native Method)
         at java.lang.Throwable.fillInStackTrace(Compiled Code)
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at javax.transaction.RollbackException.<init>(Compiled Code)
         at weblogic.jts.internal.CoordinatorImpl.throwRollbackException(Compiled Code)
         at weblogic.jts.internal.CoordinatorImpl.commit(Compiled Code)
         at weblogic.jts.internal.TxContext.commit(Compiled Code)
         at weblogic.ejb.internal.StatelessEJBObject.postInvokeOurTx(Compiled Code)
         at weblogic.ejb.internal.BaseEJBObject.postInvoke(Compiled Code)
         at iBeam.iSyndicate.server.ContentDirectoryEJBEOImpl.getDirectoryList(Compiled Code)
         at iBeam.iSyndicate.server.ContentDirectoryEJBEOImpl_WLSkel.invoke(Compiled Code)
         at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(Compiled Code)
         at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(Compiled Code)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(Compiled Code)
         at weblogic.kernel.ExecuteThread.run(Compiled Code)
    .. Krishna

    This is innocuous. You can ignore it.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems
    Learning WebLogic? http://learnweblogic.com
    "krishna" <[email protected]> wrote in message
    news:[email protected]...
    >
    hi
    I have been reviewing the weblogic logs on one of the apps servers.Attached
    is that log. There are numerous "connection reset by peer" errors in thislog, I
    was wondering if a weblogic smart person could give some explanation forthis .
    Any assistance would be appreciated.
    Thu Feb 01 11:35:42 PDT 2001:<E> <Posix Performance Pack> Failure inprocessSockets()
    java.net.SocketException: Connection reset by peer: Connection reset bypeer
    at java.net.SocketInputStream.socketRead(Native Method)
    at java.net.SocketInputStream.socketRead(Compiled Code)
    at java.net.SocketInputStream.read(Compiled Code)
    at weblogic.socket.PosixSocketMuxer.processSockets(Compiled Code)
    atweblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)
    Thu Feb 01 11:44:33 PDT 2001:<E> <Posix Performance Pack> Failure inprocessSockets()
    java.net.SocketException: Connection reset by peer: Connection reset bypeer
    at java.net.SocketInputStream.socketRead(Native Method)
    at java.net.SocketInputStream.socketRead(Compiled Code)
    at java.net.SocketInputStream.read(Compiled Code)
    at weblogic.socket.PosixSocketMuxer.processSockets(Compiled Code)
    atweblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)
    Thu Feb 01 11:44:33 PDT 2001:<E> <Posix Performance Pack> Failure inprocessSockets()
    java.net.SocketException: Connection reset by peer: Connection reset bypeer
    at java.net.SocketInputStream.socketRead(Native Method)
    at java.net.SocketInputStream.socketRead(Compiled Code)
    at java.net.SocketInputStream.read(Compiled Code)
    at weblogic.socket.PosixSocketMuxer.processSockets(Compiled Code)
    atweblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)
    Thu Feb 01 13:48:04 PDT 2001:<E> <Posix Performance Pack> Failure inprocessSockets()
    java.net.SocketException: Connection reset by peer: Connection reset bypeer
    at java.net.SocketInputStream.socketRead(Native Method)
    at java.net.SocketInputStream.socketRead(Compiled Code)
    at java.net.SocketInputStream.read(Compiled Code)
    at weblogic.socket.PosixSocketMuxer.processSockets(Compiled Code)
    atweblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)
    Thu Feb 01 14:39:21 PDT 2001:<I> <TX> Transaction TxC (30163629, xid =969404989177_736,
    timeout = 300, txState = Rolledback, root = null rolled back becauseclient is no
    longer alive
    Thu Feb 01 14:42:40 PDT 2001:<I> <EJB JAR deployment/usr/local/weblogic/myserver/serverclasses/SyndicationServerBeans.jar>
    Exception during commit of transaction: '969404989177_736'
    javax.transaction.RollbackException: Transaction TxC (30163629, xid =969404989177_736,
    timeout = 300, txState = Rolledback, root = null has been rolledback.Reason: Transaction
    rolled back because client disconnected
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at javax.transaction.RollbackException.<init>(Compiled Code)
    at weblogic.jts.internal.CoordinatorImpl.throwRollbackException(CompiledCode)
    at weblogic.jts.internal.CoordinatorImpl.commit(Compiled Code)
    at weblogic.jts.internal.TxContext.commit(Compiled Code)
    at weblogic.ejb.internal.StatelessEJBObject.postInvokeOurTx(Compiled Code)
    at weblogic.ejb.internal.BaseEJBObject.postInvoke(Compiled Code)
    at iBeam.iSyndicate.server.ContentDirectoryEJBEOImpl.getPlayList(CompiledCode)
    atiBeam.iSyndicate.server.ContentDirectoryEJBEOImpl_WLSkel.invoke(Compiled
    Code)
    at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(Compiled Code)
    at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(CompiledCode)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(Compiled Code)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)
    Thu Feb 01 14:42:40 PDT 2001:<E> <ConMan> Attempt to sendMsg using aclosed connection
    Thu Feb 01 14:42:40 PDT 2001:<E> <RJVM> Exception on send :weblogic.rmi.ConnectException:
    Attempt to sendMsg using a closed connection
    Thu Feb 01 14:48:10 PDT 2001:<I> <EJB JAR deployment/usr/local/weblogic/myserver/serverclasses/SyndicationServerBeans.jar>
    Transaction: '969404989177_739' rolled back due to EJB exception:
    java.lang.NullPointerException
    at java.lang.String.indexOf(Compiled Code)
    at java.lang.String.indexOf(Compiled Code)
    at iBeam.iSyndicate.server.UserAccountListEJB.findByReferalURL(CompiledCode)
    atiBeam.iSyndicate.server.UserAccountListEJBEOImpl.findByReferalURL(Compiled
    Code)
    atiBeam.iSyndicate.server.UserAccountListEJBEOImpl_ServiceStub.findByReferalUR
    L(Compiled
    Code)
    at iBeam.iSyndicate.server.SyndicateLinkSessionEJB.getSyndicated(CompiledCode)
    atiBeam.iSyndicate.server.SyndicateLinkSessionEJBEOImpl.getSyndicated(Compiled
    Code)
    atiBeam.iSyndicate.server.SyndicateLinkSessionEJBEOImpl_ServiceStub.getSyndica
    ted(Compiled
    Code)
    at iBeam.iSyndicate.iSynLink.iSyndicateLink.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(CompiledCode)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(CompiledCode)
    at weblogic.servlet.internal.ServletContextManager.invokeServlet(CompiledCode)
    at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)
    Thu Feb 01 14:56:23 PDT 2001:<W> <ListenThread> Connection rejected:'Login timed
    out after: '5000' ms on socket:'Socket[addr=208.185.136.127/208.185.136.127,port=3483,localport=7001]''
    Thu Feb 01 14:56:23 PDT 2001:<W> <ListenThread> Connection rejected:'Login timed
    out after: '5000' ms on socket:'Socket[addr=208.185.136.127/208.185.136.127,port=3484,localport=7001]''
    Thu Feb 01 14:56:33 PDT 2001:<W> <ListenThread> Connection rejected:'Login timed
    out after: '5000' ms on socket:'Socket[addr=208.185.136.127/208.185.136.127,port=3485,localport=7001]''
    Thu Feb 01 14:56:33 PDT 2001:<W> <ListenThread> Connection rejected:'Login timed
    out after: '5000' ms on socket:'Socket[addr=208.185.136.127/208.185.136.127,port=3486,localport=7001]''
    Thu Feb 01 14:57:34 PDT 2001:<E> <Posix Performance Pack> Failure inprocessSockets()
    java.net.SocketException: Connection reset by peer: Connection reset bypeer
    at java.net.SocketInputStream.socketRead(Native Method)
    at java.net.SocketInputStream.socketRead(Compiled Code)
    at java.net.SocketInputStream.read(Compiled Code)
    at weblogic.socket.PosixSocketMuxer.processSockets(Compiled Code)
    atweblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)
    Fri Sep 22 12:11:40 PDT 2001:<I> <TX> Transaction TxC (22541288, xid =969404989177_1317,
    timeout = 300, txState = Rolledback, root = null rolled back becauseclient is no
    longer alive
    Fri Sep 22 12:11:58 PDT 2001:<W> <ListenThread> Connection rejected:'Login timed
    out after: '5000' ms on socket:'Socket[addr=208.185.136.93/208.185.136.93,port=4922,localport=7001]''
    Fri Sep 22 12:11:59 PDT 2001:<W> <ListenThread> Connection rejected:'Login timed
    out after: '5000' ms on socket:'Socket[addr=208.185.136.93/208.185.136.93,port=4923,localport=7001]''
    Fri Sep 22 12:12:16 PDT 2001:<W> <ListenThread> Connection rejected:'Login timed
    out after: '5000' ms on socket:'Socket[addr=208.185.136.93/208.185.136.93,port=4924,localport=7001]''
    Fri Sep 22 12:12:17 PDT 2001:<W> <ListenThread> Connection rejected:'Login timed
    out after: '5000' ms on socket:'Socket[addr=208.185.136.93/208.185.136.93,port=4925,localport=7001]''
    Fri Sep 22 12:15:03 PDT 2001:<I> <EJB JAR deployment/usr/local/weblogic/myserver/serverclasses/SyndicationServerBeans.jar>
    Exception during commit of transaction: '969404989177_1317'
    javax.transaction.RollbackException: Transaction TxC (22541288, xid =969404989177_1317,
    timeout = 300, txState = Rolledback, root = null has been rolledback.Reason: Transaction
    rolled back because client disconnected
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at javax.transaction.RollbackException.<init>(Compiled Code)
    at weblogic.jts.internal.CoordinatorImpl.throwRollbackException(CompiledCode)
    at weblogic.jts.internal.CoordinatorImpl.commit(Compiled Code)
    at weblogic.jts.internal.TxContext.commit(Compiled Code)
    at weblogic.ejb.internal.StatelessEJBObject.postInvokeOurTx(Compiled Code)
    at weblogic.ejb.internal.BaseEJBObject.postInvoke(Compiled Code)
    atiBeam.iSyndicate.server.ContentDirectoryEJBEOImpl.getDirectoryList(Compiled
    Code)
    atiBeam.iSyndicate.server.ContentDirectoryEJBEOImpl_WLSkel.invoke(Compiled
    Code)
    at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(Compiled Code)
    at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(CompiledCode)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(Compiled Code)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)
    .. Krishna

  • Java.io.IOException: Connection reset by peer

    Hi,
    I'm writing a web app that has to encode jpeg to return pictures in servlet response. It seems to work fine under tomcat web server, but it crashes under iplanet when a client posts a lot of requests in a very short time : when I try to write in the ServletOutputStream, I get the following exception, and then it seems that my iplanet server doesn't handle such a case ? Any idea ?
    Thanks in advance,
    Sebastien
    java.io.IOException: Connection reset by peer
    at
    com.iplanet.server.http.servlet.NSServletSession.write(NSServletSession.java:165)
    at
    com.iplanet.server.http.servlet.NSServletOutputStream.write(NSServletOutputStream.java:252)
    at
    com.iplanet.server.http.servlet.NSServletOutputStream.write(NSServletOutputStream.java:292)
    at
    ...

    More details :
    I try to increase load by submitting lot of requests (from a single client), causing many of these requests to be aborted (I assume), so when I try to prepare the response (server side), I catch a IOException : connection reset by peer. Simultaneously, I can see in Iplanet's error logs the following snippet :
    [11/May/2004:19:04:55] failure (12789): Error accepting connection
    -5928, oserr=130 (Connect aborted) [11/May/2004:19:05:09] failure
    (12789): Error accepting connection -5928, oserr=130 (Connect aborted)
    [11/May/2004:19:05:12] failure (12789): Error accepting connection
    -5928, oserr=130 (Connect aborted)
    Any idea ?
    Sebastien

  • Conecting to mysql database Connection reset by peer

    hi guys,
    I have to connec to sever where , from this place i need to contact a remote database , the databse is behind a firewall , they database in their intranet ,they have give me a valid ip , they have a conection between the valid ip and the intranet system , they give me access to the port in the fire wall , i asked for the port 3306 (mysql default ) port , and tried connecting it but i get exception, should i need to get the 80 port for connection??? please help
    java.sql.SQLException: Communication link failure: java.net.SocketException, underlying cause: Connection reset by peer: Connection reset by peer ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: Connection reset by peer: Connection reset by peer STACKTRACE: java.net.SocketException: Connection reset by peer: Connection reset by peer at java.net.SocketInputStream.socketRead(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:86) at java.io.BufferedInputStream.fill(BufferedInputStream.java:186) at java.io.BufferedInputStream.read1(BufferedInputStream.java:225) at java.io.BufferedInputStream.read(BufferedInputStream.java:280) at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1391) at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:1413) at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:625) at com.mysql.jdbc.Connection.createNewIO(Connection.java:1782) at com.mysql.jdbc.Connection.(Connection.java:450) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:411) at java.sql.DriverManager.getConnection(DriverManager.java:517) at java.sql.DriverManager.getConnection(DriverManager.java:199) at org.apache.jsp.store$jsp._jspService(store$jsp.java:107) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java: 201) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.jav a:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:17 4) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458) at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551) at java.lang.Thread.run(Thread.java:484) ** END NESTED EXCEPTION **

    yeahman i feel the same, but i need to prove them they need to do some work , for that i should show thm its not my problem , can u tell me how the jdbc connector works,or any other way telling them , the port not opened still , how will the server pass the request to the database , some one please help me

Maybe you are looking for

  • Windows vista error 1910

    im running windows vista(i know P.O.S.) but i cannot get itunes to stay running it is a new problem i just incountered, it says windows detected a problem checking for solution, finds nothing and kicks out of itunes,  im getting a error 1910 short cu

  • Not able to download or access account info

    Hi, For the past few days I have not been able to download songs from iTunes.  Furthermore, it seems that I cannot access my account information either, despite the fact that iTunes shows me as being logged in and displays my $$ balance.  When I sele

  • G4 internet problems after upgrading to 10.4.11 Tiger

    I have recently upgraded my G4 to OS X 10.4.11, and I'm not sure if this is now causing my internet to not work correctly. I have a third party wireless card, always worked fine, but now the IP address seems to randomly change whenever I turn/restart

  • Copying a Payment method to another not working.

    Hi guys, I want to copy the payment method check C to a different one. I copied and did all the config steps in FBZP. But When i run the payment run using payment method C, it is working. But it is giving me error when i am using the copied payment m

  • Vertical Scroll in stacked canvas

    Dear all, I got the following challange: On my form I have 1 content and 1 stacked canvas. Items are from 1 datablock. 1 item is displayed on content canvas, the other items from the datablock are on the stacked canvas. Items are displayed in multiro