RE: exiting a JMS application without calling System.exit()
"Tim Anderson" <[email protected]>
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
> From: Benjamin > > Hi, > > I've written a JMS client application that creates a separate > listening thread to listen for messages. I've noticed that > in order for the application to successfully terminate, I > have to explicitly call System.exit(). > > I've made sure that my listening thread has been terminated, > and my session, connection, context has been closed. > > It seems that the call to create an InitialContext maintains > a thread/connection to the JMS connection that is not > terminated unless System.exit() is called. > > Does anybody know if this is the case ? > > Regards, > -Ben > Fixed in 0.7.7-alpha-3. -Tim ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click