On Tue, Nov 17, 2009 at 9:46 PM, Patrick Forhan <[email protected]> wrote: > We have an OSGi application we occasionally remotely shut down. In > very rare instances, we get a java.lang.ThreadDeath error, and the > shutdown does not proceed. My questions then are: What are the ways > to shut down Felix?
Can you get us a stacktrace of that exception and a threaddump of the framework after it happens? regards, Karl > Likely by accident, we have two ways we do it: either by sending > "shutdown" to the shell service, or by stopping bundle 0. Would > anything go wrong if we change from our current strategies to a simple > System.exit(0)? > > Ancient versions we are using: > [ 0] [Active ] [ 0] System Bundle (1.2.1) > [ 67] [Active ] [ 2] Apache Felix Shell Service (1.0.2) > [ 68] [Active ] [ 2] Apache Felix Shell TUI (1.0.2) > > Pat. > > -- > Defy mediocrity. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Karl Pauls [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

