We should change that to something more descriptive. :-)
Just add a user name and password when using JConsole. (smx=smx by default)
or you could disable security in the jmx.xml I think.
Owen Thomas wrote:
Details eh. :)
Thanks for the tip Adrian.
However, I try this address:
service:jmx:rmi:///jndi/rmi://sydserv05:1099/jmxrmi
And get this error in the command window I opened:
*
******** Start of output.
Exception in thread "JConsole.addUrl"
java.lang.IllegalArgumentException: Expected String[2], got null
at
org.apache.servicemix.jbi.jmx.JaasAuthenticator.authenticate(JaasAuth
enticator.java:73)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(Unknown
Source)
at javax.management.remote.rmi.RMIServerImpl.newClient(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
******** End of output.
*
Owen.
-----Original Message-----
From: Adrian Co [mailto:[EMAIL PROTECTED]
Sent: Friday, April 20, 2007 1:38 PM
To: [email protected]
Subject: Re: JMX Console for ServiceMix
That URL is for SMX 2.0, try this:
service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
Owen Thomas wrote:
Hello.
I have seen the concept of using a JMX console appear regularly in my
travels with ServiceMix, so I decided to check this concept out.
I found the executable that one apparently runs in Java 1.5. It was on
this computer in C:\Program Files\Java\jdk1.5.0_10\bin.
According to http://incubator.apache.org/servicemix/jmx-console.html,
I
can point this console at the ServiceMix 3.1.1 instance running on
sydserv05 by entering the following URL:
service:jmx:rmi:///jndi/rmi://sydserv05:1099/defaultJBIJMX
When I try, the JConsole program responds saying the connection
failed.
What am I doing wrong?
Owen.
!DSPAM:507,46284528173041722577945!