You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Richard Slide <ri...@gmail.com> on 2014/03/01 19:19:24 UTC

jmx connection

Hello,

I'm using Karaf 3.0 and  connecting by jconsole with the following url

service:jmx:rmi://localhost:44444/jndi/rmi://localhost:33348/karaf-root

login: karaf
password: karaf
But my login fail.

I'm using default configuration.

what's wrong ?

Best Regards,

Richard

Re: jmx connection

Posted by Ryan Moquin <fr...@gmail.com>.
Also what error do you get?  Authentication or network?

Ryan
On Mar 1, 2014 1:19 PM, "Richard Slide" <ri...@gmail.com> wrote:

> Hello,
>
> I'm using Karaf 3.0 and  connecting by jconsole with the following url
>
> service:jmx:rmi://localhost:44444/jndi/rmi://localhost:33348/karaf-root
>
> login: karaf
> password: karaf
> But my login fail.
>
> I'm using default configuration.
>
> what's wrong ?
>
> Best Regards,
>
> Richard
>

Re: jmx connection

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Richard,

Your URL is not correct, you should use:

service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-root

You can configure/tweak the URL and port numbers in 
etc/org.apache.karaf.management.cfg configuration file.

Regards
JB

On 03/01/2014 07:19 PM, Richard Slide wrote:
> Hello,
>
> I'm using Karaf 3.0 and  connecting by jconsole with the following url
>
> service:jmx:rmi://localhost:44444/jndi/rmi://localhost:33348/karaf-root
>
> login: karaf
> password: karaf
> But my login fail.
>
> I'm using default configuration.
>
> what's wrong ?
>
> Best Regards,
>
> Richard

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: jmx connection

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
By the way:

http://karaf.apache.org/manual/latest/users-guide/monitoring.html

Regards
JB

On 03/01/2014 07:19 PM, Richard Slide wrote:
> Hello,
>
> I'm using Karaf 3.0 and  connecting by jconsole with the following url
>
> service:jmx:rmi://localhost:44444/jndi/rmi://localhost:33348/karaf-root
>
> login: karaf
> password: karaf
> But my login fail.
>
> I'm using default configuration.
>
> what's wrong ?
>
> Best Regards,
>
> Richard

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: jmx connection

Posted by Ryan Moquin <fr...@gmail.com>.
Something doesn't feel right about that url... did you customize it from
the default ports?

Did you try:

service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-root

Like the docs mention?

Ryan
On Mar 1, 2014 1:19 PM, "Richard Slide" <ri...@gmail.com> wrote:

> Hello,
>
> I'm using Karaf 3.0 and  connecting by jconsole with the following url
>
> service:jmx:rmi://localhost:44444/jndi/rmi://localhost:33348/karaf-root
>
> login: karaf
> password: karaf
> But my login fail.
>
> I'm using default configuration.
>
> what's wrong ?
>
> Best Regards,
>
> Richard
>