Hi
We have stuck problem with for instance the following threads, how do deferredlock happen ?
Do they happen when we call get-methods on jpa-entities ?
Because our method getKursusDetails2 only calls get methods, and also call find-method to find entity, it also calls:
Aktivitet aktivitet = new Aktivitet();
Where Aktivitet is a jpa-entity, but we don’t persist or merge this entity, it is only used temporary as a pojo in the webservice-method – do this give a problem
when calling flush ?
/regards
Mejar
Thread-15 "[STUCK] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, suspended, sleeping, priority=1, DAEMON> {
java.lang.Thread.sleep(Thread.java:???)
org.eclipse.persistence.internal.helper.ConcurrencyManager.releaseDeferredLock(ConcurrencyManager.java:429)
org.eclipse.persistence.internal.identitymaps.CacheKey.releaseDeferredLock(CacheKey.java:348)
org.eclipse.persistence.internal.helper.WriteLockManager.releaseAllAcquiredLocks(WriteLockManager.java:454)
org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.mergeChangesIntoParent(UnitOfWorkImpl.java:3237)
org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.mergeChangesIntoParent(RepeatableWriteUnitOfWork.java:348)
org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.mergeClonesAfterCompletion(UnitOfWorkImpl.java:3423)
org.eclipse.persistence.transaction.AbstractSynchronizationListener.afterCompletion(AbstractSynchronizationListener.java:187)
org.eclipse.persistence.transaction.JTASynchronizationListener.afterCompletion(JTASynchronizationListener.java:79)
weblogic.transaction.internal.ServerSCInfo.doAfterCompletion(ServerSCInfo.java:1039)
weblogic.transaction.internal.ServerSCInfo.callAfterCompletions(ServerSCInfo.java:989)
^-- Holding lock:
weblogic.transaction.internal.ServerSCInfo@1176ddbd[thin lock]
weblogic.transaction.internal.ServerTransactionImpl.callAfterCompletions(ServerTransactionImpl.java:3022)
weblogic.transaction.internal.ServerTransactionImpl.afterCommittedStateHousekeeping(ServerTransactionImpl.java:2925)
weblogic.transaction.internal.ServerTransactionImpl.setCommitted(ServerTransactionImpl.java:2966)
weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(ServerTransactionImpl.java:2677)
weblogic.transaction.internal.ServerTransactionImpl.globalCommit(ServerTransactionImpl.java:2658)
weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:247)
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:232)
weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:480)
weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetry(BaseLocalObject.java:455)
weblogic.ejb.container.internal.BaseWSLocalObject.__WL_postInvokeTxRetry(BaseWSLocalObject.java:184)
weblogic.ejb.container.internal.WSOMethodInvoker.invoke(WSOMethodInvoker.java:13)
com.logica.veupublic.webservice.kursus.KursusWebservice_v100_ysj4ti_WSOImpl.__WL_getKursusDetails2_WS(Unknown Source)
sun.reflect.GeneratedMethodAccessor4235.invoke(Unknown Source)