This discussion is archived
0 Replies Latest reply: Dec 18, 2012 5:59 AM by 882369 RSS

DRM Webservice Call Hangs. Seeing stuck thread in Weblogic

882369 Newbie
Currently Being Moderated
Hi Guys,

I have followed the Oracle guide to installing and configuring the DRM Web service, however, when i tried to test the web service both via EM and SoapUI i do not get a response. I do not see any errors in the logs.

After 10 mins weblogic throws the following exception :


<18-Dec-2012 12:10:08 o'clock GMT> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "663" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@18c1629[
POST /oracle-epm-drm-webservices/DrmService HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: ""
Content-Length: 992
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
Thread-381 "[STUCK] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in native, suspended, priority=1, DAEMON> {
jrockit.net.SocketNativeIO.readBytesPinned(SocketNativeIO.java:???)
jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:24)
java.net.SocketInputStream.socketRead0(SocketInputStream.java:???)
java.net.SocketInputStream.read(SocketInputStream.java:107)
java.io.BufferedInputStream.fill(BufferedInputStream.java:189)
java.io.BufferedInputStream.read1(BufferedInputStream.java:249)
java.io.BufferedInputStream.read(BufferedInputStream.java:308)
^-- Holding lock: java.io.BufferedInputStream@195d897[thin lock]
weblogic.net.http.MessageHeader.isHTTP(MessageHeader.java:218)
weblogic.net.http.MessageHeader.parseHeader(MessageHeader.java:146)
weblogic.net.http.HttpClient.parseHTTP(HttpClient.java:466)
weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:341)
^-- Holding lock: weblogic.net.http.SOAPHttpURLConnection@195d756[thin lock]
weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:37)
weblogic.wsee.connection.transport.TransportUtil.getInputStream(TransportUtil.java:85)
weblogic.wsee.connection.transport.http.HTTPClientTransport.receive(HTTPClientTransport.java:268)
weblogic.wsee.connection.soap.SoapConnection.receive(SoapConnection.java:484)
weblogic.wsee.ws.dispatch.client.ConnectionHandler.handleResponse(ConnectionHandler.java:172)
weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:287)
weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:244)
weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(ClientDispatcher.java:212)
weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:89)
weblogic.wsee.ws.WsStub.invoke(WsStub.java:53)
weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:324)
com.oracle.drm.ISessionMgr_Stub.createSessionFromToken(Unknown Source)
com.oracle.drm.ws.DRMSession.createDrmSessionFromToken(Unknown Source)
oracle.epm.webservices.drm.DrmNativeConnection.<init>(Unknown Source)
oracle.epm.webservices.drm.DrmNativeConnectionManager.createConnection(Unknown Source)
oracle.epm.webservices.agent.NativeConnectionManager.createConnectionBase(NativeConnectionManager.java:195)
oracle.epm.webservices.agent.NativeConnectionManager.getConnection(NativeConnectionManager.java:91)
oracle.epm.webservices.drm.DrmNativeConnectionManager.getConnection(Unknown Source)
oracle.epm.webservices.drm.DrmService.getSysPrefs(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:27)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:575)
oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:211)
oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:162)
oracle.j2ee.ws.server.jaxws.JAXWSRuntimeDelegate.processMessage(JAXWSRuntimeDelegate.java:450)
oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1179)
oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:1089)
javax.security.auth.Subject.doAsPrivileged(Subject.java:501)
oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:47)
oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedExceptionAction.run(CascadeActionExecutor.java:79)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:350)
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:142)
weblogic.security.Security.runAs(Security.java:60)
oracle.security.jps.wls.jaas.WlsActionExecutor.execute(WlsActionExecutor.java:48)
oracle.security.jps.internal.jaas.CascadeActionExecutor.execute(CascadeActionExecutor.java:50)
oracle.security.jps.internal.jaas.AbstractSubjectSecurity.executeAs(AbstractSubjectSecurity.java:137)
oracle.j2ee.ws.server.provider.GenericProviderPlatform.runAs(GenericProviderPlatform.java:295)
oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1068)
oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:527)
oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:208)
oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:192)
oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:411)
javax.servlet.http.HttpServlet.service(HttpServlet.java:700)
javax.servlet.http.HttpServlet.service(HttpServlet.java:815)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:224)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:108)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:206)
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:299)
oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:405)
oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:98)
oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:86)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3687)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:308)
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:116)
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2213)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2135)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1420)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
weblogic.work.ExecuteThread.run(ExecuteThread.java:168)

Any Help, greatly appreciated.
Regards,

J Bourn

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points