I am running ServiceMix 3.2.1 This is the binary version downloaded from
apache site. I have jdk 1.6.03 as my JAVA_HOME. When I run jconsole, the
local process section does not show any apache process. If I click to the
'Remote connection' radio button and input the jmx:rmi url there then click
connect I get the following exception shown on a window.

Exception in thread "VMPanel.connect" java.lang.IllegalArgumentException:
Expected String[2], got null
        at
org.apache.servicemix.jbi.jmx.JaasAuthenticator.authenticate(JaasAuthenticator.java:73)
        at
javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:215)
        at
javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:182)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
        at sun.rmi.transport.Transport$1.run(Transport.java:159)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
        at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
        at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
        at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
        at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown 
Source)
        at
javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2309)
        at 
javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:277)
        at
javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
        at
javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:207)
        at sun.tools.jconsole.ProxyClient.tryConnect(ProxyClient.java:347)
        at sun.tools.jconsole.ProxyClient.connect(ProxyClient.java:297)
        at sun.tools.jconsole.VMPanel$2.run(VMPanel.java:279)

-- 
View this message in context: 
http://www.nabble.com/Jconsole-failing-to-connect-tp18655465p18655465.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to