Re-Deployment of Composite containing a JMS Adapter throws Error: "Blocked trying to get lock: oracle/tip/adapter/jms/JMS/WLSJMSMessageConsumer"

(Doc ID 1944725.1)

Last updated on MARCH 21, 2017

Applies to:

Oracle SOA Suite - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.1.7.0 version, BPEL Service Engine

ACTUAL BEHAVIOR
---------------
While redeploying a composite containing a JMS Adapter, the deployment hangs with the below trace:

"ReplicatedCache:dev_soa_domain_SOA_ClusterCacheService:EventDispatcher" id=208 idx=0x328 tid=32543 prio=10 alive, interrupted, blocked, native_blocked, daemon
   -- Blocked trying to get lock: oracle/tip/adapter/jms/JMS/WLSJMSMessageConsumer@0x2f5634418[thin lock]
   at jrockit/vm/Threads.sleep(I)V(Native Method)
   at jrockit/vm/Locks.waitForThinRelease(Locks.java:955)[optimized]
   at jrockit/vm/Locks.monitorEnterSecondStageHard(Locks.java:1083)[optimized]
   at jrockit/vm/Locks.monitorEnterSecondStage(Locks.java:1005)[optimized]
   at jrockit/vm/Locks.monitorEnter(Locks.java:2179)[optimized]
   at oracle/tip/adapter/jms/JMS/JMSMessageConsumer.stop(JMSMessageConsumer.java:1012)
   at oracle/tip/adapter/jms/inbound/JmsConsumer.stop(JmsConsumer.java:990)
   at oracle/tip/adapter/jms/JmsDDEndpoint.stop(JmsDDEndpoint.java:265)
   ^-- Holding lock: oracle/tip/adapter/jms/JmsDDEndpoint@0x1008f89e8[thin lock]
   at oracle/tip/adapter/jms/JmsResourceAdapter.endpointDeactivation(JmsResourceAdapter.java:231)
   at oracle/integration/platform/blocks/adapter/fw/impl/AdapterFrameworkImpl.endpointDeactivation(AdapterFrameworkImpl.java:621)
   at oracle/integration/platform/blocks/adapter/fw/jca/lifecycle/JCAEndpointActivation.performEndpointDeactivation(JCAEndpointActivation.java:683)
   at oracle/integration/platform/blocks/adapter/fw/jca/lifecycle/JCAEndpointActivation.deactivateInboundJcaEndpoint(JCAEndpointActivation.java:829)
   ^-- Holding lock: oracle/integration/platform/blocks/adapter/fw/jca/lifecycle/JCAEndpointActivation@0x1400088a8[biased lock]
   at oracle/integration/platform/blocks/adapter/fw/jca/lifecycle/JCAEndpointActivation.performDeactivation(JCAEndpointActivation.java:417)
   at oracle/integration/platform/blocks/adapter/fw/metadata/AdapterServiceRevisionRegistry$AdapterServiceRevision.endpointDeactivation(AdapterServiceRevisionRegistry.java:672)
   at oracle/integration/platform/blocks/adapter/fw/metadata/AdapterServiceRevisionRegistry$AdapterServiceRevision.deactivate(AdapterServiceRevisionRegistry.java:478)
   at oracle/integration/platform/blocks/adapter/fw/metadata/AdapterServiceRevisionRegistry$AdapterServiceSeries.removeService(AdapterServiceRevisionRegistry.java:284)
   at oracle/integration/platform/blocks/adapter/fw/metadata/AdapterServiceRevisionRegistry$AdapterServiceSeriesSet.unloadService(AdapterServiceRevisionRegistry.java:210)
   at oracle/integration/platform/blocks/adapter/fw/metadata/AdapterServiceRevisionRegistry.unloadService(AdapterServiceRevisionRegistry.java:90)
   at oracle/integration/platform/blocks/adapter/AdapterService.unload(AdapterService.java:230)
   at oracle/integration/platform/blocks/adapter/AdapterService.unload(AdapterService.java:75)
   at oracle/integration/platform/blocks/deploy/CompositeDeploymentConnection.undeployServices(CompositeDeploymentConnection.java:442)
   at oracle/integration/platform/blocks/deploy/CompositeDeploymentConnection.undeploy(CompositeDeploymentConnection.java:117)
   at oracle/integration/platform/blocks/deploy/CompositeDeploymentManagerImpl.initDeployment(CompositeDeploymentManagerImpl.java:188)
   at oracle/integration/platform/blocks/deploy/CompositeDeploymentManagerImpl.undeploy(CompositeDeploymentManagerImpl.java:46)
   at sun/reflect/GeneratedMethodAccessor2959.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
........


"Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms
" id=507 idx=0x62c tid=670 prio=10 alive, waiting, native_blocked, daemon
   -- Waiting for notification on: weblogic/rjvm/ResponseImpl@0x14f735f08[fat lock]
   at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
   at java/lang/Object.wait(J)V(Native Method)
   at weblogic/rjvm/ResponseImpl.waitForData(ResponseImpl.java:90)[inlined]
   at weblogic/rjvm/ResponseImpl.retrieveThreadLocalContext(ResponseImpl.java:153)[optimized]
   ^-- Lock released while waiting: weblogic/rjvm/ResponseImpl@0x14f735f08[fat lock]
   at weblogic/messaging/dispatcher/DispatcherProxy.unmarshalResponse(DispatcherProxy.java:241)
   at weblogic/messaging/dispatcher/DispatcherProxy.dispatchSyncTranFuture(DispatcherProxy.java:134)
   at weblogic/messaging/dispatcher/DispatcherWrapperState.dispatchSyncTran(DispatcherWrapperState.java:334)
   at weblogic/messaging/dispatcher/DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:381)
   at weblogic/messaging/dispatcher/DispatcherWrapperState.dispatchSync(DispatcherWrapperState.java:249)
   at weblogic/jms/dispatcher/DispatcherAdapter.dispatchSync(DispatcherAdapter.java:43)
   at weblogic/jms/frontend/FEConsumer.close(FEConsumer.java:390)
   at weblogic/jms/frontend/FEConsumer.invoke(FEConsumer.java:878)[optimized]
   at weblogic/messaging/dispatcher/Request.wrappedFiniteStateMachine(Request.java:961)[optimized]
   at weblogic/messaging/dispatcher/DispatcherImpl.syncRequest(DispatcherImpl.java:185)[optimized]
   at weblogic/messaging/dispatcher/DispatcherImpl.dispatchSyncNoTran(DispatcherImpl.java:288)
   at weblogic/jms/dispatcher/DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:59)
   at weblogic/jms/client/JMSSession.consumerClose(JMSSession.java:3071)
   ^-- Holding lock: weblogic/jms/client/JMSXASession@0x2f56349f8[thin lock]
   at weblogic/jms/client/JMSConsumer.close(JMSConsumer.java:667)
   at weblogic/jms/client/JMSConsumer.close(JMSConsumer.java:660)
   at weblogic/jms/client/ReconnectController.close(ReconnectController.java:430)
   at oracle/tip/adapter/jms/JMS/WLSJMSMessageConsumer$5.run(WLSJMSMessageConsumer.java:148)
   at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)[optimized]
   at weblogic/jms/common/CrossDomainSecurityManager.runAs(CrossDomainSecurityManager.java:131)[inlined]
   at weblogic/jms/extensions/JMSDestinationAvailabilityHelper$DestinationAvailabilityListenerWrapper.runAs(JMSDestinationAvailabilityHelper.java:489)[optimized]
   at oracle/tip/adapter/jms/JMS/WLSJMSMessageConsumer.closeMessageConsumer(WLSJMSMessageConsumer.java:145)
   at oracle/tip/adapter/jms/JMS/JMSMessageConsumer.stop(JMSMessageConsumer.java:1017)
   ^-- Holding lock: oracle/tip/adapter/jms/JMS/WLSJMSMessageConsumer@0x2f5634418[thin lock]
   at oracle/tip/adapter/jms/inbound/JmsConsumer.run(JmsConsumer.java:1168)
   at oracle/integration/platform/blocks/executor/WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
   at weblogic/work/j2ee/J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
   at weblogic/work/DaemonWorkThread.run(DaemonWorkThread.java:30)
   at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
   -- end of trace

 



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms