I'm using Hibernate, Spring, JBOSS and Microsoft SQL Server 2008 R2. At seemingly random times I get an error
ERROR [http-0.0.0.0-8080-7] org.hibernate.util.JDBCExceptionReporter [JDBCExceptionReporter.java:101] Connection reset by peer: socket write error 2013-05-20 14:43:51,171 ERROR [http-0.0.0.0-8080-7] org.hibernate.transaction.JDBCTransaction [JDBCTransaction.java:202] JDBC rollback failed com.microsoft.sqlserver.jdbc.SQLServerException: The connection is closed. at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:170) ~[sqljdbc4.jar!/:na] at com.microsoft.sqlserver.jdbc.SQLServerConnection.checkClosed(SQLServerConnection.java:304) ~[sqljdbc4.jar!/:na] at com.microsoft.sqlserver.jdbc.SQLServerConnection.setAutoCommit(SQLServerConnection.java:1592) ~[sqljdbc4.jar!/:na] at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkTransaction(BaseWrapperManagedConnection.java:545) at org.jboss.resource.adapter.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:826) at org.jboss.resource.adapter.jdbc.WrappedConnection.rollback(WrappedConnection.java:499) ~ at org.hibernate.transaction.JDBCTransaction.rollbackAndResetAutoCommit(JDBCTransaction.java:217) ~[hibernate3.jar:3.5.4-Final] at org.hibernate.transaction.JDBCTransaction.rollback(JDBCTransaction.java:196) ~[hibernate3.jar:3.5.4-Final] at com.wideplay.warp.persist.hibernate.HibernateLocalTxnInterceptor.rollbackIfNecessary(HibernateLocalTxnInterceptor.java:149) at com.wideplay.warp.persist.hibernate.HibernateLocalTxnInterceptor.invoke(HibernateLocalTxnInterceptor.java:72) [warp-persist-2.0-20090214.jar:na] at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:72) [guice-3.0.jar:na] at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:52) [guice-3.0.jar:na] at com.MyClassA$$EnhancerByGuice$$6f61ba26.getDefaultSettings(<generated>) [guice-3.0.jar:na] at com.MyClassB.getDefaultSettings(MyClassB.java:155) [classes:na] at com.MyClassBImpl.getDefaultSettings(MyClassBImpl.java:106) [classes:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_24] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_24] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_24] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_24] at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:246) [webservices-rt.jar:1.0] at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146) [webservices-rt.jar:1.0] at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257) [webservices-rt.jar:1.0] at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:95) [webservices-rt.jar:1.0] at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629) [webservices-rt.jar:1.0] at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) [webservices-rt.jar:1.0] at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) [webservices-rt.jar:1.0] at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) [webservices-rt.jar:1.0] at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:295) [webservices-rt.jar:1.0] at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:519) [webservices-rt.jar:1.0] at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:288) [webservices-rt.jar:1.0] at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143) [webservices-rt.jar:1.0] at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155) [webservices-rt.jar:1.0] at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189) [webservices-rt.jar:1.0] at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76) [webservices-rt.jar:1.0] at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:662)
working on this since last two weeks, couldn't figure out the root cause. Any help would really be appreciated.
|