Ah, nothing quite like two threads in a deadly embrace! At least the
server detects the deadlock and prints some useful debug for deadlock
situations.
Try generating a VM dump using
Windows: <Ctrl> <Scroll Lock>
*nix : kill -QUIT <server process id>
In general, you're looking for a thread in the MW state that has
already locked a monitor on which some other MW thread is trying to
synchronize.
In your case, thread 5 and thread 6 are deadlocked, both waiting to
synchronize on a monitor held by the other. The stack trace
information may help you determine where the deadlock is occurring.
Mike
--- Thomas Hertz <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> AC> Does anyone know what the following error means?
>
> AC> 11/14/00 10:51 PM Error in bean
> com.netregistry.aucom.accounting.BillingAccount:
> AC> Error in ejbPassivate
> AC> com.evermind.server.DeadlockException: Deadlock detected: thread
> 11 is waiting for
> AC> resource entity 1003 held by thread 11
>
> AC> Any ideas on how to track it down?
>
> Just ten minutes before I read this message I encountered the same
> error in my application. (1.4.4)
>
> com.evermind.server.rmi.OrionRemoteException: Transaction was rolled
> back:
> com.evermind.server.DeadlockException: thread 6 is waiting for
> resource entity K-5
> held by thread 5 in transaction [Transaction
> 4d:1:0:0:0:0:0:0:0:e2:0:e2:d4:67:89:da]
> who is waiting for resource entity E-6 held by thread 6 in
> transaction [
> Transaction 4a:1:0:0:0:0:0:0:0:e2:0:e2:d4:67:89:93]; nested exception
> is:
>
> I am not quite sure what that means exactly. Can anybody help us?
>
> Thanks in advance,
>
> /Thomas
>
> --
>
> | /Thomas Hertz | [y] hybris GmbH | Software Engineering
> |
> | [EMAIL PROTECTED] | Schwere-Reiter-Strasse 35 | tel +49 89 306697- 0
> |
> | www.hybris.de | Haus 16, D-80797 Muenchen | fax +49 89 306697-99
> |
> | pgp fingerprint: D070 5D86 BE2D C3AF E2CC D2D8 C29A 7F68 7407 629E
> |
>
>
>
>
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/