aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes why JMX can not stop Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "why JMX can not stop" Watch "why JMX can not stop" New topic
Author

why JMX can not stop

haifeng zhou
Greenhorn

Joined: Oct 30, 2009
Posts: 13
why JMX can not stop
jmxServer.stop(); doesn't work

Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Is there an exception?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
haifeng zhou
Greenhorn

Joined: Oct 30, 2009
Posts: 13
Paul Sturrock wrote:Is there an exception?


no, the log print success
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10266
    
168

If there are no exceptions, are you checking for something else which shows that the server did not stop? Have you tried debugging the code?


[My Blog] [JavaRanch Journal]
haifeng zhou
Greenhorn

Joined: Oct 30, 2009
Posts: 13
Jaikiran Pai wrote:If there are no exceptions, are you checking for something else which shows that the server did not stop? Have you tried debugging the code?


I make a mistake, it can stop, but the next time boot up the web application, there are some exception, it seem I should unregisterMBean and UnicastRemoteObject.unexportObject(registry, false);
is there any example about close JMX?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why JMX can not stop