cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-2762) Cannot deploy csta web service, ConcurrentModificationException
Date Thu, 15 Apr 2010 02:23:48 GMT

    [ https://issues.apache.org/jira/browse/CXF-2762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857183#action_12857183
] 

Daniel Kulp commented on CXF-2762:
----------------------------------



Actually, the other stack trace is caused by a client closing a connection when the server
is sending back the response.   Nothing we can really do about that.

> Cannot deploy csta web service, ConcurrentModificationException
> ---------------------------------------------------------------
>
>                 Key: CXF-2762
>                 URL: https://issues.apache.org/jira/browse/CXF-2762
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>         Environment: Win XP, Java 1.6, Tomcat 6.0.20
>            Reporter: Aditya Gujrathi
>         Attachments: wsdl.zip
>
>
> *Second stack trace added*
> Apart from the earlier stacktrace, I am also getting ConcurrentModificationException
consistently. All these exceptions are thrown at different points of time. Note that I have
migrated my existing application from SUN JAXWS to CXF 2.2.6 and it involves multiple WS-*
specifications like ws-transfer, ws-eventing, ws-session, csta, spml-dsml etc. So I am wondering
wether CXF is thread safe or not when it comes to starting multiple web services at any given
time. second stacktrace follows:
> {code}
> Apr 12, 2010 4:54:07 PM org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
> WARNING: Interceptor for {http://schemas.xmlsoap.org/ws/2004/08/eventing}ws-eventing-service#{http://schemas.xmlsoap.org/ws/2004/08/eventing}SubscribeOp
has thrown exception, unwinding now
> java.util.ConcurrentModificationException
> 	at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
> 	at java.util.AbstractList$Itr.next(AbstractList.java:343)
> 	at org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.writeSoapEnvelopeStart(SoapOutInterceptor.java:139)
> 	at org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.handleMessage(SoapOutInterceptor.java:81)
> 	at org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.handleMessage(SoapOutInterceptor.java:61)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:484)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:310)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:262)
> 	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
> 	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)
> 	at $Proxy59.subscribeOp(Unknown Source)
> 	at com.mypackage.common.wseventing.SubscriptionSession.startSession(SubscriptionSession.java:228)
> 	at com.mypackage.common.session.SessionRegistration.checkSessionRegistration(SessionRegistration.java:298)
> 	at com.mypackage.common.wseventing.SubscriptionSession.registrationStateChanged(SubscriptionSession.java:434)
> 	at com.mypackage.common.wseventing.SubscriptionSessionList.registrationStateChanged(SubscriptionSessionList.java:84)
> 	at com.mypackage.common.session.Registration.updateState(Registration.java:123)
> 	at com.mypackage.common.session.Registration.shiftState(Registration.java:101)
> 	at com.mypackage.common.session.SessionRegistration.checkSessionRegistration(SessionRegistration.java:303)
> 	at com.mypackage.common.session.SessionRegistration.checkURLNotify(SessionRegistration.java:226)
> 	at com.mypackage.common.net.WSCheckURL$NotifyTask.run(WSCheckURL.java:254)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:619)
> {code}
> *Initial stack trace added*
> I am getting exception while starting csta web service. The exception stack trace is
given below.
> The csta wsdl is available at the following location for reference: http://www.ecma-international.org/standards/ecma-348/csta-wsdl/ed3
> {code}
> Apr 12, 2010 4:53:33 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/mycontext/services/callcontrolfeatures?wsdl
> 	at org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQueryHandler.java:228)
> 	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:162)
> 	at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:142)
> 	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)
> 	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:108)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> 	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: com.ctc.wstx.exc.WstxIOException: null
> 	at com.ctc.wstx.sw.BaseNsStreamWriter.doWriteAttr(BaseNsStreamWriter.java:494)
> 	at com.ctc.wstx.sw.BaseNsStreamWriter.writeAttribute(BaseNsStreamWriter.java:230)
> 	at org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:684)
> 	at org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:599)
> 	at org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:720)
> 	at org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:706)
> 	at org.apache.cxf.staxutils.StaxUtils.writeElement(StaxUtils.java:599)
> 	at org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:720)
> 	at org.apache.cxf.staxutils.StaxUtils.writeDocument(StaxUtils.java:577)
> 	at org.apache.cxf.staxutils.StaxUtils.writeDocument(StaxUtils.java:565)
> 	at org.apache.cxf.staxutils.StaxUtils.writeNode(StaxUtils.java:739)
> 	at org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQueryHandler.java:223)
> 	... 18 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.java:381)
> 	at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370)
> 	at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.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.writeAttrValue(BufferingXmlWriter.java:1076)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.writeAttribute(BufferingXmlWriter.java:891)
> 	at com.ctc.wstx.sw.BaseNsStreamWriter.doWriteAttr(BaseNsStreamWriter.java:483)
> 	... 29 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(InternalOutputBuffer.java:740)
> 	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:764)
> 	at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:126)
> 	at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:573)
> 	at org.apache.coyote.Response.doWrite(Response.java:560)
> 	at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353)
> 	... 39 more
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message