1 Reply Latest reply on Jul 7, 2016 2:47 AM by Wolf-Dieter Fink

    JBoss 6.3 WebService stops responding requests

    Jose David Perez Rodas Newbie

      I have a Java EJB Web Service running on JBoss EAP 6.3.0, I invoke the Web Service from .Net Application, the Web Services responds after a few requests, then the JBoss Log throws an exception and the Client Application shows a timeout. Here is the exception in the JBoss Log:

       

      12:38:13,694 INFO  [stdout] (http-/0.0.0.0:8080-1) LIMITE DE LA CUENTAS QUE ESTAMOS EVALUANDO5110.000195626363

      12:38:13,694 INFO  [stdout] (http-/0.0.0.0:8080-1) CALIFICACION Credito calcula iniciativa tasa diferenciadaA

      12:38:13,694 INFO  [stdout] (http-/0.0.0.0:8080-1) GRUPO_MULTICANAL =NO APLICA

      12:38:13,694 INFO  [stdout] (http-/0.0.0.0:8080-1) OPCION2 =0

      12:38:13,694 INFO  [stdout] (http-/0.0.0.0:8080-1) Tasa Inicio AM 0.0

      12:38:13,710 INFO  [stdout] (http-/0.0.0.0:8080-1) EVALUACION DEL ULTIMO DIGITO6

      12:38:13,710 INFO  [stdout] (http-/0.0.0.0:8080-1) LIMITE DE LA CUENTAS QUE ESTAMOS EVALUANDO5110.000195626363

      12:38:13,789 WARNING [org.apache.cxf.phase.PhaseInterceptorChain] (http-/0.0.0.0:8080-1) Interceptor for {http://webservices.alcance.com.hn/}RuleServiceDefinitionWSAlcanceBeanService#{http://webservices.alcance.com.hn/}ePVariosSolicitantesConcat has thrown exception, unwinding now: org.apache.cxf.interceptor.Fault: Marshalling Error: null

        at org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:265)

        at org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:221)

        at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:114)

        at org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)

        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)

        at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:81)

        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)

        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)

        at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:241)

        at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:97)

        at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:131)

        at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:88)

        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)

        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:206)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]

        at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:136)

        at org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140) [jbossws-spi-2.3.0.Final-redhat-1.jar:2.3.0.Final-redhat-1]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)

        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)

        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_80]

      Caused by: javax.xml.bind.MarshalException

      - with linked exception:

      [ClientAbortException:  java.net.SocketException: Connection reset by peer: socket write error]

        at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:328)

        at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:251)

        at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:74) [jboss-jaxb-api_2.2_spec-1.0.4.Final-redhat-2.jar:1.0.4.Final-redhat-2]

        at org.apache.cxf.jaxb.JAXBEncoderDecoder.writeObject(JAXBEncoderDecoder.java:612)

        at org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:240)

        ... 30 more

      Caused by: ClientAbortException:  java.net.SocketException: Connection reset by peer: socket write error

        at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:426)

        at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:356)

        at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:449)

        at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:438)

        at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:90)

        at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:51)

        at com.sun.xml.bind.v2.runtime.output.UTF8XmlOutput.write(UTF8XmlOutput.java:412)

        at com.sun.xml.bind.v2.runtime.output.Encoded.write(Encoded.java:167)

        at com.sun.xml.bind.v2.runtime.output.UTF8XmlOutput.doText(UTF8XmlOutput.java:323)

        at com.sun.xml.bind.v2.runtime.output.UTF8XmlOutput.text(UTF8XmlOutput.java:305)

        at com.sun.xml.bind.v2.runtime.XMLSerializer.leafElement(XMLSerializer.java:328)

        at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$StringImplImpl.writeLeafElement(RuntimeBuiltinLeafInfoImpl.java:1052)

        at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$StringImplImpl.writeLeafElement(RuntimeBuiltinLeafInfoImpl.java:1031)

        at com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor$CompositeTransducedAccessorImpl.writeLeafElement(TransducedAccessor.java:256)

        at com.sun.xml.bind.v2.runtime.property.SingleElementLeafProperty.serializeBody(SingleElementLeafProperty.java:129)

        at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:358)

        at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:696)

        at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:156)

        at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:131)

        at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeBody(ElementBeanInfoImpl.java:333)

        at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:340)

        at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:76)

        at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:494)

        at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:323)

        ... 34 more

      Caused by: java.net.SocketException: Connection reset by peer: socket write error

        at java.net.SocketOutputStream.socketWrite0(Native Method) [rt.jar:1.7.0_80]

        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113) [rt.jar:1.7.0_80]

        at java.net.SocketOutputStream.write(SocketOutputStream.java:159) [rt.jar:1.7.0_80]

        at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:706)

        at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:450)

        at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:351)

        at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:730)

        at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:126)

        at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:543)

        at org.apache.coyote.Response.doWrite(Response.java:594)

        at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:421)

        ... 57 more

       

      Then the JBoss keeps throwing timeout to any request, just in the moment I restart the Windows service, I can get some other requests, and then the same exception is thrown. I've changed all the timeouts on the standalone.xml file but doesn't work.