So, setting the hostname in jmx.xml didn't work.

@Platform team any thoughts?

On Tue, Oct 25, 2016 at 9:37 AM, Nadheesh Jihan <[email protected]> wrote:

> Hi,
>
> I found the solution. The problem was with the way I started the server.
>
> To establish a remote connection, we have to start the server with
>               -Djava.rmi.server.hostname = <IP_ADDRESS_WHICH_YOU_USE_TO_
> CONNECT_TO_SERVER>
>
> Thanks
>
>
>
> On Mon, Oct 24, 2016 at 3:45 PM, Nadheesh Jihan <[email protected]> wrote:
>
>> Hi,
>>
>> I need to connect to the JMX Service of DAS in order to monitor JVM usage
>> data. I tried using the JConsole to connect to JMX Service of DAS.
>>
>>  1) When I tried to connect to the JMX service(of DAS) which is running
>> in same machine(localhost), I can connect without any problem.
>>
>>  2) But when I tried to connect to JMX service, which is running on
>> another machine, I get an error saying "Connection failed" and I can't
>> connect to the service.
>>
>>  The JMX Service URL used for 2nd scenario : service:jmx:rmi://10.100.4.x
>> xx:11111/jndi/rmi://10.100.4.xxx:9999/jmxrmi (Used default credentials)
>>
>> Error Message :
>> "The connection to admin@service:jmx:rmi://10.100
>> .4.206:11111/jndi/rmi://10.100.4.206:9999/jmxrmi did not succeed."
>>
>> Can you please help me to connect to JMX service remotely?
>>
>>
>> --
>> Best regards,
>> *J. Nadheesh Jihan*
>> Software Engineering Intern
>> WSO2 Inc
>>
>> Mobile: *+9476 8525534 <%2B9476%208525534> *
>>
>
>
>
> --
> Best regards,
> *J. Nadheesh Jihan*
> Software Engineering Intern
> WSO2 Inc
>
> Mobile: *+9476 8525534 <%2B9476%208525534> *
>



-- 

Thanks & regards,
Nirmal

Team Lead - WSO2 Machine Learner
Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to