mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eero Nevalainen <eero.nevalai...@indagon.com>
Subject Re: JMX tutorial on Eclipse
Date Tue, 22 May 2007 14:57:10 GMT
I'm using JDK 5. I gave the argument
-Dcom.sun.management.jmxremote

to the "VM arguments" list under "Run as"->"Run"->"Arguments". Without 
the option the jconsole doesn't of course show any VMs running.

Mark Webb wrote:
> are you using JDK 5 or 6 in Eclipse?  I think for version 5, you must add a
> command line argument to the JVM.
> 
> On 5/22/07, Eero Nevalainen <eero.nevalainen@indagon.com> wrote:
>>
>> Hi,
>>
>> I went through the JMX tutorial and started it on Eclipse. The JConsole
>> wasn't showing the IoServiceManager mbean. Works fine when started
>> normally from a command line. Anyone else experience this?
>>
>> Also another question: Am I risking some horrible, horrible fate by
>> placing this call on my code?
>>
>> Runtime.getRuntime().addShutdownHook(new Thread() {
>>         public void run() {
>>                 acceptor.unbindAll();
>>         }
>> });
>>
>> -Eero Nevalainen
>>
> 
> 
> 


Mime
View raw message