[
https://issues.jboss.org/browse/WFLY-3051?page=com.atlassian.jira.plugin....
]
Rituraj Sinha commented on WFLY-3051:
-------------------------------------
Hi Darran ..thanks for replying and looking into it ....
i am using the domain configuration in wildfly 8.0.0.Final....and also using HA profile to
be specific...below are the steps i have performed so far
1) created an application user and management user from the add-user script
2) in domain.xml i have added the below line as <remoting-connector
use-management-endpoint="false"/>
also updated my host.xml with in management and application realm respectively...
<server-identities>
<secret value="base64password"/>
</server-identities>
3) downloaded wildfly 8.0.0.Final on my laptop ....i have set the JAVA_HOME and
JBOSS_HOME ...started jconsole from the path $JBOSS_HOME/bin/jconsole.bat
4) provided the service URL as service:jmx:http-remoting-jmx://remote_host_A:9990 and
given management user_id and password i am able to connect to the host controller running
remotely ...
5) also on the remote host i have 3 server instances running as server-one/two/three with
a port offset of 100 that is there http ports are 8180 , 8280 and 8380
6) when i tried to connect to the server instance by providing the service urls as
service:jmx:http-remoting-jmx://remote_host_A:8180 or 8280/8380 ...i am not able to
connect and i am getting an error as
"secure connection failed . retry insecurely?
the connection to wildflyuser@service:jmx:http-remoting-jmx://remote_host_A:8180 could not
be made using SSL
would you like to try without SSL?"
here wildflyuser is an application user i have created from the add-user.sh command...
even on trying insecurely it doesn't connects ....
Just a note : I was able to connect with the above changes in jboss-7.2.0 but there was a
remoting port there ...in wildfly8 this is not present and undertow is mutiplexing the
ports as i know ...let me know if i am missing any configuration here ...as this one
includes undertow as well...
Thanks
RIturaj
JMX connection to remote server-instances is not happening in wildfly
8.0.0.Final in domain mode
------------------------------------------------------------------------------------------------
Key: WFLY-3051
URL:
https://issues.jboss.org/browse/WFLY-3051
Project: WildFly
Issue Type: Task
Security Level: Public(Everyone can see)
Components: JMX, Remoting
Affects Versions: 8.0.0.Final
Reporter: Rituraj Sinha
Assignee: Darran Lofthouse
Fix For: 8.0.1.Final
i have gone through the below link for JMX subsystem for wildfly 8 as
https://docs.jboss.org/author/display/WFLY8/JMX+subsystem+configuration
but unable to connect to server-instances running remotely ...i have posted my question
there as well and pasting it here now ...
can someone please give us the steps to configure JMX through jconsole...?
changes done on the domain.xml are the same as stated above
<subsystem xmlns="urn:jboss:domain:jmx:1.3">
<expose-resolved-model/>
<expose-expression-model/>
<remoting-connector use-management-endpoint="false"/>
</subsystem>
<subsystem xmlns="urn:jboss:domain:jmx:1.3">
<expose-resolved-model/>
<expose-expression-model/>
<remoting-connector use-management-endpoint="false"/>
</subsystem>
as per the jboss-as-jmx_1_3.xsd its like
<xs:attribute name="use-management-endpoint" type="xs:boolean"
default="true" use="optional" >
<xs:annotation>
<xs:documentation>
If true then this connector will use the management endpoint,
otherwise it will use the
remoting subsystem endpoint.
</xs:documentation>
</xs:annotation>
</xs:attribute>
now if we are making it false then it should be using the remoting endpoint ...now
remoting subsystem by default uses ApplicatoinRealm
i have created application-user and password for the same but when i am trying to connect
to remote server-instances its not connecting it....
below is what i am able to connect to
service:jmx:http-remoting-jmx://remote_hostA:9990 --
Unknown macro: {host A is where my domain_controller is running}
how can i access the server-instances running on domain_controller
Unknown macro: {there are three server_instanaces running on HostA with a port offset of
100 each}
i am trying to connect with the below url as
service:jmx:http-remoting-jmx://lremote_hostA:8180
let me know if something is missing from my side...
Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira