logo       

Re: [ Joseph Shraibman ] how do I debug dgc?: msg#00019

java.sun.rmi

Subject: Re: [ Joseph Shraibman ] how do I debug dgc?

I didn't unexport it. I don't want remote refs to be dropped right
away, but when they are dropped I want the jvm to exit. In my test
there were never any remote refs held except by rmiregistry and it still
didn't exit.

Gregg G. Wonderly wrote:
That doesn't help me. I have no threads of my own running, so only rmi
is keeping the jvm alive.


The thread dump will show you which threads are running. That is my point.
If you've already done this, and know that it is only the RMI thread, then,
you need to also check that you have unexported the object. If you unexport
with false, then all remote references must also be dropped. If you unexport
with true, then all remote references will be dropped automatically.

-----
gregg@xxxxxxxxxxxx (Cyte Technologies Inc)


===========================================================================
To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body
of the message "signoff RMI-USERS". For general help, send email to
listserv@xxxxxxxxxxxx and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise