Waiting on condition at java.lang.FloatingDecimal.floatValue(FloatingDec.)
Hello Experts,
i am facing an issue while executing floatValue method of BIgdecimal Object.when the control comes to that statement ,application is going into infinite loop.this is working fine on all systems(development ,test..) except production.
i found one difference in test and production system.both are running in different java versions.is it causing this issue?
test server is running on 1.4.2.17 and production is running on 1.4.2.12 version.
here is the thread dump that i got in server:
D1139794350DB10384483039162372751End.6f1b61d0d00d11dcc73e001560dee930" tid=0x60000000037db8d0 nid=0x45 prio=10 waiting on condition
at java.lang.FloatingDecimal.floatValue(FloatingDecimal.java:1710)
at java.lang.Float.valueOf(Float.java:205)
at java.math.BigDecimal.floatValue(BigDecimal.java:1012)
at com.test.method(XLCust.java:787)
at com.
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:101)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:304)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:659)
- locked<0x9fffffff3df65718> (a com.sap.tc.webdynpro.clientserver.cal.ClientApplication)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
- locked<0x9fffffff3e15de50> (a com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
any help will be greatly appriciated.
thanks in advance
with regards
Naidu
Hi,
yes the version of java is the problem.you have to maintain samejava version in all server.if your version is same then there is no problem.
Similar Messages
-
Hello Experts,
I am facing an issue while executing "floatValue" method of BIgdecimal Object.when the control comes to above method ,webdynpro application is going into infinite loop.this is working fine on all systems(development ,test..) except production.
i found one difference in test and production system.Both are running on different java versions.is it causing this issue?
test server is running on 1.4.2.17 and production is running on 1.4.2.12 version.
here is the thread dump that i got in server:
"SAPEngine_Application_Threadimpl:3_13ID#(J2EE25213200)D1139794350DB10384483039162372751End.6f1b61d0d00d11dcc73e001560dee930" tid=0x60000000037db8d0 nid=0x45 prio=10 waiting on condition
at java.lang.FloatingDecimal.floatValue(FloatingDecimal.java:1710)
at java.lang.Float.valueOf(Float.java:205)
at java.math.BigDecimal.floatValue(BigDecimal.java:1012)
at com.sap.xltest.components.mpfxl.xl.XLCust.mCreateXL(XLCust.java:787)
at com.sap.xltest.components.mpfxl.xl.wdp.InternalXLCust.mCreateXL(InternalXLCust.java:306)
at com.sap.xltest.components.mpfxl.MPFXLCompInterface.imCreateXL(MPFXLCompInterface.java:115)
at com.sap.xltest.components.mpfxl.wdp.InternalMPFXLCompInterface.imCreateXL(InternalMPFXLCompInterface.java:296)
at com.sap.xltest.components.mpfxl.wdp.InternalMPFXLCompInterface$External.imCreateXL(InternalMPFXLCompInterface.java:348)
at com.pg.pftp.selectionscreen.views.selectionscreen.SelectionScreenView.onActionasimplDownload(SelectionScreenView.java:1395)
at com.pg.pftp.selectionscreen.views.selectionscreen.wdp.InternalSelectionScreenView.wdInvokeEventHandler(InternalSelectionScreenView.java:731)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:101)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:304)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:659)
- locked<0x9fffffff3df65718> (a com.sap.tc.webdynpro.clientserver.cal.ClientApplication)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
- locked<0x9fffffff3e15de50> (a com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
any help will be greatly appriciated.
Thanks in advance
with regards,
Balaram NaiduHi,
yes the version of java is the problem.you have to maintain samejava version in all server.if your version is same then there is no problem. -
Hello Experts,
i am facing an issue while executing floatValue method of BIgdecimal Object.when the control comes to that statement ,application is going into infinite loop.this is working fine on all systems(development ,test..) except production.
i found one difference in test and production system.both are running in different java versions.is it causing this issue?
test server is running on 1.4.2.17 and production is running on 1.4.2.12 version.
here is the thread dump that i got in server:
D1139794350DB10384483039162372751End.6f1b61d0d00d11dcc73e001560dee930" tid=0x60000000037db8d0 nid=0x45 prio=10 waiting on condition
at java.lang.FloatingDecimal.floatValue(FloatingDecimal.java:1710)
at java.lang.Float.valueOf(Float.java:205)
at java.math.BigDecimal.floatValue(BigDecimal.java:1012)
at com.test.method(XLCust.java:787)
at com.
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:101)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:304)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:659)
- locked<0x9fffffff3df65718> (a com.sap.tc.webdynpro.clientserver.cal.ClientApplication)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
- locked<0x9fffffff3e15de50> (a com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
any help will be greatly appriciated.
thanks in advance
with regards
NaiduHi,
yes the version of java is the problem.you have to maintain samejava version in all server.if your version is same then there is no problem. -
Threads stuck in "waiting on condition"
Hi,
Our application is a muti-threaded application which is polling the SNMP network elements. We have used the third-party adventnet API for polling mechanism.
We find that after the application runs for about one day, some of the threads are in 'WAIT' state waiting for a condition for a very long time. The wait is seen in AdventNet's API - SnmpSession.checkSyncResponse.
The pstack output is pasted below:
----------------- lwp# 96 / thread# 96 --------------------
ff2cab38 lwp_cond_wait (baee90, baee78, f0cfee88, 0)
ff2b1d98 lwpcond_timedwait (baee90, baee78, f0cfef20, 39f4e40, 6d3c, e7d390) + 1c
fecf61ec __1cNObjectMonitorEwait6MxipnGThread__v_ (6c00, baee78, f0cfef20, ff17f8d0, baee90, ff1a0930) + 778
fecf59c4 __1cSObjectSynchronizerEwait6FnGHandle_xpnGThread__v_ (baebe0, 0, 64, ff17f914, f0cff00c, 497c) + d8
fecf55d8 JVM_MonitorWait (0, bae784, 0, 64, baebe0, ff1869e4) + 2f0
f9135170 * *java/lang/Object.wait(J)V
f953bba4 * *com/adventnet/snmp/snmp2/SnmpSession.checkSyncResponse(I)I+46 (line 2585)
f953ca60 * *com/adventnet/snmp/snmp2/SnmpSession.getResponse(IJZ)Lcom/adventnet/snmp/snmp2/SnmpPDU;+8 (line 2483)
f9005874 * com/adventnet/snmp/snmp2/SnmpSession.syncSend(Lcom/adventnet/snmp/snmp2/SnmpPDU;)Lcom/adventnet/snmp/snmp2/SnmpPDU;+105 (line 2415)
f9005874 * com/adventnet/snmp/snmp2/SnmpEngineEntry.discoverSnmpEngineID(Lcom/adventnet/snmp/snmp2/SnmpSession;II)[B+326 (line 673)
f9005874 * com/adventnet/snmp/snmp2/SnmpEngineEntry.discoverSnmpEngineID(Lcom/adventnet/snmp/snmp2/SnmpSession;)[B+4 (line 566)
f9005874 * com/adventnet/snmp/snmp2/usm/USMUtils.doDiscovery(Lcom/adventnet/snmp/snmp2/SnmpSession;Lcom/adventnet/snmp/snmp2/ProtocolOptions;)Lcom/adventnet/snmp/snmp2/SnmpEngineEntry;+199 (line 1629)
f9005874 * com/adventnet/snmp/snmp2/usm/USMUtils.init_v3_parameters(Ljava/lang/String;[BILjava/lang/String;Ljava/lang/String;Lcom/adventnet/snmp/snmp2/ProtocolOptions;Lcom/adventnet/snmp/snmp2/SnmpSession;Z)V+159 (line 1270)
f98351fc * *com/adventnet/snmp/beans/SnmpServer.create_v3_tables()I+578 (line 2542)
f90058b8 * com/alcatel/omc/nodebim/snmpmediation/polling/PollingTimerTask.addSnmpEntries()V+95 (line 1015)
f9884000 * *com/alcatel/omc/nodebim/snmpmediation/polling/PollingTimerTask.poll()V+865 (line 438)
f9005764 * com/alcatel/omc/nodebim/snmpmediation/polling/PollerManagerServant.poll(Lcom/alcatel/omc/nodebim/snmpmediation/polling/SnmpMe diationPoller;)V+4 (line 264)
f9005764 * com/alcatel/omc/nodebim/snmpmediation/polling/PollRequest.call()V+8 (line 55)
f99f249c * *com/alcatel/omc/fwk/activeobjects/Scheduler.run()V+250 (line 192)
f910e938 * com/alcatel/omc/fwk/activeobjects/Scheduler.run()V+105 (line 186)
f9000218 * StubRoutines (1)
fecdd540 __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (1, baebe0, f0cffb98, f0cffab8, f0cffb9c, 0) + 5b8
fecf4f80 __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_ (596c, baebe0, bae770, bae77c, baeb5c, b110de18) + 18c
fecf4ddc __1cMthread_entry6FpnKJavaThread_pnGThread__v_ (b110de18, baebe0, ff195cac, d5812ad8, bae770, ff195798) + 12c
fecf4c60 __1cKJavaThreadDrun6M_v_ (baebe0, 4c00, ff18435c, 0, 6400, ff16c000) + 2d0
ff03cc90 __1cG_start6Fpv_0_ (baebe0, ff186a1c, ff17f8dc, 0, 3418, ff16c000) + 200
ff2c6d4c _lwp_start (0, 0, 0, 0, 0, 0)
----------------- lwp# 97 / thread# 97 --------------------
ff2cab38 lwp_cond_wait (bafab0, bafa98, 0, 0)
fecf5fcc __1cNObjectMonitorEwait6MxipnGThread__v_ (bafab0, bafa98, ff1953c8, 0, ff1a0930, bafa70) + 558
fecf59c4 __1cSObjectSynchronizerEwait6FnGHandle_xpnGThread__v_ (baeeb0, 0, 0, ff17f914, f0bff6fc, 497c) + d8
fecf55d8 JVM_MonitorWait (0, baf494, 0, 0, baeeb0, ff1869e4) + 2f0
f9135170 * *java/lang/Object.wait(J)V
f9812aa4 * *java/lang/Object.wait()V+2 (line 474)
f9812aa4 * *EDU/oswego/cs/dl/util/concurrent/BoundedBuffer.take()Ljava/lang/Object;+73 (line 164)
f99f20b4 * *com/alcatel/omc/fwk/activeobjects/Scheduler.run()V+189 (line 189)
f910e938 * com/alcatel/omc/fwk/activeobjects/Scheduler.run()V+105 (line 186)
f9000218 * StubRoutines (1)
fecdd540 __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (1, baeeb0, f0bffb18, f0bffa38, f0bffb1c, 0) + 5b8
fecf4f80 __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_ (596c, baeeb0, baf480, baf48c, baf86c, b110f6f0) + 18c
fecf4ddc __1cMthread_entry6FpnKJavaThread_pnGThread__v_ (b110f6f0, baeeb0, ff195cac, d5812ad8, baf480, ff195798) + 12c
fecf4c60 __1cKJavaThreadDrun6M_v_ (baeeb0, 4c00, ff18435c, 0, 6400, ff16c000) + 2d0
ff03cc90 __1cG_start6Fpv_0_ (baeeb0, ff186a1c, ff17f8dc, 0, 3418, ff16c000) + 200
ff2c6d4c _lwp_start (0, 0, 0, 0, 0, 0)
On checking the AdventNet API, it seems that there is an explicit wait called only for 100milliseconds. Could someone let me know why these threads are blocked in waiting state for a very long time?
Regards,
PadmaAnand_Sharma wrote:
Hi,
Our application is a muti-threaded application which is polling the SNMP servers. We have used the third-party adventnet API for polling mechanism.
Can it be an application issue?
This looks like an application issue in Adventent
===========================
----------------- lwp# 6921 / thread# 6921 --------------------
ffffffff7eed3890 lwp_mutex_timedlock (10011be40, 0)
ffffffff7e25b4d8 __1cHMonitorEwait6Mil_i_ (ffffffff7e78e210, 120660740, ffffffff7e78ff94, ffffffff7e7943fc, 9800, 9ba8) + 328
ffffffff7e2b5f08 __1cIVMThreadHexecute6FpnMVM_Operation__v_ (ffffffff7e78e2f0, 0, a000, a2e8, c558, 3fea88) + 228
ffffffff7e30929c __1cODeoptimizationNuncommon_trap6FpnKJavaThread_i_pn0ALUnrollBlock__ (124da4140, fffffffffffffffc, fffffffffffffffc, ff000000, 100, 0) + 874The frames below are java frames. It has called monitor.wait().
ffffffff7606c940 ???????? (fffffffffffffffc, 3, fffffffe365cc558, 11, 6, 817fe2)
ffffffff764eea1c ???????? (fffffffe365c17e8, ffffffff724c0848, fffffffe365c1ee8, fffffffe365c1820, ffffffff71c63190, fffffffa910feec0)
"Device Poller Thread" prio=5 tid=0x0000000124da4140 nid=0x1b09 waiting on condition [0xfffffffa910fe000..0xfffffffa910ff8b0]
at com.adventnet.snmp.snmp2.ASNTypes.encodeLength(ASNTypes.java:105)This java method above has called monitor.wait(). If you have access to the adventnet take a look at it and see why it is waiting here.
jstack on 1.6 can detect deadlock. Run jstack on this and find out if there is any deadlock. I suspect the thread supposed to notify these waiting threads might have got stuck. -
Finalizer Thread - java.lang.rOperating System
Can anyone please help me understand what is being conveyed by the finalizer portion of a thread dump:
"Finalizer" (TID:0x1669320, sys_thread_t:0x592180, state:CW, native ID:0xe6) prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java, Compiled Code)
at java.lang.rOperating System: Windows NT Version 4.0
I have been unsuccessful in finding any information on how java.lang.rOperating System comes into play. When our finalizer thread looks like this within the thread dump, the Reference Handler and Signal Dispatcher threads do not appear at all within the dump. The thread dump is from a web application using JRun with IIS serving the web pages.
Thanks,
KimCan anyone please help me understand what is being
conveyed by the finalizer portion of a thread dump:
"Finalizer" (TID:0x1669320, sys_thread_t:0x592180,
state:CW, native ID:0xe6) prio=8
at java.lang.Object.wait(Native Method)
at
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.jav
, Compiled Code)
at java.lang.rOperating System: Windows NT Version
4.0
I have been unsuccessful in finding any information on
how java.lang.rOperating System comes into play. When
our finalizer thread looks like this within the thread
dump, the Reference Handler and Signal Dispatcher
threads do not appear at all within the dump. The
thread dump is from a web application using JRun with
IIS serving the web pages.
Thanks,
KimThis portion of the thread dump is corrupted. The finalizer thread dump should normally look something this assuming you didn't catch it in the middle of things:
"Finalizer" daemon prio=8 tid=0xe1010 nid=0x7 waiting on monitor [0xfdd81000..0xfdd819e0]
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:149)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
at java.lang.ref.Finalizer$FinalizerWorker$FinalizerThread.run(Finalizer.java:120)
Which version of Java are you running? (use java -version)
Chuck -
The 'java.lang.InterruptedException' error when the batch running
Hello everyone:
hope everyone go well in your CC&B project.
We have an obstacle we we run some bacth job(not all the time), the log is as following:
03:36:46,060 [DEFAULTWorker:7] ERROR (com.splwg.base.support.batch.GenericCobolBatchProgram) Unexpected interruption while waiting for a cobol batch thread to complete
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Thread.join(Thread.java:1095)
at java.lang.Thread.join(Thread.java:1148)
at com.splwg.base.support.batch.GenericCobolBatchProgram.callCobolInCobolThread(GenericCobolBatchProgram.java:64)
at com.splwg.base.support.batch.GenericCobolBatchProgram.execute(GenericCobolBatchProgram.java:38)
at com.splwg.base.support.batch.CobolBatchWork$DoExecuteWorkInSession.doBatchWorkInSession(CobolBatchWork.java:76)
at com.splwg.base.support.batch.BatchWorkInSessionExecutable.run(BatchWorkInSessionExecutable.java:60)
at com.splwg.base.support.batch.CobolBatchWork.doExecuteWork(CobolBatchWork.java:53)
at com.splwg.base.support.grid.AbstractGridWork.executeWork(AbstractGridWork.java:69)
at com.splwg.base.support.cluster.ThreadWork.processBatchWork(ThreadWork.java:50)
at com.splwg.base.support.cluster.BatchWorkManager.processWork(BatchWorkManager.java:63)
at com.tangosol.coherence.commonj.WorkManager$ScheduleWork.run(WorkManager.java:2266)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.InvocationService.onInvocationRequest(InvocationService.CDB:12)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.InvocationService$InvocationRequest.run(InvocationService.CDB:1)
at com.tangosol.coherence.component.util.DaemonPool$WrapperTask.run(DaemonPool.CDB:1)
at com.tangosol.coherence.component.util.DaemonPool$WrapperTask.run(DaemonPool.CDB:32)
at com.tangosol.coherence.component.util.DaemonPool$Daemon.onNotify(DaemonPool.CDB:63)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:595)
03:36:46,063 [DEFAULTWorker:7] ERROR (com.splwg.base.support.cluster.ClusteredExecutionContext) An error has occurred while processing distributed grid work. A rollback will be issued. Processing of other work will continue.
com.splwg.shared.common.LoggedException: Unexpected interruption while waiting for a cobol batch thread to complete
at com.splwg.shared.common.LoggedException.wrap(LoggedException.java:198)
at com.splwg.shared.common.LoggedException.wrap(LoggedException.java:85)
at com.splwg.base.support.batch.GenericCobolBatchProgram.callCobolInCobolThread(GenericCobolBatchProgram.java:66)
at com.splwg.base.support.batch.GenericCobolBatchProgram.execute(GenericCobolBatchProgram.java:38)
at com.splwg.base.support.batch.CobolBatchWork$DoExecuteWorkInSession.doBatchWorkInSession(CobolBatchWork.java:76)
at com.splwg.base.support.batch.BatchWorkInSessionExecutable.run(BatchWorkInSessionExecutable.java:60)
at com.splwg.base.support.batch.CobolBatchWork.doExecuteWork(CobolBatchWork.java:53)
at com.splwg.base.support.grid.AbstractGridWork.executeWork(AbstractGridWork.java:69)
at com.splwg.base.support.cluster.ThreadWork.processBatchWork(ThreadWork.java:50)
at com.splwg.base.support.cluster.BatchWorkManager.processWork(BatchWorkManager.java:63)
at com.tangosol.coherence.commonj.WorkManager$ScheduleWork.run(WorkManager.java:2266)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.InvocationService.onInvocationRequest(InvocationService.CDB:12)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.InvocationService$InvocationRequest.run(InvocationService.CDB:1)
at com.tangosol.coherence.component.util.DaemonPool$WrapperTask.run(DaemonPool.CDB:1)
at com.tangosol.coherence.component.util.DaemonPool$WrapperTask.run(DaemonPool.CDB:32)
at com.tangosol.coherence.component.util.DaemonPool$Daemon.onNotify(DaemonPool.CDB:63)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Thread.join(Thread.java:1095)
at java.lang.Thread.join(Thread.java:1148)
at com.splwg.base.support.batch.GenericCobolBatchProgram.callCobolInCobolThread(GenericCobolBatchProgram.java:64)
... 15 more
03:36:50,315 [CobolThread 489] ERROR (com.splwg.base.support.context.FrameworkSession) Operation not allowed. The session has been closed. This indicates a session management issue commonly where an old reference continues to be held to a closed session
com.splwg.shared.common.LoggedException: Operation not allowed. The session has been closed. This indicates a session management issue commonly where an old reference continues to be held to a closed session
at com.splwg.shared.common.LoggedException.raised(LoggedException.java:65)
at com.splwg.base.support.context.FrameworkSession.verifySessionIsOpen(FrameworkSession.java:1669)
at com.splwg.base.support.context.FrameworkSession.createQuery(FrameworkSession.java:930)
at com.splwg.base.api.GenericBusinessObject.createQuery(GenericBusinessObject.java:114)
at com.splwg.cm.domain.admin.trendArea.CmlTrendAreaMeterReadEstimationAlgComp_Impl.getBillSegmentReads(CmlTrendAreaMeterReadEstimationAlgComp_Impl.java:324)
at com.splwg.cm.domain.admin.trendArea.CmlTrendAreaMeterReadEstimationAlgComp_Impl.invoke(CmlTrendAreaMeterReadEstimationAlgComp_Impl.java:150)
at com.splwg.cm.domain.admin.trendArea.CmlTrendAreaMeterReadEstimationAlgComp_Impl__.CGLIB$invoke$0(<generated>)
at com.splwg.cm.domain.admin.trendArea.CmlTrendAreaMeterReadEstimationAlgComp_Impl__$$FastClassByCGLIB$$c326a1b1.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
at com.splwg.base.support.interception.BusinessMethodInterceptor.intercept(BusinessMethodInterceptor.java:84)
at com.splwg.cm.domain.admin.trendArea.CmlTrendAreaMeterReadEstimationAlgComp_Impl__.invoke(<generated>)
at com.splwg.base.support.algorithm.AbstractFromCobolAlgorithmWrapper.invoke(AbstractFromCobolAlgorithmWrapper.java:43)
at com.splwg.ccb.domain.admin.trendArea.TrendAreaMeterReadEstimationAlgorithmFromCobolWrapper_Gen.invoke(TrendAreaMeterReadEstimationAlgorithmFromCobolWrapper_Gen.java:55)
at sun.reflect.GeneratedMethodAccessor4943.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at com.splwg.base.support.cobol.CobolToJavaGateway$MethodDispatcherCache$MethodDispatcher.dispatchToRequestedMethod(CobolToJavaGateway.java:337)
at com.splwg.base.support.cobol.CobolToJavaGateway$MethodDispatcherCache$MethodDispatcher.access$300(CobolToJavaGateway.java:255)
at com.splwg.base.support.cobol.CobolToJavaGateway$MethodDispatcherCache.dispatchToRequestedMethod(CobolToJavaGateway.java:250)
at com.splwg.base.support.cobol.CobolToJavaGateway$MethodDispatcherCache.access$000(CobolToJavaGateway.java:232)
at com.splwg.base.support.cobol.CobolToJavaGateway.callJava(CobolToJavaGateway.java:65)
at com.splwg.base.support.cobol.host.command.CobolToJavaGatewayCommand.invoke(CobolToJavaGatewayCommand.java:33)
at com.splwg.base.support.cobol.host.SingleJvmRunner.invoke(SingleJvmRunner.java:22)
at com.splwg.base.support.cobol.host.CommandRunnerHolder.invoke(CommandRunnerHolder.java:31)
at com.splwg.base.support.cobol.host.CobolToJavaClient.privateCallJava(CobolToJavaClient.java:169)
at com.splwg.base.support.cobol.host.CobolToJavaClient.callJava(CobolToJavaClient.java:137)
at com.microfocus.cobol.RuntimeSystem.cobcall(Native Method)
at com.splwg.base.support.cobol.host.command.CallCobolCommand.invoke(CallCobolCommand.java:73)
at com.splwg.base.support.cobol.host.SingleJvmRunner.invoke(SingleJvmRunner.java:22)
at com.splwg.base.support.cobol.host.CommandRunnerHolder.invoke(CommandRunnerHolder.java:31)
at com.splwg.base.support.cobol.AbstractCobolProgram$CallCobolClosure.run(AbstractCobolProgram.java:195)
at com.splwg.base.support.interception.SessionInterceptionManager.notifyGenericCallStackJump(SessionInterceptionManager.java:268)
at com.splwg.base.support.context.FrameworkSession.notifyGenericCallStackJump(FrameworkSession.java:1683)
at com.splwg.base.support.cobol.AbstractCobolProgram$1.run(AbstractCobolProgram.java:115)
at com.splwg.base.support.batch.NewCobolThreadExecuter.run(NewCobolThreadExecuter.java:104)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
at com.splwg.base.support.cobol.host.CobolThread.run(CobolThread.java:36)
This is really a big problem for our stability, is anyone has the same problem and has solved it?
thank you in advance for any help and information.
Regards
Eric ZHOUThank you, Klaus. Sorry for the delayed response.
Since I could not install scheduler schema from the Administrator page under "Scheduler Configuration" I manually applied. Actually, one of the posts in the forum provided those tables. I created the following tables:
RTZ_BLOB_TRIGGERS
QRTZ_LOCKS
QRTZ_JOB_DETAILS
QRTZ_PAUSED_TRIGGER_GRPS
QRTZ_FIRED_TRIGGERS
SEQUENCE
QRTZ_JOB_LISTENERS
XMLP_SCHED_OUTPUT
QRTZ_SCHEDULER_STATE
XMLP_SCHED_SUBSCRIPTION
QRTZ_SIMPLE_TRIGGERS
XMLP_SCHED_JOB
I installed BI Published on my laptop (XP, SP3) and connecting to Oracle 10g, version 10.1.0.2.
Thanks indavance...
harry -
I am using Oracle forms 10.1.2.0.2 on Windows Xp and using a java bean taken from following location:
http://forms.pjc.bean.over-blog.com/ext/http://sheikyerbouti.developpez.com/forms-pjc-bean/first-bean/first_bean.pdf
Now when i deploy it in my development environment, then following errors is seen in Java Console:
>
Oracle JInitiator: Version 1.3.1.22
Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\mmunir
Proxy Configuration: no proxy
JAR cache enabled
Location: C:\Documents and Settings\mmunir\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall_jinit.jar FormsProperties.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
>
I have gone throug the following thread to fix this issue but to no avail.
Error oracle.forms.engine.Main not found.java.lang.ClassNotFoundException
Please help?Kindly find find below the required information:
<H1> formsweb.cfg file </H1>
>
[bean]
form=BEAN.fmx
userid=gl/xyz@orcl
baseHTMLjpi=basejpi.htm
baseHTMLJInitiator=basejpi.htm
jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
archive=frmall.jar FormsProperties.jar
jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
em_mode=0
>
<H1> Java Console </H1>
>
Java Plug-in 1.6.0_22
Using JRE version 1.6.0_22-b04 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\mmunir
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
basic: Starting applet teardown
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/lservlet;jsessionid=ac1201b922b9a3fdba952bbd446e914da8fd1a8d5ecd with proxy=DIRECT
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/ with proxy=DIRECT
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/lservlet;jsessionid=ac1201b922b9a3fdba952bbd446e914da8fd1a8d5ecd with proxy=DIRECT
basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@7b7b11
basic: Plugin2ClassLoader.addURL parent called for http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 464428 us, pluginInit dt 53483491 us, TotalTime: 53947919 us
basic: Applet initialized
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@7b7b11
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
Loaded image: jar:http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar!/oracle/forms/icons/splash.gif
Loaded image: jar:http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar!/oracle/forms/icons/oracle_logo.gif
Loaded image: jar:http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar!/oracle/forms/icons/bgnd.gif
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/oracle/forms/registry/Registry.dat, version: null]
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/oracle/forms/registry/Registry.dat with proxy=DIRECT
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/ with proxy=DIRECT
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/oracle/forms/registry/default.dat, version: null]
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/oracle/forms/registry/default.dat with proxy=DIRECT
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/frmservlet?Config=bean&acceptLanguage=en-us&ifcmd=startsession with proxy=DIRECT
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/lservlet;jsessionid=ac1201b922b9788bf36fce964dcdab6dd331b3d189df?ifcmd=getinfo&ifhost=ssi-mmunir&ifip=172.18.1.185 with proxy=DIRECT
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/lservlet;jsessionid=ac1201b922b9788bf36fce964dcdab6dd331b3d189df with proxy=DIRECT
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at com.sun.deploy.util.DeployAWTUtil.invokeAndWait(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.runOnEDT(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: Finished applet teardown
Forms Applet version is : 10.1.2.0
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/lservlet;jsessionid=ac1201b922b9788bf36fce964dcdab6dd331b3d189df with proxy=DIRECT
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/oracle/forms/demo/GetCanvasProp.class, version: null]
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/oracle/forms/demo/GetCanvasProp.class with proxy=DIRECT
java.lang.ClassNotFoundException: oracle.forms.demo.GetCanvasProp
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/oracle/forms/demo/GetCanvasProp.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 21 more
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/lservlet;jsessionid=ac1201b922b9788bf36fce964dcdab6dd331b3d189df with proxy=DIRECT
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/lservlet;jsessionid=ac1201b922b9788bf36fce964dcdab6dd331b3d189df with proxy=DIRECT
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/lservlet;jsessionid=ac1201b922b9788bf36fce964dcdab6dd331b3d189df with proxy=DIRECT
basic: Applet started
basic: Told clients applet is started
network: Connecting http://ssi-mmunir.ssilhr.com.pk:8889/forms/lservlet;jsessionid=ac1201b922b9788bf36fce964dcdab6dd331b3d189df with proxy=DIRECT
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null]
network: Cache entry not found [url: http://ssi-mmunir.ssilhr.com.pk:8889/forms/java/frmall.jar FormsProperties.jar, version: null] -
Blocked trying to get lock: java.lang.Class@[fat lock]
Joe,
Can you please help me understand what is going on with this thread dump? There is no dead lock; but I have stuck thread. Is it waiting an Oracle prepared statement?
===== FULL THREAD DUMP ===============
Wed Sep 4 16:12:27 2013
Oracle JRockit(R) R28.0.1-21-133393-1.6.0_20-20100512-2126-linux-x86_64
"Main Thread" id=1 idx=0x4 tid=26484 prio=5 alive, waiting, native_blocked
-- Waiting for notification on: weblogic/t3/srvr/T3Srvr@0x1398a8228[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)
at java/lang/Object.wait(Object.java:485)
at weblogic/t3/srvr/T3Srvr.waitForDeath(T3Srvr.java:902)
^-- Lock released while waiting: weblogic/t3/srvr/T3Srvr@0x1398a8228[fat lock]
at weblogic/t3/srvr/T3Srvr.run(T3Srvr.java:465)
at weblogic/Server.main(Server.java:67)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"(OC Main Thread)" id=2 idx=0x8 tid=26487 prio=5 alive, native_waiting, daemon
"(GC Worker Thread 1)" id=? idx=0xc tid=26488 prio=5 alive, daemon
"(GC Worker Thread 2)" id=? idx=0x10 tid=26489 prio=5 alive, daemon
"(GC Worker Thread 3)" id=? idx=0x14 tid=26490 prio=5 alive, daemon
"(GC Worker Thread 4)" id=? idx=0x18 tid=26491 prio=5 alive, daemon
"(Code Generation Thread 1)" id=3 idx=0x1c tid=26494 prio=5 alive, native_waiting, daemon
"(Code Optimization Thread 1)" id=4 idx=0x20 tid=26495 prio=5 alive, native_waiting, daemon
"(VM Periodic Task)" id=5 idx=0x24 tid=26496 prio=10 alive, native_blocked, daemon
"(Attach Listener)" id=6 idx=0x28 tid=26497 prio=5 alive, native_blocked, daemon
"Finalizer" id=7 idx=0x2c tid=26498 prio=8 alive, native_waiting, daemon
at jrockit/memory/Finalizer.waitForFinalizees(J[Ljava/lang/Object;)I(Native Method)
at jrockit/memory/Finalizer.access$700(Finalizer.java:12)
at jrockit/memory/Finalizer$4.run(Finalizer.java:189)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"Reference Handler" id=8 idx=0x30 tid=26499 prio=10 alive, native_waiting, daemon
at java/lang/ref/Reference.waitForActivatedQueue(J)Ljava/lang/ref/Reference;(Native Method)
at java/lang/ref/Reference.access$100(Reference.java:11)
at java/lang/ref/Reference$ReferenceHandler.run(Reference.java:82)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"(Sensor Event Thread)" id=9 idx=0x34 tid=26500 prio=5 alive, native_blocked, daemon
"VM JFR Buffer Thread" id=10 idx=0x38 tid=26501 prio=5 alive, in native, daemon
"Timer-0" id=13 idx=0x3c tid=26502 prio=5 alive, waiting, native_blocked, daemon
-- Waiting for notification on: java/util/TaskQueue@0x1399c29d0[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)
at java/lang/Object.wait(Object.java:485)
at java/util/TimerThread.mainLoop(Timer.java:483)
^-- Lock released while waiting: java/util/TaskQueue@0x1399c29d0[fat lock]
at java/util/TimerThread.run(Timer.java:462)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"Timer-1" id=14 idx=0x40 tid=26504 prio=5 alive, waiting, native_blocked, daemon
-- Waiting for notification on: java/util/TaskQueue@0x1399c2a58[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)
at java/util/TimerThread.mainLoop(Timer.java:509)
^-- Lock released while waiting: java/util/TaskQueue@0x1399c2a58[fat lock]
at java/util/TimerThread.run(Timer.java:462)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" id=15 idx=0x44 tid=26505 prio=5 alive, waiting, native_blocked, daemon
-- Waiting for notification on: weblogic/work/ExecuteThread@0x1399c3848[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at jrockit/vm/Locks.wait(Locks.java:1964)[inlined]
at java/lang/Object.wait(Object.java:485)[inlined]
at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:157)[optimized]
^-- Lock released while waiting: weblogic/work/ExecuteThread@0x1399c3848[fat lock]
at weblogic/work/ExecuteThread.run(ExecuteThread.java:178)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"JFR request timer" id=16 idx=0x48 tid=26506 prio=5 alive, waiting, native_blocked, daemon
-- Waiting for notification on: java/util/TaskQueue@0x1399c2ae0[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)
at java/lang/Object.wait(Object.java:485)
at java/util/TimerThread.mainLoop(Timer.java:483)
^-- Lock released while waiting: java/util/TaskQueue@0x1399c2ae0[fat lock]
at java/util/TimerThread.run(Timer.java:462)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"weblogic.time.TimeEventGenerator" id=18 idx=0x4c tid=26507 prio=9 alive, waiting, native_blocked, daemon
-- Waiting for notification on: weblogic/time/common/internal/TimeTable@0x1399c5070[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)
at weblogic/time/common/internal/TimeTable.snooze(TimeTable.java:286)
^-- Lock released while waiting: weblogic/time/common/internal/TimeTable@0x1399c5070[fat lock]
at weblogic/time/common/internal/TimeEventGenerator.run(TimeEventGenerator.java:117)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"JMAPI event thread" id=19 idx=0x50 tid=26508 prio=5 alive, in native, daemon
"weblogic.timers.TimerThread" id=20 idx=0x54 tid=26509 prio=9 alive, waiting, native_blocked, daemon
-- Waiting for notification on: weblogic/timers/internal/TimerThread@0x1399c2c08[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)
at weblogic/timers/internal/TimerThread$Thread.run(TimerThread.java:262)
^-- Lock released while waiting: weblogic/timers/internal/TimerThread@0x1399c2c08[fat lock]
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" id=21 idx=0x58 tid=26510 prio=5 alive, waiting, native_blocked, daemon
-- Waiting for notification on: weblogic/work/ExecuteThread@0x1399c3930[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at jrockit/vm/Locks.wait(Locks.java:1964)[inlined]
at java/lang/Object.wait(Object.java:485)[inlined]
at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:157)[optimized]
^-- Lock released while waiting: weblogic/work/ExecuteThread@0x1399c3930[fat lock]
at weblogic/work/ExecuteThread.run(ExecuteThread.java:178)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"NM Reaper" id=24 idx=0x5c tid=26512 prio=5 alive, waiting, native_blocked, daemon
-- Waiting for notification on: java/util/TaskQueue@0x1399c5938[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)
at java/util/TimerThread.mainLoop(Timer.java:509)
^-- Lock released while waiting: java/util/TaskQueue@0x1399c5938[fat lock]
at java/util/TimerThread.run(Timer.java:462)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'" id=25 idx=0x60 tid=26514 prio=5 alive, blocked, native_blocked, daemon
-- Blocked trying to get lock: java/lang/String@0x13898d7f0[fat lock]
at jrockit/vm/Threads.waitForUnblockSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(Locks.java:1402)[optimized]
at jrockit/vm/Locks.lockFat(Locks.java:1503)[optimized]
at jrockit/vm/Locks.monitorEnterSecondStageHard(Locks.java:1045)[optimized]
at jrockit/vm/Locks.monitorEnterSecondStage(Locks.java:996)[optimized]
at jrockit/vm/Locks.monitorEnter(Locks.java:2170)[optimized]
at weblogic/socket/EPollSocketMuxer.processSockets(EPollSocketMuxer.java:153)
at weblogic/socket/SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'" id=26 idx=0x64 tid=26515 prio=5 alive, in native, daemon
at jrockit/ext/epoll/EPoll.epollWait0(ILjava/nio/ByteBuffer;II)I(Native Method)
at jrockit/ext/epoll/EPoll.epollWait(EPoll.java:115)
at weblogic/socket/EPollSocketMuxer.processSockets(EPollSocketMuxer.java:156)
^-- Holding lock: java/lang/String@0x13898d7f0[fat lock]
at weblogic/socket/SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'" id=27 idx=0x68 tid=26516 prio=5 alive, blocked, native_blocked, daemon
-- Blocked trying to get lock: java/lang/String@0x13898d7f0[fat lock]
at jrockit/vm/Threads.waitForUnblockSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(Locks.java:1402)[optimized]
at jrockit/vm/Locks.lockFat(Locks.java:1503)[optimized]
at jrockit/vm/Locks.monitorEnterSecondStageHard(Locks.java:1045)[optimized]
at jrockit/vm/Locks.monitorEnterSecondStage(Locks.java:996)[optimized]
at jrockit/vm/Locks.monitorEnter(Locks.java:2170)[optimized]
at weblogic/socket/EPollSocketMuxer.processSockets(EPollSocketMuxer.java:153)
at weblogic/socket/SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"ExecuteThread: '3' for queue: 'weblogic.socket.Muxer'" id=28 idx=0x6c tid=26517 prio=5 alive, blocked, native_blocked, daemon
-- Blocked trying to get lock: java/lang/String@0x13898d7f0[fat lock]
at jrockit/vm/Threads.waitForUnblockSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(Locks.java:1402)[inlined]
at jrockit/vm/Locks.fatLockReacquire(Locks.java:1640)[optimized]
at jrockit/vm/Locks.lockFat(Locks.java:1508)[optimized]
at jrockit/vm/Locks.monitorEnterSecondStageHard(Locks.java:1045)[optimized]
at jrockit/vm/Locks.monitorEnterSecondStage(Locks.java:996)[optimized]
at jrockit/vm/Locks.monitorEnter(Locks.java:2170)[optimized]
at weblogic/socket/EPollSocketMuxer.processSockets(EPollSocketMuxer.java:153)
at weblogic/socket/SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"VDE Transaction Processor Thread" id=31 idx=0x70 tid=26559 prio=2 alive, waiting, native_blocked, daemon
-- Waiting for notification on: com/octetstring/vde/backend/standard/TransactionProcessor@0x1399c3ab8[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)
at java/lang/Object.wait(Object.java:485)
at com/octetstring/vde/backend/standard/TransactionProcessor.waitChange(TransactionProcessor.java:367)
^-- Lock released while waiting: com/octetstring/vde/backend/standard/TransactionProcessor@0x1399c3ab8[fat lock]
at com/octetstring/vde/backend/standard/TransactionProcessor.run(TransactionProcessor.java:212)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"UCP-worker-thread-16" id=485 idx=0x74 tid=1649 prio=5 alive, parked, native_blocked, daemon
-- Parking to wait for: java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject@0x106f68908
at jrockit/vm/Locks.park0(J)V(Native Method)
at jrockit/vm/Locks.park(Locks.java:2221)[inlined]
at jrockit/proxy/sun/misc/Unsafe.park(Unsafe.java:592)[inlined]
at java/util/concurrent/locks/LockSupport.park(LockSupport.java:158)[inlined]
at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)[optimized]
at java/util/concurrent/LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)[optimized]
at java/util/concurrent/ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)[optimized]
at java/util/concurrent/ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"DoSManager" id=34 idx=0x78 tid=26561 prio=6 alive, sleeping, native_waiting, daemon
at java/lang/Thread.sleep(J)V(Native Method)
at com/octetstring/vde/DoSManager.run(DoSManager.java:433)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"Timer-2" id=35 idx=0x7c tid=26562 prio=5 alive, waiting, native_blocked, daemon
-- Waiting for notification on: java/util/TaskQueue@0x1399c5df8[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)
at java/util/TimerThread.mainLoop(Timer.java:509)
^-- Lock released while waiting: java/util/TaskQueue@0x1399c5df8[fat lock]
at java/util/TimerThread.run(Timer.java:462)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"OracleTimeoutPollingThread" id=36 idx=0x80 tid=26585 prio=10 alive, sleeping, native_waiting, daemon
at java/lang/Thread.sleep(J)V(Native Method)
at oracle/jdbc/driver/OracleTimeoutPollingThread.run(OracleTimeoutPollingThread.java:155)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"Thread-14" id=37 idx=0x84 tid=26586 prio=5 alive, parked, native_blocked, daemon
-- Parking to wait for: java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject@0x1399c6018
at jrockit/vm/Locks.park0(J)V(Native Method)
at jrockit/vm/Locks.park(Locks.java:2221)[inlined]
at jrockit/proxy/sun/misc/Unsafe.park(Unsafe.java:592)[inlined]
at java/util/concurrent/locks/LockSupport.park(LockSupport.java:158)[inlined]
at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)[optimized]
at java/util/concurrent/LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)[optimized]
at weblogic/utils/concurrent/JDK15ConcurrentBlockingQueue.take(JDK15ConcurrentBlockingQueue.java:89)
at weblogic/store/internal/PersistentStoreImpl.getOutstandingWork(PersistentStoreImpl.java:650)
at weblogic/store/internal/PersistentStoreImpl.run(PersistentStoreImpl.java:707)
at weblogic/store/internal/PersistentStoreImpl$2.run(PersistentStoreImpl.java:464)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"JPS FileChangeNotifier<clean-only>" id=38 idx=0x88 tid=26587 prio=5 alive, parked, native_blocked, daemon
at jrockit/vm/Locks.park0(J)V(Native Method)
at jrockit/vm/Locks.park(Locks.java:2221)
at jrockit/proxy/sun/misc/Unsafe.park(Unsafe.java:592)[inlined]
at java/util/concurrent/locks/LockSupport.parkNanos(LockSupport.java:198)[inlined]
at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)[optimized]
at java/util/concurrent/DelayQueue.take(DelayQueue.java:164)[optimized]
at java/util/concurrent/ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583)[inlined]
at java/util/concurrent/ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:576)[optimized]
at java/util/concurrent/ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)[optimized]
at java/util/concurrent/ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"LogFlusher" id=39 idx=0x8c tid=26588 prio=5 alive, sleeping, native_waiting, daemon
at java/lang/Thread.sleep(J)V(Native Method)
at oracle/core/ojdl/BufferedLogWriter$Flusher.run(BufferedLogWriter.java:409)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"LogFlusher" id=40 idx=0x90 tid=26589 prio=5 alive, sleeping, native_waiting, daemon
at java/lang/Thread.sleep(J)V(Native Method)
at oracle/core/ojdl/BufferedLogWriter$Flusher.run(BufferedLogWriter.java:409)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"LogFlusher" id=41 idx=0x94 tid=26590 prio=5 alive, sleeping, native_waiting, daemon
at java/lang/Thread.sleep(J)V(Native Method)
at oracle/core/ojdl/BufferedLogWriter$Flusher.run(BufferedLogWriter.java:409)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'" id=265 idx=0x98 tid=28296 prio=5 alive, waiting, native_blocked, daemon
-- Waiting for notification on: weblogic/work/ExecuteThread@0x106f29288[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at jrockit/vm/Locks.wait(Locks.java:1964)[inlined]
at java/lang/Object.wait(Object.java:485)[inlined]
at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:157)[optimized]
^-- Lock released while waiting: weblogic/work/ExecuteThread@0x106f29288[fat lock]
at weblogic/work/ExecuteThread.run(ExecuteThread.java:178)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"Thread-71" id=266 idx=0x9c tid=28297 prio=10 alive, sleeping, native_waiting, daemon
at java/lang/Thread.sleep(J)V(Native Method)
at oracle/wsm/policyaccess/impl/cache/PolicyCacheImpl$BackTracingSynchronizationThread.run(PolicyCacheImpl.java:759)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"Thread-70" id=264 idx=0xa0 tid=28295 prio=10 alive, parked, native_blocked, daemon
-- Parking to wait for: java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject@0x106f3df50
at jrockit/vm/Locks.park0(J)V(Native Method)
at jrockit/vm/Locks.park(Locks.java:2221)
at sun/misc/Unsafe.park(ZJ)V(Native Method)
at java/util/concurrent/locks/LockSupport.park(LockSupport.java:158)
at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
at java/util/concurrent/LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)
at oracle/mds/internal/notifications/EventDispatcherThread.run(EventDispatcherThread.java:54)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"oracle.dfw.impl.incident - ADR Executor (created: Fri Aug 30 01:12:40 GMT 2013)" id=45 idx=0xa4 tid=26601 prio=5 alive, parked, native_blocked, daemon
-- Parking to wait for: java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject@0x1399c6698
at jrockit/vm/Locks.park0(J)V(Native Method)
at jrockit/vm/Locks.park(Locks.java:2221)[inlined]
at jrockit/proxy/sun/misc/Unsafe.park(Unsafe.java:592)[inlined]
at java/util/concurrent/locks/LockSupport.park(LockSupport.java:158)[inlined]
at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)[optimized]
at java/util/concurrent/LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)[optimized]
at java/util/concurrent/ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)[optimized]
at java/util/concurrent/ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@37a58fc8" id=394 idx=0xa8 tid=28767 prio=10 alive, in native, daemon
at jrockit/net/SocketNativeIO.readBytesPinned(Ljava/io/FileDescriptor;[BIII)I(Native Method)
at jrockit/net/SocketNativeIO.socketRead(SocketNativeIO.java:32)[inlined]
at java/net/SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I(SocketInputStream.java)[inlined]
at java/net/SocketInputStream.read(SocketInputStream.java:129)[optimized]
at oracle/net/nt/MetricsEnabledInputStream.read(TcpNTAdapter.java:564)[optimized]
at oracle/net/ns/Packet.receive(Packet.java:295)[inlined]
at oracle/net/ns/DataPacket.receive(DataPacket.java:94)[optimized]
at oracle/net/ns/NetInputStream.getNextPacket(NetInputStream.java:176)[optimized]
at oracle/net/ns/NetInputStream.read(NetInputStream.java:121)[inlined]
at oracle/net/ns/NetInputStream.read(NetInputStream.java:96)[inlined]
at oracle/net/ns/NetInputStream.read(NetInputStream.java:81)[optimized]
at oracle/jdbc/driver/T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:124)[optimized]
at oracle/jdbc/driver/T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:80)[inlined]
at oracle/jdbc/driver/T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1087)[optimized]
at oracle/jdbc/driver/T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1062)[inlined]
at oracle/jdbc/driver/T4C8Oall.receive(T4C8Oall.java:625)[optimized]
at oracle/jdbc/driver/T4CCallableStatement.doOall8(T4CCallableStatement.java:201)[inlined]
at oracle/jdbc/driver/T4CCallableStatement.executeForRows(T4CCallableStatement.java:1036)[optimized]
at oracle/jdbc/driver/OracleStatement.doExecuteWithTimeout(OracleStatement.java:1379)[optimized]
at oracle/jdbc/driver/OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3568)[optimized]
at oracle/jdbc/driver/OraclePreparedStatement.execute(OraclePreparedStatement.java:3739)[optimized]
^-- Holding lock: oracle/jdbc/driver/T4CConnection@0x125a827f8[recursive]
at oracle/jdbc/driver/OracleCallableStatement.execute(OracleCallableStatement.java:8150)[optimized]
^-- Holding lock: oracle/jdbc/driver/T4CConnection@0x125a827f8[thin lock]
at oracle/jdbc/driver/OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)[optimized]
at weblogic/jdbc/wrapper/PreparedStatement.execute(PreparedStatement.java:99)[optimized]
at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.readEvent(SAQBusinessEventBus.java:1232)[optimized]
at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.handleSingleQueueEvent(SAQBusinessEventBus.java:687)[optimized]
at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.handleQueueEvents(SAQBusinessEventBus.java:660)
at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.access$000(SAQBusinessEventBus.java:71)
at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus$1.run(SAQBusinessEventBus.java:319)
at oracle/integration/platform/blocks/executor/WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
at weblogic/work/j2ee/J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic/work/DaemonWorkThread.run(DaemonWorkThread.java:30)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"oracle.dfw.incident.IncidentCreatorThread" id=47 idx=0xac tid=26603 prio=5 alive, waiting, native_blocked, daemon
-- Waiting for notification on: java/util/ArrayList@0x1399c6780[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)
at java/lang/Object.wait(Object.java:485)
at oracle/dfw/impl/incident/DiagnosticsDataExtractorImpl$IncidentCreatorThread.run(DiagnosticsDataExtractorImpl.java:1597)
^-- Lock released while waiting: java/util/ArrayList@0x1399c6780[fat lock]
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"oracle.dfw.incident.FloodController" id=49 idx=0xb4 tid=26606 prio=5 alive, waiting, native_blocked, daemon
-- Waiting for notification on: java/lang/Object@0x1399c6868[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)
at oracle/dfw/impl/incident/FloodController.run(FloodController.java:136)
^-- Lock released while waiting: java/lang/Object@0x1399c6868[fat lock]
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"UCP-worker-thread-16" id=487 idx=0xb8 tid=1681 prio=5 alive, parked, native_blocked, daemon
-- Parking to wait for: java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject@0x106f89660
at jrockit/vm/Locks.park0(J)V(Native Method)
at jrockit/vm/Locks.park(Locks.java:2221)[inlined]
at jrockit/proxy/sun/misc/Unsafe.park(Unsafe.java:592)[inlined]
at java/util/concurrent/locks/LockSupport.park(LockSupport.java:158)[inlined]
at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)[optimized]
at java/util/concurrent/LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)[optimized]
at java/util/concurrent/ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)[optimized]
at java/util/concurrent/ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"Thread-72" id=267 idx=0xbc tid=28298 prio=10 alive, sleeping, native_waiting, daemon
at java/lang/Thread.sleep(J)V(Native Method)
at oracle/wsm/policyaccess/impl/cache/PolicyCacheImpl$PolicyCacheRefreshThread.run(PolicyCacheImpl.java:915)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@37a58d77" id=393 idx=0xc0 tid=28766 prio=10 alive, in native, daemon
at jrockit/net/SocketNativeIO.readBytesPinned(Ljava/io/FileDescriptor;[BIII)I(Native Method)
at jrockit/net/SocketNativeIO.socketRead(SocketNativeIO.java:32)[inlined]
at java/net/SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I(SocketInputStream.java)[inlined]
at java/net/SocketInputStream.read(SocketInputStream.java:129)[optimized]
at oracle/net/nt/MetricsEnabledInputStream.read(TcpNTAdapter.java:564)[optimized]
at oracle/net/ns/Packet.receive(Packet.java:295)[inlined]
at oracle/net/ns/DataPacket.receive(DataPacket.java:94)[optimized]
at oracle/net/ns/NetInputStream.getNextPacket(NetInputStream.java:176)[optimized]
at oracle/net/ns/NetInputStream.read(NetInputStream.java:121)[inlined]
at oracle/net/ns/NetInputStream.read(NetInputStream.java:96)[inlined]
at oracle/net/ns/NetInputStream.read(NetInputStream.java:81)[optimized]
at oracle/jdbc/driver/T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:124)[optimized]
at oracle/jdbc/driver/T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:80)[inlined]
at oracle/jdbc/driver/T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1087)[optimized]
at oracle/jdbc/driver/T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1062)[inlined]
at oracle/jdbc/driver/T4C8Oall.receive(T4C8Oall.java:625)[optimized]
at oracle/jdbc/driver/T4CCallableStatement.doOall8(T4CCallableStatement.java:201)[inlined]
at oracle/jdbc/driver/T4CCallableStatement.executeForRows(T4CCallableStatement.java:1036)[optimized]
at oracle/jdbc/driver/OracleStatement.doExecuteWithTimeout(OracleStatement.java:1379)[optimized]
at oracle/jdbc/driver/OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3568)[optimized]
at oracle/jdbc/driver/OraclePreparedStatement.execute(OraclePreparedStatement.java:3739)[optimized]
^-- Holding lock: oracle/jdbc/driver/T4CConnection@0x12e33e6b8[recursive]
at oracle/jdbc/driver/OracleCallableStatement.execute(OracleCallableStatement.java:8150)[optimized]
^-- Holding lock: oracle/jdbc/driver/T4CConnection@0x12e33e6b8[thin lock]
at oracle/jdbc/driver/OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)[optimized]
at weblogic/jdbc/wrapper/PreparedStatement.execute(PreparedStatement.java:99)[optimized]
at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.readOAOODelivery(SAQBusinessEventBus.java:1302)[optimized]
at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.handleSingleOAOODelivery(SAQBusinessEventBus.java:750)[optimized]
at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.handleQueueEvents(SAQBusinessEventBus.java:669)
at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.access$000(SAQBusinessEventBus.java:71)
at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus$1.run(SAQBusinessEventBus.java:319)
at oracle/integration/platform/blocks/executor/WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
at weblogic/work/j2ee/J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic/work/DaemonWorkThread.run(DaemonWorkThread.java:30)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@37a4ecb8" id=392 idx=0xc4 tid=28765 prio=10 alive, in native, daemon
at jrockit/net/SocketNativeIO.readBytesPinned(Ljava/io/FileDescriptor;[BIII)I(Native Method)
at jrockit/net/SocketNativeIO.socketRead(SocketNativeIO.java:32)[inlined]
at java/net/SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I(SocketInputStream.java)[inlined]
at java/net/SocketInputStream.read(SocketInputStream.java:129)[optimized]
at oracle/net/nt/MetricsEnabledInputStream.read(TcpNTAdapter.java:564)[optimized]
at oracle/net/ns/Packet.receive(Packet.java:295)[inlined]
at oracle/net/ns/DataPacket.receive(DataPacket.java:94)[optimized]
at oracle/net/ns/NetInputStream.getNextPacket(NetInputStream.java:176)[optimized]
at oracle/net/ns/NetInputStream.read(NetInputStream.java:121)[inlined]
at oracle/net/ns/NetInputStream.read(NetInputStream.java:96)[inlined]
at oracle/net/ns/NetInputStream.read(NetInputStream.java:81)[optimized]
at oracle/jdbc/driver/T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:124)[optimized]
at oracle/jdbc/driver/T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:80)[inlined]
at oracle/jdbc/driver/T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1087)[optimized]
at oracle/jdbc/driver/T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1062)[inlined]
at oracle/jdbc/driver/T4C8Oall.receive(T4C8Oall.java:625)[optimized]
at oracle/jdbc/driver/T4CCallableStatement.doOall8(T4CCallableStatement.java:201)[inlined]
at oracle/jdbc/driver/T4CCallableStatement.executeForRows(T4CCallableStatement.java:1036)[optimized]
at oracle/jdbc/driver/OracleStatement.doExecuteWithTimeout(OracleStatement.java:1379)[optimized]
at oracle/jdbc/driver/OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3568)[optimized]
at oracle/jdbc/driver/OraclePreparedStatement.execute(OraclePreparedStatement.java:3739)[optimized]
^-- Holding lock: oracle/jdbc/driver/T4CConnection@0x125a80ae8[recursive]
at oracle/jdbc/driver/OracleCallableStatement.execute(OracleCallableStatement.java:8150)[optimized]
^-- Holding lock: oracle/jdbc/driver/T4CConnection@0x125a80ae8[thin lock]
at oracle/jdbc/driver/OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)[optimized]
at weblogic/jdbc/wrapper/PreparedStatement.execute(PreparedStatement.java:99)[optimized]
at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.readEvent(SAQBusinessEventBus.java:1232)[optimized]
at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.handleSingleQueueEvent(SAQBusinessEventBus.java:687)[optimized]
at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.handleQueueEvents(SAQBusinessEventBus.java:660)
at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.access$000(SAQBusinessEventBus.java:71)
at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus$1.run(SAQBusinessEventBus.java:319)
at oracle/integration/platform/blocks/executor/WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
at weblogic/work/j2ee/J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic/work/DaemonWorkThread.run(DaemonWorkThread.java:30)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"UCP-worker-thread-16" id=488 idx=0xc8 tid=1682 prio=5 alive, parked, native_blocked, daemon
-- Parking to wait for: java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject@0x102a76870
at jrockit/vm/Locks.park0(J)V(Native Method)
at jrockit/vm/Locks.park(Locks.java:2221)[inlined]
at jrockit/proxy/sun/misc/Unsafe.park(Unsafe.java:592)[inlined]
at java/util/concurrent/locks/LockSupport.park(LockSupport.java:158)[inlined]
at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)[optimized]
at java/util/concurrent/LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)[optimized]
at java/util/concurrent/ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)[optimized]
at java/util/concurrent/ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java/lang/Thread.run(Thread.java:619)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@37afc2f4" id=396 idx=0xcc tid=28769 prio=10 alive, sleeping, native_waiting, daemon
at java/lang/Thread.sleep(J)V(Native Method)
at oracle/tip/mediator/common/listener/DBLocker.enqueueLockedMessages(DBLocker.java:213)[optimized]
at oracle/tip/mediator/common/listener/DBLocker.run(DBLocker.java:84)
at oracle/integration/platform/blocks/executor/WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
at weblogic/work/j2ee/J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic/work/DaemonWorkThread.run(DaemonWorkThread.java:30)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"LogFlusher" id=56 idx=0xd0 tid=26614 prio=5 alive, sleeping, native_waiting, daemon
at java/lang/Thread.sleep(J)V(Native Method)
at oracle/core/ojdl/BufferedLogWriter$Flusher.run(BufferedLogWriter.java:409)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace
"weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@37afb4b1" id=395 idx=0xd4 tid=28768 prio=10 alive, parked, native_blocked, daemon
at jrockit/vm/Locks.park0(J)V(Native Method)
at jrockit/vm/Locks.park(Locks.java:2221)
at jrockit/proxy/sun/misc/Unsafe.park(Unsafe.java:592)[inlined]
at java/util/concurrent/locks/LockSupport.parkNanos(LockSupport.java:198)[inlined]
at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)[optimized]
at java/util/concurrent/LinkedBlockingQueue.poll(LinkedBlockingQueue.java:424)[optimized]
at oracle/tip/mediator/common/listener/AbstractWorker.run(AbstractWorker.java:64)
at oracle/integration/platform/blocks/executor/WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
at weblogic/work/j2ee/J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
You need to open a support case, and it's for the application, not WebLogic. You have threads deadlocked
in application code.
Circular (deadlocked) lock chains
=================================
Chain 5:
"[STUCK] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'" id=577 idx=0x560 tid=5192 waiting for java/util/concurrent/locks/ReentrantLock$NonfairSync@0x3895ee610 held by:
"[STUCK] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'" id=433 idx=0x278 tid=30215 waiting for java/util/concurrent/locks/ReentrantLock$NonfairSync@0x38a904880 held by:
"[STUCK] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'" id=577 idx=0x560 tid=5192 -
Java.lang.IllegalStateException: Exceeded maximum number of waiting threads
Hi all,
I use coherence3.3.1,coherence work as hibernate L2 cache and meet following problem,could you help me check the problem?thanks.
java.lang.IllegalStateException: Exceeded maximum number of waiting threads (Status=2)
at com.tangosol.net.cache.OverflowMap$Status.waitForAvailable(OverflowMap.java:4029)
at com.tangosol.net.cache.OverflowMap.prepareStatus(OverflowMap.java:2152)
at com.tangosol.net.cache.OverflowMap.beginKeyProcess(OverflowMap.java:1873)
at com.tangosol.net.cache.OverflowMap.getInternal(OverflowMap.java:580)
at com.tangosol.net.cache.OverflowMap.get(OverflowMap.java:330)
at com.tangosol.coherence.component.util.CacheHandler.getLease(CacheHandler.CDB:3)
at com.tangosol.coherence.component.util.CacheHandler.getCachedResource(CacheHandler.CDB:10)
at com.tangosol.coherence.component.util.CacheHandler.get(CacheHandler.CDB:1)
at com.tangosol.coherence.component.util.SafeNamedCache.get(SafeNamedCache.CDB:1)
at com.tangosol.coherence.hibernate.CoherenceCache.get(CoherenceCache.java:65)
at org.hibernate.cache.StandardQueryCache.get(StandardQueryCache.java:105)
at org.hibernate.loader.Loader.getResultFromQueryCache(Loader.java:2152)
at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2117)
at org.hibernate.loader.Loader.list(Loader.java:2087)
at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:289)
at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1695)
at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:142)
at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:150)
at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:804)
jHi,
Can you please provide the relevant coherence config files?
thanks,
-Rob -
Java.lang.Process input stream waiting until process is complete to print
I have tried to simplify this problem as much as possible. Basically, I have a java.lang.Process which executes a simple C program.
test.c
#include <stdio.h>
#include <unistd.h>
int main()
printf("foo\n");
sleep(2);
printf("bar\n");
...The process has an input stream and error stream handler each on a separate thread. I have tried both buffered and unbuffered (BufferedReader, BufferedInputStream, InputStreamReader...) stream handlers. Both produce the same problem of waiting until the process has exited to receive anything from the process's streams.
The only time this does not happen is when I call fflush(stdout); after each printf(). This can't be a solution because the real application calls a massive C application which would require thousands of fflush()'s to be added. What is causing this to happen? This doesn't happen when the C program is executed from the shell. Is there a way the InputStream can be forced to extract from the stream?hi.....
I have closed the output stream of the process as you told me to do...
The hitch is that, if my program contains only printf() statements,it works fine
as soon as scanf() statement is encountered within the C code,it is totally neglected,and the output comes as if no scanf() statement existed in the C code.
Consequently the thread doesnt wait for input which was bound for scanf() from the thread
the code...
public void run()
try
PrintWriter out = new PrintWriter(socket.getOutputStream(),true);
BufferedReader in = new BufferedReader(
new InputStreamReader(
socket.getInputStream()));
try
Process p;
p=new ProcessBuilder("./a.out").start();
PrintWriter exOut=null;
BufferedReader exIn=null;
exOut = new PrintWriter(p.getOutputStream(),true);
exIn = new BufferedReader(
new InputStreamReader(
p.getInputStream()));
//String inputLine="", outputLine="";
String str="";
int c;
while(true)
//System.out.println("In While");
str="";exOut.close();
while((c=exIn.read())!=-1)
str=str+(char)(c);
System.out.print(str);
str=str+(char)(0);
System.out.print(str+"outside");
out.print(str);
sleep(100);
try
int x=p.exitValue();
out.print(str);
System.out.print("Bye 1");
String str1="Bye"+(char)(0);
out.println(str1);
break;
catch(IllegalThreadStateException e)
//System.out.println("The Process has not ended yet");
//str=str+((char)-1);
//System.out.print(str+"Control reaches here too");
str="";
exOut = new PrintWriter(p.getOutputStream(),true);//I have tried to run the program without this also but the effect is the same
while((c=in.read())!=-1)
str=str+(char)(c);
if(str.contentEquals(""))
System.out.print("Bye 2");
String str1="Bye"+(char)(0);
out.println(str1);
p.destroy();
exOut.close();
exIn.close();
out.close();
in.close();
socket.close();
break;
//str=str+(char)(0);
exOut.print(str);
try
int x=p.exitValue();
System.out.print("Bye 3");
String str1="Bye"+(char)(0);
out.println(str1);
break;
catch(IllegalThreadStateException e)
//System.out.println("The Process has not ended yet");
/*while ((inputLine = in.readLine()) != null)
exOut.println(inputLine);
outputLine=exIn.readLine();
//outputLine=inputLine;
//out.println(outputLine);}*/
exOut.close();
exIn.close();
catch(IOException e)
System.err.println("Accept failed."+e);
out.close();
in.close();
socket.close();
catch (Exception e)
e.printStackTrace();
} -
From the following thread dump, my thread is waiting on some condition due to the deserialization process. How do I find out what that condition is?
"EventSet Archiving" prio=1 tid=0x081cfb28 nid=0x31ab waiting on condition [619a4000..619a5854]
at sun.reflect.GeneratedSerializationConstructorAccessor2926.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:788)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1631)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at java.util.HashMap.readObject(HashMap.java:1006)
at sun.reflect.GeneratedMethodAccessor404.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at com.dartcontainer.mdc.picaps.dbaccess.EventTable$1.get(EventTable.java:49)
at com.dartcontainer.mdc.picaps.dbaccess.EventTable$1.get(EventTable.java:44)
at com.dartcontainer.mdc.picaps.dbaccess.Cache.get(Cache.java:110)
at com.dartcontainer.mdc.picaps.dbaccess.EventTable.resultToObject(EventTable.java:43)
at com.dartcontainer.mdc.picaps.dbaccess.EventTable.resultToObject(EventTable.java:24)
at com.dartcontainer.mdc.picaps.dbaccess.AbstractTable.resultToObject(AbstractTable.java:239)
at com.dartcontainer.mdc.picaps.dbaccess.EventTable.resultToObject(EventTable.java:24)
at com.dartcontainer.mdc.picaps.dbaccess.AbstractTable.resultToList(AbstractTable.java:88)
at com.dartcontainer.mdc.picaps.dbaccess.EventTable.getEvents(EventTable.java:194)
at com.dartcontainer.mdc.picaps.dbaccess.EventSetPersister.archiveEventsBetween(EventSetPersister.java:149)
- locked <0x464d73b0> (a com.dartcontainer.mdc.picaps.dbaccess.EventSetPersister)
at com.dartcontainer.mdc.picaps.dbaccess.EventSetPersister.archiveEvents(EventSetPersister.java:113)
at com.dartcontainer.mdc.picaps.dbaccess.EventSetPersister.run(EventSetPersister.java:81)
at java.util.TimerThread.mainLoop(Timer.java:432)
at java.util.TimerThread.run(Timer.java:382)The answer you probably don't want to hear, is buy yourself a good profiler.
(e.g. www.jprofiler.com)
Or at least download it and test it during the trial. I'll at least get you through this.
You can profile threads to see what monitor they are waiting on, who has it currently, etc.
Something I like to do is create seperate (inner) classes for each monitor instance I use.
e.g. class IoLock1 extends Object{} IoLock1 lock1 = new IoLock1();This makes things more clear in the profiler which shows the class of the monitor in question. -
Hello,
Intermittently users get the following error when logging into the application which is built upon xmii:
com.microsoft.sqlserver.jdbc.SQLServerResource
At this point in the application it is trying to read information which is stored in a SQLServer database.
We see the following errors in trace files:
application [XMII] Processing HTTP request to servlet [Illuminator] finished with error.
The error is: com.sap.xmii.Illuminator.logging.LHException: com.sap.xmii.Illuminator.logging.LHException: java.lang.NoClassDefFoundError: com.microsoft.sqlserver.jdbc.SQLServerResource
Exception id: [00145E4D6... [see details]
This is running on a NW JavaAs 7.0 SP18, MII 12.0 SP8.
We've replaced the JDBC driver with one which SAP support told us would work, but that did not fix the problem either.
We can get the problem to go away for a period of time by simply disabling and then re-enabling the Data Server connection. It is using the IDBC Connector with a SQL connector type. STATUS shows No. Connections Used 0, No. Connections Available 1, Max No. Connections Used 2. Max. Wait Time 0.0.
Ideas?Hi John,
Before connecting SQL server with SAP MII, try connecting SQL server independently.
It helps to narrow down the problem.
If the independent connection works fine, try connecting with SAP MII with proper JDBC drivers
Go through the SAP Note 1109274 & forum MII 12.1 - connection to MS SQL2005 database
for more information on JDBC drivers.
Thanks
Rajesh Sivaprakasam. -
XML Publisher Report - java.lang.OutOfMemoryError
Hi All,
Apps - 11.5.10.2
XML Publisher - 5.6.3
When the request being run for huge data, its getting out of momory error.
We have already tried the below options
Modified the teo profiles and 3 Fo processing properties in both the template and the data definition as follows as given in the notes 563181.1 and 563945.1
Error in OPP logs
[12/30/09 2:49:05 AM] [STATEMENT] [GSMServiceController:2921265] Getting next event...
Exception: java.lang.OutOfMemoryError
[12/30/09 2:49:46 AM] [java.lang.OutOfMemoryError
[12/30/09 2:54:24 AM] [STATEMENT] [OPPServiceThread1] 1 threads running
[12/30/09 2:55:18 AM] [java.lang.OutOfMemoryErrorjava.lang.OutOfMemoryError
java.lang.OutOfMemoryError
And finally the request ended in warning and the OPP got terminated.
[java.io.tmpdir] - Has about 3 G of free space
[APPLTMP] - Has more than 50G of free space
Please advice.
Thanks & Regards,
RakeshHi Hussein,
Reviewed those notes.... initially we got errors like
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:624)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:421)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:233)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
Caused by: java.lang.ThreadDeath
at java.lang.Thread.stop(Thread.java:630)
at oracle.apps.fnd.cp.opp.OPPRequestThreadManager.terminateThread(OPPRequestThreadManager.java:207)
at oracle.apps.fnd.cp.opp.OPPTerminateCommand.execute(OPPTerminateCommand.java:45)
at oracle.apps.fnd.cp.opp.OPPServiceThread.processMessage(OPPServiceThread.java:240)
at oracle.apps.fnd.cp.opp.OPPServiceThread.waitForMessages(OPPServiceThread.java:227)
at oracle.apps.fnd.cp.opp.OPPServiceThread.mainLoop(OPPServiceThread.java:128)
at oracle.apps.fnd.cp.gsf.BaseServiceThread.run(BaseServiceThread.java:135)
then....
java.lang.ThreadDeath
at java.lang.Thread.stop(Thread.java:630)
at oracle.apps.fnd.cp.opp.OPPRequestThreadManager.terminateThread(OPPRequestThreadManager.java:207)
at oracle.apps.fnd.cp.opp.OPPTerminateCommand.execute(OPPTerminateCommand.java:45)
at oracle.apps.fnd.cp.opp.OPPServiceThread.processMessage(OPPServiceThread.java:240)
at oracle.apps.fnd.cp.opp.OPPServiceThread.waitForMessages(OPPServiceThread.java:227)
at oracle.apps.fnd.cp.opp.OPPServiceThread.mainLoop(OPPServiceThread.java:128)
at oracle.apps.fnd.cp.gsf.BaseServiceThread.run(BaseServiceThread.java:135)
then we have made these changes
change the Profile option "Concurrent: OPP Process timeout" as 108000 and
Use XML Publisher's XSLT processor: True
Enable scalable feature of XSLT processor: False
Enable XSLT runtime optimization: True
now we are getting only a single line error in the opp log
12/30/09 2:55:18 AM] java.lang.OutOfMemoryErrorjava.lang.OutOfMemoryError
java.lang.OutOfMemoryError
the request is running for more than 3.5 hrs and ending in warning.
The concurrent manager has timed out waiting for the Output Post-processor to finish this request.
Thansk & Regards,
Rakesh -
DB:11.1.0.7
Oracle Apps:12.1.1
OS:RHEL Linux 4 86x64
Hi All,
On executing the following command on node 2 of TEST instance, we received the following error but did not find any such error messages in node 1
Notes: (1) Node 1 has java version:
java -version
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
(2) Node 2 has java version:
java -version
java version "1.4.2"
gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-9)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Error message in node2:
On executing the following command on node 2 of TEST instance, we received the following error:
java oracle.jrad.tools.xml.importer.XMLImporter /tmp/custdocs/oracle/apps/pos/home/webui/customizations/site/0/PosHpgOrders.xml ....
/usr/bin/java: line 36: [: `)' expected, found -
Exception in thread "main" java.lang.VerifyError: verification failed at PC 152 in oracle.jdbc.driver.OracleDriver:registerMBeans(()V): String, int, or float constant expected
at JvBytecodeVerifier.verify_fail(byte, int) (/usr/lib64/libgcj.so.5.0.0)
at JvBytecodeVerifier.verify_instructions_0() (/usr/lib64/libgcj.so.5.0.0)
at JvVerifyMethod(_Jv_InterpMethod) (/usr/lib64/libgcj.so.5.0.0)
at JvPrepareClass(java.lang.Class) (/usr/lib64/libgcj.so.5.0.0)
at JvWaitForState(java.lang.Class, int) (/usr/lib64/libgcj.so.5.0.0)
at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib64/libgcj.so.5.0.0)
at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib64/libgcj.so.5.0.0)
at java.lang.Class.initializeClass() (/usr/lib64/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib64/libgcj.so.5.0.0)
at oracle.adf.mds.tools.util.ConnectUtils.getDBConnection(java.lang.String) (Unknown Source)
at oracle.jrad.tools.xml.importer.XMLImporter.importDocuments(java.lang.String[], java.sql.Connection) (Unknown Source)
at oracle.jrad.tools.xml.importer.XMLImporter.main(java.lang.String[]) (Unknown Source)
Could anyone please share such an issue faced before and provide resolution as to what's wrong in here in node 2?
Thanks for your time!
Regards,Hi,
(2) Node 2 has java version:
java -version
java version "1.4.2"Do you run this command as applmgr user? If yes, did you source the application env file?
Could anyone please share such an issue faced before and provide resolution as to what's wrong in here in node 2?Why the java version is different on the both nodes?
Thanks,
Hussein -
Exception of type java.lang.UnsatisfiedLinkError was thrown Anyone ?
We are getting this exception when trying to run a very basic aspx. This project works across several other servers, after bringing a new server online, we are finding we get this exception. Below is the complete response from tcptrace.
HTTP/1.1 500 Internal Server ErrorServer: Microsoft-IIS/5.0Date: Tue, 24 Feb 2004 16:28:31 GMTX-Powered-By: ASP.NETX-AspNet-Version: 1.1.4322Cache-Control: privateContent-Type: text/html; charset=utf-8Content-Length: 5522
<html> <head> <title>Exception of type java.lang.UnsatisfiedLinkError was thrown.</title> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style> </head>
<body bgcolor="white">
<span><H1>Server Error in '/PPAApps' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>Exception of type java.lang.UnsatisfiedLinkError was thrown.</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
<br><br>
<b> Exception Details: </b>java.lang.UnsatisfiedLinkError: Exception of type java.lang.UnsatisfiedLinkError was thrown.<br><br>
<b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc"> <tr> <td> <code>
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>
</td> </tr> </table>
<br>
<b>Stack Trace:</b> <br><br>
<table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre>
[UnsatisfiedLinkError: Exception of type java.lang.UnsatisfiedLinkError was thrown.] java.lang.ExceptionInInitializerError.checkAndThrowException(Throwable thrown) +59 java.util.Locale..cctor() +1678
[TypeInitializationException: The type initializer for "java.util.Locale" threw an exception.] java.lang.Float..ctor(String s) +214 com.plumtree.remote.portlet.xp.XPSettingsManager.IsCSPVersionAtLeast(Double version) com.plumtree.remote.portlet.xp.XPSettingsManager..ctor(IXPRequest request, IXPResponse response) com.plumtree.remote.portlet.xp.XPSettingsFactory.getXPSettingsManager(IXPRequest request, IXPResponse response) com.plumtree.remote.portlet.xp.XPPortletContext..ctor(IXPRequest request, IXPResponse response) com.plumtree.remote.portlet.xp.XPPortletContextFactory.createPortletContext(IXPRequest req, IXPResponse resp) Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext(HttpRequest req, HttpResponse resp) Com.Plumtree.Remote.Transformer.Condition.GatewayedStandardCondition.UseFilter(HttpContext ctx) Com.Plumtree.Remote.Transformer.FilterManager.UpdateFilter(HttpContext ctx) Com.Plumtree.Remote.Transformer.PTTransformer.BeginRequestHandler(Object sender, EventArgs e) System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87</pre></code>
</td> </tr> </table>
<br>
<hr width=100% size=1 color=silver>
<b>Version Information:</b> Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
</font>
</body></html><!-- [UnsatisfiedLinkError]: Exception of type java.lang.UnsatisfiedLinkError was thrown. at java.lang.ExceptionInInitializerError.checkAndThrowException(Throwable thrown) at java.util.Locale..cctor()[TypeInitializationException]: The type initializer for "java.util.Locale" threw an exception. at java.lang.Float..ctor(String s) at com.plumtree.remote.portlet.xp.XPSettingsManager.IsCSPVersionAtLeast(Double version) at com.plumtree.remote.portlet.xp.XPSettingsManager..ctor(IXPRequest request, IXPResponse response) at com.plumtree.remote.portlet.xp.XPSettingsFactory.getXPSettingsManager(IXPRequest request, IXPResponse response) at com.plumtree.remote.portlet.xp.XPPortletContext..ctor(IXPRequest request, IXPResponse response) at com.plumtree.remote.portlet.xp.XPPortletContextFactory.createPortletContext(IXPRequest req, IXPResponse resp) at Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext(HttpRequest req, HttpResponse resp) at Com.Plumtree.Remote.Transformer.Condition.GatewayedStandardCondition.UseFilter(HttpContext ctx) at Com.Plumtree.Remote.Transformer.FilterManager.UpdateFilter(HttpContext ctx) at Com.Plumtree.Remote.Transformer.PTTransformer.BeginRequestHandler(Object sender, EventArgs e) at System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)-->HTTP/1.1 500 Internal Server ErrorServer: Microsoft-IIS/5.0Date: Tue, 24 Feb 2004 16:29:06 GMTX-Powered-By: ASP.NETX-AspNet-Version: 1.1.4322Cache-Control: privateContent-Type: text/html; charset=utf-8Content-Length: 5522
<html> <head> <title>Exception of type java.lang.UnsatisfiedLinkError was thrown.</title> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style> </head>
<body bgcolor="white">
<span><H1>Server Error in '/PPAApps' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>Exception of type java.lang.UnsatisfiedLinkError was thrown.</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
<br><br>
<b> Exception Details: </b>java.lang.UnsatisfiedLinkError: Exception of type java.lang.UnsatisfiedLinkError was thrown.<br><br>
<b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc"> <tr> <td> <code>This is the response I got from support:
This is bug 22205 and will be fixed in the release of the Exchange Groupware Portlet Suite 3.0.4 at the end of April. The workaround in the interim is to copy the D:\Program Files\plumtree\jre folder from the installation CD (or another working portal server) onto the problem server. Please let me know if this resolves the issue for you. Neal Rapoporthttp://www.portalconsultant.com
Maybe you are looking for
-
Having Trouble Downloading After Effects VIA the Cloud.
So I purchased Adobe AFter Effects through the cloud on a month to month basis. I had just finished the free trail and decied I needed to download it. I then dowloaded the free trail of Creative Cloud just to see how the layout was etc. Then I purcha
-
10.5.1 Email Alarms Still Don't Work. (?)
I attempted to add an email alarm to a calendar event. I recieved a pop-up that told me to add my own email to the Address Book. It then opened up my A.B. I already had my data in A.B. I try to chose it, but get nowhere. HELP! Am I missing something?
-
I have a simple email form, similar to David Powers' example in chapter 11 of The Essential Guide to DW-CS3. It works at a very rudimentary level. I have been asked to give the client the ability to put carriage returns in the middle of their form en
-
Can you make a folio size of 1000 x 750 for iPad?
I have made a test folio this size and I can't seem to get it to load on Adobe Content viewer unless I have the iPad plugged into the computer. Is there a reason why? I am still in 25v. One of my ipads has IOS7 the other does not. I am going to an
-
AP1252 in dual radio mode with in-line power.
Hi, Has anyone actually managed to deploy the AP1252s in dual radio mode and been able to power via a POE device? The information regarding max power supplied is misleading. For example, the 6500 802.3af POE line cards appear to only provide a max of