You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by santool <an...@genuvation.com> on 2008/07/25 18:43:02 UTC
Jconsole failing to connect
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.
Re: Jconsole failing to connect
Posted by Bruce Snyder <br...@gmail.com>.
On Fri, Jul 25, 2008 at 10:43 AM, santool <an...@genuvation.com> wrote:
>
> 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
The exception above indicates that it was expecting a string array
with two values in it. Try using a username of 'smx' and a password of
'smx'.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Blog: http://bruceblog.org/