cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: JBoss & CXF Problem
Date Mon, 14 Apr 2008 18:15:51 GMT


Ick... Looking into the wsdl4j code, writing out a wsdl Definition isn't 
threadsafe.   Writing out a wsdl can cause modifications to the 
Definition.  Didn't know that that and quite a bit unexpected.  We'll 
need to add a synchronize block around the WSDLWriter.getDocument call.

Dan


On Monday 14 April 2008, jm1468 wrote:
> So i installed 2.0.6 snapshot and now get this stack trace:
>
> org.apache.cxf.transport.http.WSDLQueryException: Exception occurred
> while trying to process
> http://localhost:8080/PafServer/PafService?wsdl at
> org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQuery
>Handler.java:227) at
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletContr
>oller.java:137) at
> org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXF
>Servlet.java:170) at
> org.apache.cxf.transport.servlet.AbstractCXFServlet.doGet(AbstractCXFS
>ervlet.java:152) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>cationFilterChain.java:290) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>lterChain.java:206) at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFil
>ter.java:96) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>cationFilterChain.java:235) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>lterChain.java:206) at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
>lve.java:230) at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
>lve.java:175) at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Security
>AssociationValve.java:179) at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve
>.java:84) at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
>va:127) at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
>va:102) at
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedCo
>nnectionValve.java:157) at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
>e.java:109) at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
>:262) at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
>844) at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
>s(Http11Protocol.java:583) at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446
>) at java.lang.Thread.run(Thread.java:595)
> Caused by: java.util.ConcurrentModificationException
> 	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:787)
> 	at java.util.HashMap$EntryIterator.next(HashMap.java:829)
> 	at java.util.HashMap$EntryIterator.next(HashMap.java:827)
> 	at com.ibm.wsdl.DefinitionImpl.getPrefix(Unknown Source)
> 	at com.ibm.wsdl.xml.WSDLWriterImpl.printDefinition(Unknown Source)
> 	at com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(Unknown Source)
> 	at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
> 	at
> org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQuery
>Handler.java:162) ... 23 more
> 12:13:19,088 ERROR [[CXFServlet]] Servlet.service() for servlet
> CXFServlet threw exception
> java.util.ConcurrentModificationException
> 	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:787)
> 	at java.util.HashMap$EntryIterator.next(HashMap.java:829)
> 	at java.util.HashMap$EntryIterator.next(HashMap.java:827)
> 	at com.ibm.wsdl.DefinitionImpl.getPrefix(Unknown Source)
> 	at com.ibm.wsdl.xml.WSDLWriterImpl.printDefinition(Unknown Source)
> 	at com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(Unknown Source)
> 	at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
> 	at
> org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQuery
>Handler.java:162) at
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletContr
>oller.java:137) at
> org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXF
>Servlet.java:170) at
> org.apache.cxf.transport.servlet.AbstractCXFServlet.doGet(AbstractCXFS
>ervlet.java:152) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>cationFilterChain.java:290) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>lterChain.java:206) at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFil
>ter.java:96) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>cationFilterChain.java:235) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>lterChain.java:206) at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
>lve.java:230) at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
>lve.java:175) at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Security
>AssociationValve.java:179) at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve
>.java:84) at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
>va:127) at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
>va:102) at
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedCo
>nnectionValve.java:157) at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
>e.java:109) at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
>:262) at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
>844) at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
>s(Http11Protocol.java:583) at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446
>) at java.lang.Thread.run(Thread.java:595)
> 12:13:19,620 ERROR [STDERR] Apr 14, 2008 12:13:19 PM
> org.apache.cxf.transport.servlet.ServletController invoke
> WARNING: org.apache.cxf.transport.http.WSDLQueryHandler Exception
> caught writing response.
> org.apache.cxf.transport.http.WSDLQueryException: Exception occurred
> while trying to process
> http://localhost:8080/PafServer/PafService?wsdl at
> org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQuery
>Handler.java:227) at
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletContr
>oller.java:137) at
> org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXF
>Servlet.java:170) at
> org.apache.cxf.transport.servlet.AbstractCXFServlet.doGet(AbstractCXFS
>ervlet.java:152) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>cationFilterChain.java:290) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>lterChain.java:206) at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFil
>ter.java:96) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>cationFilterChain.java:235) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>lterChain.java:206) at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
>lve.java:230) at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
>lve.java:175) at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Security
>AssociationValve.java:179) at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve
>.java:84) at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
>va:127) at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
>va:102) at
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedCo
>nnectionValve.java:157) at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
>e.java:109) at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
>:262) at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
>844) at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
>s(Http11Protocol.java:583) at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446
>) at java.lang.Thread.run(Thread.java:595)
> Caused by: com.ctc.wstx.exc.WstxIOException: null
> 	at
> com.ctc.wstx.sw.BaseNsStreamWriter.doWriteStartTag(BaseNsStreamWriter.
>java:579) at
> com.ctc.wstx.sw.SimpleNsStreamWriter.writeStartOrEmpty(SimpleNsStreamW
>riter.java:273) at
> com.ctc.wstx.sw.BaseNsStreamWriter.writeStartElement(BaseNsStreamWrite
>r.java:319) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:487) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:440) at
> org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:547) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:536) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:440) at
> org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:547) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:536) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:440) at
> org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:547) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:536) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:440) at
> org.apache.cxf.staxutils.StaxUtils.writeDocument(StaxUtils.java:421)
> at
> org.apache.cxf.staxutils.StaxUtils.writeDocument(StaxUtils.java:411)
> at org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:560) at
> org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQuery
>Handler.java:224) ... 23 more
> Caused by: ClientAbortException:  java.net.SocketException: Software
> caused connection abort: socket write error
> 	at
> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer
>.java:358) at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
> at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349) at
> org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.jav
>a:381) at
> org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370
>) at
> org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStr
>eam.java:89) at com.ctc.wstx.io.UTF8Writer.write(UTF8Writer.java:139)
> 	at
> com.ctc.wstx.sw.BufferingXmlWriter.flushBuffer(BufferingXmlWriter.java
>:1103) at
> com.ctc.wstx.sw.BufferingXmlWriter.fastWriteRaw(BufferingXmlWriter.jav
>a:1149) at
> com.ctc.wstx.sw.BufferingXmlWriter.writeStartTagStart(BufferingXmlWrit
>er.java:727) at
> com.ctc.wstx.sw.BaseNsStreamWriter.doWriteStartTag(BaseNsStreamWriter.
>java:574) ... 40 more
> Caused by: java.net.SocketException: Software caused connection abort:
> socket write error
> 	at java.net.SocketOutputStream.socketWrite0(Native Method)
> 	at
> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at
> java.net.SocketOutputStream.write(SocketOutputStream.java:136) at
> org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalO
>utputBuffer.java:737) at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
> at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349) at
> org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer
>.doWrite(InternalOutputBuffer.java:761) at
> org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOu
>tputFilter.java:126) at
> org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBu
>ffer.java:570) at org.apache.coyote.Response.doWrite(Response.java:560)
> 	at
> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer
>.java:353) ... 50 more
> Apr 14, 2008 12:13:19 PM
> org.apache.cxf.transport.servlet.ServletController invoke
> WARNING: org.apache.cxf.transport.http.WSDLQueryHandler Exception
> caught writing response.
> org.apache.cxf.transport.http.WSDLQueryException: Exception occurred
> while trying to process
> http://localhost:8080/PafServer/PafService?wsdl at
> org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQuery
>Handler.java:227) at
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletContr
>oller.java:137) at
> org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXF
>Servlet.java:170) at
> org.apache.cxf.transport.servlet.AbstractCXFServlet.doGet(AbstractCXFS
>ervlet.java:152) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>cationFilterChain.java:290) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>lterChain.java:206) at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFil
>ter.java:96) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>cationFilterChain.java:235) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>lterChain.java:206) at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
>lve.java:230) at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
>lve.java:175) at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Security
>AssociationValve.java:179) at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve
>.java:84) at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
>va:127) at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
>va:102) at
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedCo
>nnectionValve.java:157) at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
>e.java:109) at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
>:262) at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
>844) at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
>s(Http11Protocol.java:583) at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446
>) a
> 12:13:19,620 ERROR [STDERR] t java.lang.Thread.run(Thread.java:595)
> Caused by: com.ctc.wstx.exc.WstxIOException: null
> 	at
> com.ctc.wstx.sw.BaseNsStreamWriter.doWriteStartTag(BaseNsStreamWriter.
>java:579) at
> com.ctc.wstx.sw.SimpleNsStreamWriter.writeStartOrEmpty(SimpleNsStreamW
>riter.java:273) at
> com.ctc.wstx.sw.BaseNsStreamWriter.writeStartElement(BaseNsStreamWrite
>r.java:319) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:487) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:440) at
> org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:547) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:536) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:440) at
> org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:547) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:536) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:440) at
> org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:547) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:536) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:440) at
> org.apache.cxf.staxutils.StaxUtils.writeDocument(StaxUtils.java:421)
> at
> org.apache.cxf.staxutils.StaxUtils.writeDocument(StaxUtils.java:411)
> at org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:560) at
> org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQuery
>Handler.java:224) ... 23 more
> Caused by: ClientAbortException:  java.net.SocketException: Software
> caused connection abort: socket write error
> 	at
> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer
>.java:358) at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
> at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349) at
> org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.jav
>a:381) at
> org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370
>) at
> org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStr
>eam.java:89) at com.ctc.wstx.io.UTF8Writer.write(UTF8Writer.java:139)
> 	at
> com.ctc.wstx.sw.BufferingXmlWriter.flushBuffer(BufferingXmlWriter.java
>:1103) at
> com.ctc.wstx.sw.BufferingXmlWriter.fastWriteRaw(BufferingXmlWriter.jav
>a:1149) at
> com.ctc.wstx.sw.BufferingXmlWriter.writeStartTagStart(BufferingXmlWrit
>er.java:727) at
> com.ctc.wstx.sw.BaseNsStreamWriter.doWriteStartTag(BaseNsStreamWriter.
>java:574) ... 40 more
> Caused by: java.net.SocketException: Software caused connection abort:
> socket write error
> 	at java.net.SocketOutputStream.socketWrite0(Native Method)
> 	at
> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at
> java.net.SocketOutputStream.write(SocketOutputStream.java:136) at
> org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalO
>utputBuffer.java:737) at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
> at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349) at
> org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer
>.doWrite(InternalOutputBuffer.java:761) at
> org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOu
>tputFilter.java:126) at
> org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBu
>ffer.java:570) at org.apache.coyote.Response.doWrite(Response.java:560)
> 	at
> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer
>.java:353) ... 50 more
> 12:13:19,636 ERROR [[CXFServlet]] Servlet.service() for servlet
> CXFServlet threw exception
> java.net.SocketException: Software caused connection abort: socket
> write error
> 	at java.net.SocketOutputStream.socketWrite0(Native Method)
> 	at
> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at
> java.net.SocketOutputStream.write(SocketOutputStream.java:136) at
> org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalO
>utputBuffer.java:737) at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
> at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349) at
> org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer
>.doWrite(InternalOutputBuffer.java:761) at
> org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOu
>tputFilter.java:126) at
> org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBu
>ffer.java:570) at org.apache.coyote.Response.doWrite(Response.java:560)
> 	at
> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer
>.java:353) at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
> at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349) at
> org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.jav
>a:381) at
> org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370
>) at
> org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStr
>eam.java:89) at com.ctc.wstx.io.UTF8Writer.write(UTF8Writer.java:139)
> 	at
> com.ctc.wstx.sw.BufferingXmlWriter.flushBuffer(BufferingXmlWriter.java
>:1103) at
> com.ctc.wstx.sw.BufferingXmlWriter.fastWriteRaw(BufferingXmlWriter.jav
>a:1149) at
> com.ctc.wstx.sw.BufferingXmlWriter.writeStartTagStart(BufferingXmlWrit
>er.java:727) at
> com.ctc.wstx.sw.BaseNsStreamWriter.doWriteStartTag(BaseNsStreamWriter.
>java:574) at
> com.ctc.wstx.sw.SimpleNsStreamWriter.writeStartOrEmpty(SimpleNsStreamW
>riter.java:273) at
> com.ctc.wstx.sw.BaseNsStreamWriter.writeStartElement(BaseNsStreamWrite
>r.java:319) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:487) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:440) at
> org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:547) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:536) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:440) at
> org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:547) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:536) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:440) at
> org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:547) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:536) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:440) at
> org.apache.cxf.staxutils.StaxUtils.writeDocument(StaxUtils.java:421)
> at
> org.apache.cxf.staxutils.StaxUtils.writeDocument(StaxUtils.java:411)
> at org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:560) at
> org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQuery
>Handler.java:224) at
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletContr
>oller.java:137) at
> org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXF
>Servlet.java:170) at
> org.apache.cxf.transport.servlet.AbstractCXFServlet.doGet(AbstractCXFS
>ervlet.java:152) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>cationFilterChain.java:290) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>lterChain.java:206) at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFil
>ter.java:96) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>cationFilterChain.java:235) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>lterChain.java:206) at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
>lve.java:230) at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
>lve.java:175) at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Security
>AssociationValve.java:179) at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve
>.java:84) at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
>va:127) at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
>va:102) at
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedCo
>nnectionValve.java:157) at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
>e.java:109) at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
>:262) at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
>844) at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
>s(Http11Protocol.java:583) at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446
>) at java.lang.Thread.run(Thread.java:595)
> 12:13:19,636 ERROR [[CXFServlet]] Servlet.service() for servlet
> CXFServlet threw exception
> java.net.SocketException: Software caused connection abort: socket
> write error
> 	at java.net.SocketOutputStream.socketWrite0(Native Method)
> 	at
> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at
> java.net.SocketOutputStream.write(SocketOutputStream.java:136) at
> org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalO
>utputBuffer.java:737) at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
> at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349) at
> org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer
>.doWrite(InternalOutputBuffer.java:761) at
> org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOu
>tputFilter.java:126) at
> org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBu
>ffer.java:570) at org.apache.coyote.Response.doWrite(Response.java:560)
> 	at
> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer
>.java:353) at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
> at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349) at
> org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.jav
>a:381) at
> org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370
>) at
> org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStr
>eam.java:89) at com.ctc.wstx.io.UTF8Writer.write(UTF8Writer.java:139)
> 	at
> com.ctc.wstx.sw.BufferingXmlWriter.flushBuffer(BufferingXmlWriter.java
>:1103) at
> com.ctc.wstx.sw.BufferingXmlWriter.fastWriteRaw(BufferingXmlWriter.jav
>a:1149) at
> com.ctc.wstx.sw.BufferingXmlWriter.writeStartTagStart(BufferingXmlWrit
>er.java:727) at
> com.ctc.wstx.sw.BaseNsStreamWriter.doWriteStartTag(BaseNsStreamWriter.
>java:574) at
> com.ctc.wstx.sw.SimpleNsStreamWriter.writeStartOrEmpty(SimpleNsStreamW
>riter.java:273) at
> com.ctc.wstx.sw.BaseNsStreamWriter.writeStartElement(BaseNsStreamWrite
>r.java:319) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:487) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:440) at
> org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:547) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:536) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:440) at
> org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:547) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:536) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:440) at
> org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:547) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:536) at
> org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:440) at
> org.apache.cxf.staxutils.StaxUtils.writeDocument(StaxUtils.java:421)
> at
> org.apache.cxf.staxutils.StaxUtils.writeDocument(StaxUtils.java:411)
> at org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:560) at
> org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQuery
>Handler.java:224) at
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletContr
>oller.java:137) at
> org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXF
>Servlet.java:170) at
> org.apache.cxf.transport.servlet.AbstractCXFServlet.doGet(AbstractCXFS
>ervlet.java:152) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>cationFilterChain.java:290) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>lterChain.java:206) at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFil
>ter.java:96) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>cationFilterChain.java:235) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>lterChain.java:206) at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
>lve.java:230) at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
>lve.java:175) at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Security
>AssociationValve.java:179) at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve
>.java:84) at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
>va:127) at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
>va:102) at
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedCo
>nnectionValve.java:157) at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
>e.java:109) at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
>:262) at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
>844) at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
>s(Http11Protocol.java:583) at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446
>) at java.lang.Thread.run(Thread.java:595)
>
> jm1468 wrote:
> > Please see my thread here:
> >
> > http://www.nabble.com/I-have-the-TRaX%2C-can-you-help--td16455965.ht
> >ml
> >
> >
> > It seems that when a CXF webservice request comes to the jboss
> > server while jboss is starting up, it will dump a stack trace (see
> > in other post) after jboss finishes starting.
> >
> > I'm hoping Thomas has some suggestions.
> >
> > Thanks,
> > Jason



-- 
J. Daniel Kulp
Principal Engineer, IONA
dkulp@apache.org
http://www.dankulp.com/blog

Mime
View raw message