You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Venkat Reddy <vr...@gmail.com> on 2004/07/26 13:07:44 UTC
ConcurrentModificationException on WebLogic
Please help if anbody has encountered this before.
I'm running an Axis client and invoking a webservice deployed on
Weblogic 8.12. I can invoke this webservice from the WL's in-built
test environment. However when I try to invoke it from Axis client i
get the following on the weblogic console. Construction of
jws.request.SoapRequest object is failing on weblogic for some reason.
<Returning HTTP=500 due to httpWriteFault msg=null,detail=null
java.rmi.RemoteException: EJB Exception: ; nested exception is:
java.util.ConcurrentModificationException
at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:103)
at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(BaseEJBHome.java:304)
at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:253)
at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:141)
at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(SyncDispatcher_k1mrl8_EOImpl.java:56)
at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:161)
at com.bea.wlw.runtime.core.dispatcher.Dispatcher.dispatch(Dispatcher.java:49)
at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.executePostRequest(HttpServerHelper.java:703)
at com.bea.wlw.runtime.core.dispatcher.HttpServer.doPost(HttpServer.java:49)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6354)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Caused by: java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:444)
at java.util.AbstractList$Itr.remove(AbstractList.java:429)
at weblogic.xml.babel.stream.XMLInputStreamBase.close(XMLInputStreamBase.java:242)
at weblogic.xml.babel.stream.SubXMLInputStream.close(SubXMLInputStream.java:104)
at com.bea.wlw.runtime.jws.request.SoapRequest.<init>(SoapRequest.java:160)
at com.bea.wlw.runtime.jws.request.XmlRequest.validateTarget(XmlRequest.java:174)
at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatcherBean.java:65)
at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(SyncDispatcher_k1mrl8_EOImpl.java:46)
... 16 more
>
---------------------------------------------------
Following is the request that i sent to Weblogic (from tcpmon)
POST /InteropTestWeb/interoptest/Ping1.jws HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: "Ping"
User-Agent: Jakarta Commons-HttpClient/3.0-alpha1
Host: 127.0.0.1:8080
Content-Length: 832
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
soapenv:mustUnderstand="1">
<wsse:UsernameToken><wsse:Username>Chris</wsse:Username><wsse:Password
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">sirhC</wsse:Password></wsse:UsernameToken></wsse:Security></soapenv:Header><soapenv:Body><Ping
xmlns="http://xmlsoap.org/Ping"><ticket
xmlns:ns1="http://xmlsoap.org/Ping"
xsi:type="ns1:ticketType">WSS4J</ticket><text>WSS4J - Scenario 1
text</text></Ping></soapenv:Body></soapenv:Envelope>
Re: ConcurrentModificationException on WebLogic
Posted by Venkat Reddy <vr...@gmail.com>.
Thanks dims. Right now i kind of figured that my weblogic handler is
modifying/setting some system parameters or soap headers. So i have
disengaged the handler and making sure that the tests work without the
handler. Once this is done, i'll use JMeter to for incremental tests
and post the results here.
Venkat
On Mon, 26 Jul 2004 08:48:23 -0400, Davanum Srinivas <da...@gmail.com> wrote:
> Venkat,
>
> download JMeter, In JMeter, you can cut-n-paste the on-the-wire XML
> into an edit box and push a button to call the soap service. Using
> that facility figure out the exact difference in the SOAP Message
> (start with the message generated by WL client and make small changes
> to mirror the SOAP message from Axis client and experiement)
>
> thanks,
> dims
>
>
>
> On Mon, 26 Jul 2004 16:37:44 +0530, Venkat Reddy <vr...@gmail.com> wrote:
> > Please help if anbody has encountered this before.
> >
> > I'm running an Axis client and invoking a webservice deployed on
> > Weblogic 8.12. I can invoke this webservice from the WL's in-built
> > test environment. However when I try to invoke it from Axis client i
> > get the following on the weblogic console. Construction of
> > jws.request.SoapRequest object is failing on weblogic for some reason.
> >
> > <Returning HTTP=500 due to httpWriteFault msg=null,detail=null
> > java.rmi.RemoteException: EJB Exception: ; nested exception is:
> > java.util.ConcurrentModificationException
> > at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:103)
> > at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(BaseEJBHome.java:304)
> > at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:253)
> > at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:141)
> > at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(SyncDispatcher_k1mrl8_EOImpl.java:56)
> > at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:161)
> > at com.bea.wlw.runtime.core.dispatcher.Dispatcher.dispatch(Dispatcher.java:49)
> > at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.executePostRequest(HttpServerHelper.java:703)
> > at com.bea.wlw.runtime.core.dispatcher.HttpServer.doPost(HttpServer.java:49)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
> > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
> > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
> > at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6354)
> > at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
> > at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
> > at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
> > at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
> > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
> > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
> > Caused by: java.util.ConcurrentModificationException
> > at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:444)
> > at java.util.AbstractList$Itr.remove(AbstractList.java:429)
> > at weblogic.xml.babel.stream.XMLInputStreamBase.close(XMLInputStreamBase.java:242)
> > at weblogic.xml.babel.stream.SubXMLInputStream.close(SubXMLInputStream.java:104)
> > at com.bea.wlw.runtime.jws.request.SoapRequest.<init>(SoapRequest.java:160)
> > at com.bea.wlw.runtime.jws.request.XmlRequest.validateTarget(XmlRequest.java:174)
> > at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatcherBean.java:65)
> > at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(SyncDispatcher_k1mrl8_EOImpl.java:46)
> > ... 16 more
> > >
> > ---------------------------------------------------
> > Following is the request that i sent to Weblogic (from tcpmon)
> >
> > POST /InteropTestWeb/interoptest/Ping1.jws HTTP/1.1
> >
> > Content-Type: text/xml; charset=utf-8
> >
> > SOAPAction: "Ping"
> >
> > User-Agent: Jakarta Commons-HttpClient/3.0-alpha1
> >
> > Host: 127.0.0.1:8080
> >
> > Content-Length: 832
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <soapenv:Envelope
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > <soapenv:Header>
> > <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
> > soapenv:mustUnderstand="1">
> > <wsse:UsernameToken><wsse:Username>Chris</wsse:Username><wsse:Password
> > Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">sirhC</wsse:Password></wsse:UsernameToken></wsse:Security></soapenv:Header><soapenv:Body><Ping
> > xmlns="http://xmlsoap.org/Ping"><ticket
> > xmlns:ns1="http://xmlsoap.org/Ping"
> > xsi:type="ns1:ticketType">WSS4J</ticket><text>WSS4J - Scenario 1
> > text</text></Ping></soapenv:Body></soapenv:Envelope>
> >
>
>
> --
> Davanum Srinivas - http://webservices.apache.org/~dims/
>
Re: ConcurrentModificationException on WebLogic
Posted by Davanum Srinivas <da...@gmail.com>.
Venkat,
download JMeter, In JMeter, you can cut-n-paste the on-the-wire XML
into an edit box and push a button to call the soap service. Using
that facility figure out the exact difference in the SOAP Message
(start with the message generated by WL client and make small changes
to mirror the SOAP message from Axis client and experiement)
thanks,
dims
On Mon, 26 Jul 2004 16:37:44 +0530, Venkat Reddy <vr...@gmail.com> wrote:
> Please help if anbody has encountered this before.
>
> I'm running an Axis client and invoking a webservice deployed on
> Weblogic 8.12. I can invoke this webservice from the WL's in-built
> test environment. However when I try to invoke it from Axis client i
> get the following on the weblogic console. Construction of
> jws.request.SoapRequest object is failing on weblogic for some reason.
>
> <Returning HTTP=500 due to httpWriteFault msg=null,detail=null
> java.rmi.RemoteException: EJB Exception: ; nested exception is:
> java.util.ConcurrentModificationException
> at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:103)
> at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(BaseEJBHome.java:304)
> at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:253)
> at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:141)
> at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(SyncDispatcher_k1mrl8_EOImpl.java:56)
> at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:161)
> at com.bea.wlw.runtime.core.dispatcher.Dispatcher.dispatch(Dispatcher.java:49)
> at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.executePostRequest(HttpServerHelper.java:703)
> at com.bea.wlw.runtime.core.dispatcher.HttpServer.doPost(HttpServer.java:49)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6354)
> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
> at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
> at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
> at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
> Caused by: java.util.ConcurrentModificationException
> at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:444)
> at java.util.AbstractList$Itr.remove(AbstractList.java:429)
> at weblogic.xml.babel.stream.XMLInputStreamBase.close(XMLInputStreamBase.java:242)
> at weblogic.xml.babel.stream.SubXMLInputStream.close(SubXMLInputStream.java:104)
> at com.bea.wlw.runtime.jws.request.SoapRequest.<init>(SoapRequest.java:160)
> at com.bea.wlw.runtime.jws.request.XmlRequest.validateTarget(XmlRequest.java:174)
> at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatcherBean.java:65)
> at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(SyncDispatcher_k1mrl8_EOImpl.java:46)
> ... 16 more
> >
> ---------------------------------------------------
> Following is the request that i sent to Weblogic (from tcpmon)
>
> POST /InteropTestWeb/interoptest/Ping1.jws HTTP/1.1
>
> Content-Type: text/xml; charset=utf-8
>
> SOAPAction: "Ping"
>
> User-Agent: Jakarta Commons-HttpClient/3.0-alpha1
>
> Host: 127.0.0.1:8080
>
> Content-Length: 832
>
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Header>
> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
> soapenv:mustUnderstand="1">
> <wsse:UsernameToken><wsse:Username>Chris</wsse:Username><wsse:Password
> Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">sirhC</wsse:Password></wsse:UsernameToken></wsse:Security></soapenv:Header><soapenv:Body><Ping
> xmlns="http://xmlsoap.org/Ping"><ticket
> xmlns:ns1="http://xmlsoap.org/Ping"
> xsi:type="ns1:ticketType">WSS4J</ticket><text>WSS4J - Scenario 1
> text</text></Ping></soapenv:Body></soapenv:Envelope>
>
--
Davanum Srinivas - http://webservices.apache.org/~dims/