Re: More odd behaviour

Gregg Wonderly <[email protected]> Mon, 19 Jan 2009 14:34:52 -0600
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
Rawlings, Bill A wrote:
> Ok guys, I=92ve been working on an application to start, monitor and st=
op=20
> the River core services (LUS, TM, Space,  Class Server).=20

> I was having trouble stopping the LUS.  I had originally used the SDM=20
> directly with a DiscoveryListener, but kept getting uncatchable=20
> exceptions from the SDM when I killed the LUS.  I can=92t terminate the=
=20
> SDM in this app (that stops the exception if you do), because I want to=
=20
> monitor the system as long as the app is running.

This is an old "feature request."  At issue is that reggie does not use=20
Runtime.addShutdownHook() to cause it to send out appropriate events at=20
termination.  Thus, you don't see it disappear until the notify() leases =
expire.

Gregg Wonderly

-------------------------------------------------------------------------=
-
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.htm=
l
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]