RP/TUXJCA Tuxedo JCA Adapter 11gRS1 (11.1.1.2.1) Can't Establish Connection When Tuxedo Domain Restart Or Unplug Network Cable (Doc ID 2019415.1)

Last updated on MAY 01, 2017

Applies to:

Tuxedo JCA Adapter - Version 11.1.1.2.1 and later
Information in this document applies to any platform.

Goal

Problem Summary
---------------------------------------------------
Tuxedo JCA Adapter 11gRS1 (11.1.1.2.1) can't establish connection,when tuxedo domain restart or unplug network cable

Problem Description
---------------------------------------------------

There has 3 thread waiting the lock:

"Thread-66" id=87 idx=0x140 tid=10108 prio=5 alive, parked, native_blocked,
daemon
-- Parking to wait for:
java/util/concurrent/locks/ReentrantReadWriteLock$NonfairSync@0xf3a8b010
at jrockit/vm/Locks.park0(J)V(Native Method)
at jrockit/vm/Locks.park(Locks.java:2230)
at sun/misc/Unsafe.park(ZJ)V(Native Method)
at java/util/concurrent/locks/LockSupport.park(LockSupport.java:156)
at java/util/concurrent/locks/AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:811)
at java/util/concurrent/locks/AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:842)
at java/util/concurrent/locks/AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1178)
at java/util/concurrent/locks/ReentrantReadWriteLock$WriteLock.lock(ReentrantReadWriteLock.java:807)
at com/oracle/tuxedo/adapter/TimerEventManager.unregisterKAEventHandler(TimerEventManager.java:130)
at com/oracle/tuxedo/adapter/tdom/dsession.terminateTDomainSession(dsession.java:2614)
at com/oracle/tuxedo/adapter/tdom/dsession.tpterm(dsession.java:2751)
^-- Holding lock: com/oracle/tuxedo/adapter/tdom/ResponderSession@0xe82d2068[thin lock]
at com/oracle/tuxedo/adapter/tdom/dsession.isKATimersExpired(dsession.java:5553)
at com/oracle/tuxedo/adapter/TimerEventManager.processSessionKAHandler(TimerEventManager.java:150)
at com/oracle/tuxedo/adapter/TimerEventManager.run(TimerEventManager.java:92)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace

 

"ChannelTask14" id=51 idx=0xac tid=10071 prio=5 alive, parked,
native_blocked, daemon
-- Parking to wait for:
java/util/concurrent/locks/ReentrantReadWriteLock$NonfairSync@0xf3a8b010
at jrockit/vm/Locks.park0(J)V(Native Method)
at jrockit/vm/Locks.park(Locks.java:2230)
at sun/misc/Unsafe.park(ZJ)V(Native Method)
at java/util/concurrent/locks/LockSupport.park(LockSupport.java:156)
at java/util/concurrent/locks/AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:811)
at java/util/concurrent/locks/AbstractQueuedSynchronizer.doAcquireShared(AbstractQueuedSynchronizer.java:941)
at java/util/concurrent/locks/AbstractQueuedSynchronizer.acquireShared(AbstractQueuedSynchronizer.java:1261)
at java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock.lock(ReentrantReadWriteLock.java:594)
at com/oracle/tuxedo/adapter/TimerEventManager.getClockTick(TimerEventManager.java:104)
at com/oracle/tuxedo/adapter/tdom/dsession.updateLastReceiveTime(dsession.java:5483)
at com/oracle/tuxedo/adapter/tdom/rdsession.dispatch(rdsession.java:1122)
at com/oracle/tuxedo/adapter/net/SocketConnectionContext.read(SocketConnectionContext.java:927)
at com/oracle/tuxedo/adapter/net/ChannelTask.run(ChannelTask.java:72)
^-- Holding lock: com/oracle/tuxedo/adapter/net/ChannelTask@0xf3a6d048[fat lock]
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace

 

"ChannelTask15" id=52 idx=0xb0 tid=10072 prio=5 alive, parked,
native_blocked, daemon
-- Parking to wait for:
java/util/concurrent/locks/ReentrantReadWriteLock$NonfairSync@0xf3a8b010
at jrockit/vm/Locks.park0(J)V(Native Method)
at jrockit/vm/Locks.park(Locks.java:2230)
at sun/misc/Unsafe.park(ZJ)V(Native Method)
at java/util/concurrent/locks/LockSupport.park(LockSupport.java:156)
at java/util/concurrent/locks/AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:811)
at java/util/concurrent/locks/AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:842)
at java/util/concurrent/locks/AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1178)
at java/util/concurrent/locks/ReentrantReadWriteLock$WriteLock.lock(ReentrantReadWriteLock.java:807)
at com/oracle/tuxedo/adapter/TimerEventManager.unregisterKAEventHandler(TimerEventManager.java:130)
at com/oracle/tuxedo/adapter/tdom/dsession._dom_drop(dsession.java:2550)
^-- Holding lock: com/oracle/tuxedo/adapter/tdom/ResponderSession@0xf3a5edc0[thin lock]
at com/oracle/tuxedo/adapter/tdom/ResponderSession.do_accept(ResponderSession.java:390)
at com/oracle/tuxedo/adapter/tdom/ResponderSession.tpinit(ResponderSession.java:1052)
^-- Holding lock: com/oracle/tuxedo/adapter/tdom/ResponderSession@0xe0ba0a90[biased lock]
at com/oracle/tuxedo/adapter/tdom/OatmialListener.startAccept(OatmialListener.java:108)
at com/oracle/tuxedo/adapter/net/ChannelTask.run(ChannelTask.java:57)
^-- Holding lock: com/oracle/tuxedo/adapter/net/ChannelTask@0xf3a6d7e8[fat lock]
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace

This issue cause by TimerEventManager's ReentrantReadWriteLock upgrade issue.


 

Solution

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