| 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: 8141
|
|
|
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?
|
 |
 |
|
|
subject: why JMX can not stop
|
|
|