You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by "wangxusheng .apabi (王绪胜)" <wa...@founder.com> on 2017/02/14 10:28:42 UTC
Remote jmx failed in james-server-app-3.0.0-beta5
Hi:
I'm using james-server-app-3.0.0-beta5,but I can't manage its users from remote client.
I've updated jmx.properties with ip address,added “-Dcom.sun.management.jmxremote.ssl=false” in starting script. I can connect to my james server in the local machine using ip address(Example:172.18.84.81:9999), but I can't connect to the server on other remote machine. It just says "connect failed" after ssl warning screen. I can telnet the machine with 172.18.84.81 9999. I use jconsole as jmx client , and I closed firewall for server and client.
Do I miss something?
Any help is appreciated!
Sam
Remote jmx authentication failed in james-server-app-3.0.0-beta5
Posted by "wangxusheng .apabi (王绪胜)" <wa...@founder.com>.
I have enable remote jmx in james-server-app-3.0.0-beta5, but I can't enable jmx authentication. I have changed the wapper.conf as follows:
wrapper.java.additional.17=-Dcom.sun.management.jmxremote.password.file="C:/Software/Java/jdk1.8.0_92/jre/lib/management/jmxremote.password"
wrapper.java.additional.16=-Djava.rmi.server.hostname=172.18.84.81
...
wrapper.java.additional.3=-Dcom.sun.management.jmxremote.authenticate=true
The file jmxremote.password as follows:
monitorRole QED
controlRole R&D
I can use jconsole to connect the server without username and password.
Does james-server-app-3.0.0-beta5 support jmx authentication?
Did I miss something?
Sam
From: wangxusheng(王绪胜).apabi<ma...@founder.com>
Date: 2017-02-15 10:02
To: Benoit Tellier<ma...@minet.net>; server-user<ma...@james.apache.org>
Subject: Re: Re: Remote jmx failed in james-server-app-3.0.0-beta5
The problem is solved by add this "wrapper.java.additional.15=-Djava.rmi.server.hostname=yourjamesserverhost".
Thanks a lot.
Sam
From: Benoit Tellier<ma...@minet.net>
Date: 2017-02-14 20:28
To: server-user@james.apache.org<ma...@james.apache.org>
Subject: Re: Remote jmx failed in james-server-app-3.0.0-beta5
Had your modified the jmx.properties config file ?
Le 14/02/2017 à 17:54, 杨勐 a écrit :
>
> You should add some configuration about JMX management to
> wrapper.conf,especialy
>
> wrapper.java.additional.15=-Djava.rmi.server.hostname=yourjamesserverhost
>
>
> 在 2017年02月14日 18:28, wangxusheng(王绪胜).apabi 写道:
>> Hi:
>> I'm using james-server-app-3.0.0-beta5,but I can't manage its
>> users from remote client.
>> I've updated jmx.properties with ip address,added
>> “-Dcom.sun.management.jmxremote.ssl=false” in starting script. I can
>> connect to my james server in the local machine using ip
>> address(Example:172.18.84.81:9999), but I can't connect to the server
>> on other remote machine. It just says "connect failed" after ssl
>> warning screen. I can telnet the machine with 172.18.84.81 9999. I
>> use jconsole as jmx client , and I closed firewall for server and client.
>> Do I miss something?
>> Any help is appreciated!
>>
>> Sam
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Re: Remote jmx failed in james-server-app-3.0.0-beta5
Posted by "wangxusheng .apabi (王绪胜)" <wa...@founder.com>.
The problem is solved by add this "wrapper.java.additional.15=-Djava.rmi.server.hostname=yourjamesserverhost".
Thanks a lot.
Sam
From: Benoit Tellier<ma...@minet.net>
Date: 2017-02-14 20:28
To: server-user@james.apache.org<ma...@james.apache.org>
Subject: Re: Remote jmx failed in james-server-app-3.0.0-beta5
Had your modified the jmx.properties config file ?
Le 14/02/2017 à 17:54, 杨勐 a écrit :
>
> You should add some configuration about JMX management to
> wrapper.conf,especialy
>
> wrapper.java.additional.15=-Djava.rmi.server.hostname=yourjamesserverhost
>
>
> 在 2017年02月14日 18:28, wangxusheng(王绪胜).apabi 写道:
>> Hi:
>> I'm using james-server-app-3.0.0-beta5,but I can't manage its
>> users from remote client.
>> I've updated jmx.properties with ip address,added
>> “-Dcom.sun.management.jmxremote.ssl=false” in starting script. I can
>> connect to my james server in the local machine using ip
>> address(Example:172.18.84.81:9999), but I can't connect to the server
>> on other remote machine. It just says "connect failed" after ssl
>> warning screen. I can telnet the machine with 172.18.84.81 9999. I
>> use jconsole as jmx client , and I closed firewall for server and client.
>> Do I miss something?
>> Any help is appreciated!
>>
>> Sam
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Remote jmx failed in james-server-app-3.0.0-beta5
Posted by Benoit Tellier <be...@minet.net>.
Had your modified the jmx.properties config file ?
Le 14/02/2017 � 17:54, \u6768\u52d0 a �crit :
>
> You should add some configuration about JMX management to
> wrapper.conf,especialy
>
> wrapper.java.additional.15=-Djava.rmi.server.hostname=yourjamesserverhost
>
>
> \u5728 2017\u5e7402\u670814\u65e5 18:28, wangxusheng(\u738b\u7eea\u80dc).apabi \u5199\u9053:
>> Hi:
>> I'm using james-server-app-3.0.0-beta5,but I can't manage its
>> users from remote client.
>> I've updated jmx.properties with ip address\uff0cadded
>> \u201c-Dcom.sun.management.jmxremote.ssl=false\u201d in starting script. I can
>> connect to my james server in the local machine using ip
>> address(Example:172.18.84.81:9999), but I can't connect to the server
>> on other remote machine. It just says "connect failed" after ssl
>> warning screen. I can telnet the machine with 172.18.84.81 9999. I
>> use jconsole as jmx client , and I closed firewall for server and client.
>> Do I miss something?
>> Any help is appreciated!
>>
>> Sam
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Remote jmx failed in james-server-app-3.0.0-beta5
Posted by 杨勐 <ya...@sina.com>.
You should add some configuration about JMX management to
wrapper.conf,especialy
wrapper.java.additional.15=-Djava.rmi.server.hostname=yourjamesserverhost
\u5728 2017\u5e7402\u670814\u65e5 18:28, wangxusheng(\u738b\u7eea\u80dc).apabi \u5199\u9053:
> Hi:
> I'm using james-server-app-3.0.0-beta5,but I can't manage its users from remote client.
> I've updated jmx.properties with ip address\uff0cadded \u201c-Dcom.sun.management.jmxremote.ssl=false\u201d in starting script. I can connect to my james server in the local machine using ip address(Example:172.18.84.81:9999), but I can't connect to the server on other remote machine. It just says "connect failed" after ssl warning screen. I can telnet the machine with 172.18.84.81 9999. I use jconsole as jmx client , and I closed firewall for server and client.
> Do I miss something?
> Any help is appreciated!
>
> Sam
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org