could you send me your code? My first guess is that you don't have your JMX
bean set up properly and/or registered.
On 5/22/07, Eero Nevalainen <[EMAIL PROTECTED]> wrote:
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 <[EMAIL PROTECTED]> 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
>>
>
>
>
--
..Cheers
Mark