This discussion is archived
4 Replies Latest reply: Oct 18, 2012 3:49 AM by 969004 RSS

stuck thread

969004 Newbie
Currently Being Moderated
Hi All,

kindly help on below exception on weblogic server while trying to excute some sort of qurey using hiberate.

####<Oct 17, 2012 2:58:48 PM IST> <Error> <WebLogicServer> <fccapp01> <AppSrv1> <[ACTIVE] ExecuteThread: '41' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1350466128303> <BEA-000337> <[STUCK] ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "1,505" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@5f56ba[
POST /verifyCustomerList.htm HTTP/1.1
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: en-US
Cookie: JSESSIONID=3nhZQ2tBVHyyK25GxdmTQC2S9cZXJQKPf6htZnmYLFqLLn1GTyGb!-431324068
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.1)
x-flash-version: 11,1,102,55
UA-CPU: x86
Content-Length: 40
Connection: Keep-Alive
X-WebLogic-KeepAliveSecs: 30
X-WebLogic-Force-JVMID: -431324068

]", which is more than the configured time (StuckThreadMaxTime) of "1,500" seconds. Stack trace:
     java.net.SocketInputStream.socketRead0(Native Method)
     java.net.SocketInputStream.read(SocketInputStream.java:134)
     oracle.net.ns.Packet.receive(Packet.java:239)
     oracle.net.ns.DataPacket.receive(DataPacket.java:92)
     oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:172)
     oracle.net.ns.NetInputStream.read(NetInputStream.java:117)
     oracle.net.ns.NetInputStream.read(NetInputStream.java:92)
     oracle.net.ns.NetInputStream.read(NetInputStream.java:77)
     oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1023)
     oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:999)
     oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:584)
     oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
     oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947)
     oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:9271)
     oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:210)
     weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:191)
     org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
     org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242)
     org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:92)
     org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:87)
     org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:218)
     org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2220)
     org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2656)
     org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:52)
     org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
     org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
     org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)
     org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
     org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
     org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
     org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
     org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
     org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:54)
     org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:434)
     org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:662)
     org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:632)
     org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:314)
     org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:116)
     org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
     org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
     $Proxy115.verifyRecords(Unknown Source)
     com.fss.mpay.services.customerregistration.CustomerRegistrationDualControlService.verifyRecord(CustomerRegistrationDualControlService.java:1190)
     com.fss.mpay.services.customerregistration.CustomerRegistrationDualControlService.verifyList(CustomerRegistrationDualControlService.java:242)
     com.fss.mpay.controller.registration.RegistrationController.approveCustomer(RegistrationController.java:892)
     sun.reflect.GeneratedMethodAccessor1565.invoke(Unknown Source)
     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     java.lang.reflect.Method.invoke(Method.java:597)
     org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:445)
     org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:382)
     org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
     org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
     org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:859)
     org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:793)
     org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
     org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
     weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
     weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
     weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     weblogic.security.service.SecurityManager.runAs(Unknown Source)
     weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
     weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
     weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
     weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

Thanks and Regards,
Aravind R

Legend

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