Nah, it's not a resource synchronization problem but a lock order problem.
Once again, just take a look a newsgroups.bea.com and you'll find many
architectural solutions, or upgrade to 6.0 which support optimistic locking.
Gene
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Anish Malhotra
Sent: Wednesday, April 18, 2001 6:41 AM
To: [EMAIL PROTECTED]
Subject: Re: weblogic.ejb.extensions.LockTimedOutException
You need to synchronize the resource. Somewhere in your code the resource is
being accessed simultaneously.
Anish
-----Original Message-----
From: Riccardo F. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 9:12 AM
To: [EMAIL PROTECTED]
Subject: weblogic.ejb.extensions.LockTimedOutException
Hi,
someone can help me to understand which is the problem that cause the
exception in object?
I'm using WebLogic Server 5.1, exception is thrown when Tomcat connects to
WebLogic.
StackTrace is:
weblogic.ejb.extensions.LockTimedOutException: Lock for
primaryKey:987600480165_1 could not be acquired without waiting.
at
weblogic.ejb.internal.LockManagerImpl.lock(LockManagerImpl.java:132)
at
weblogic.ejb.internal.LockManagerImpl.lock(LockManagerImpl.java:79)
at
weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:447)
at
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:159)
at
weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:443)
at
com.cedac.ibanker.backend.session.IbkSessionManagerBeanEOImpl.getSessionMana
gerContext(IbkSessionManagerBeanEOImpl.java:278)
at
com.cedac.ibanker.backend.session.IbkSessionManagerBeanEOImpl_WLSkel.invoke(
IbkSessionManagerBeanEOImpl_WLSkel.java:83)
at
weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAda
pter.java:347)
at
weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandle
r.java:69)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
5)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Thanks in advance.
Riccardo.
----------------------------------------------
Virgilio Mail - Il tuo indirizzo E-mail gratis
http://mail.virgilio.it
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".