[jboss-jira] [JBoss JIRA] (WFLY-7520) VisualVM connection not possible in domain mode

Gunther v. Wolffersdorff (JIRA) issues at jboss.org
Tue Nov 8 10:34:00 EST 2016


     [ https://issues.jboss.org/browse/WFLY-7520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gunther v. Wolffersdorff updated WFLY-7520:
-------------------------------------------
    Steps to Reproduce: 
These steps work fine using Wildfly 8.2.0.Final and does not work anymore using 
Wildfly 10.1.0.Final:

{code}
cd WF_HOME
bin\add-user.bat -a monitor monitor
{code}


in other window start default domain configuration:

{code}
bin\domain.bat
{code}

via CLI do these config changes
{code}
bin\jboss-cli.bat --connect

/profile=full/subsystem=jmx/remoting-connector=jmx:add
/profile=full/subsystem=jmx/remoting-connector=jmx:write-attribute(name=use-management-endpoint, value=false)
/server-group=main-server-group:reload-servers
{code}

Now you should be able to connect to server-one with VisualVM by
*service:jmx:http-remoting-jmx://127.0.0.1:8080* as user *monitor*.

Again this works fine using Wildfly 8.2.0.Final and does not work anymore with Wildfly 
10.1.0.Final.

These steps are for simplification purposes. Also we cannot monitor a domain server in case of different master and slave hosts.




  was:
These steps work fine using Wildfly 8.2.0.Final and does not work anymore using 
Wildfly 10.1.0.Final:

{code}
cd WF_HOME
bin\add-user.bat -a monitor monitor
{code}


in other window start default domain configuration:

{code}
bin\domain.bat
{code}

via CLI do these config changes
{code}
bin\jboss-cli.bat --connect

/profile=full/subsystem=jmx/remoting-connector=jmx:add
/profile=full/subsystem=jmx/remoting-connector=jmx:write-attribute(name=use-management-endpoint, value=false)
/server-group=main-server-group:reload-servers
{code}

Now you should be able to connect to server-one with VisualVM by
service:jmx:http-remoting-jmx://127.0.0.1:8080 as user monitor.

Again this works fine using Wildfly 8.2.0.Final and does not work anymore with Wildfly 
10.1.0.Final.








> VisualVM connection not possible in domain mode
> -----------------------------------------------
>
>                 Key: WFLY-7520
>                 URL: https://issues.jboss.org/browse/WFLY-7520
>             Project: WildFly
>          Issue Type: Bug
>          Components: JMX, Remoting
>    Affects Versions: 10.1.0.Final
>         Environment: Java version: 1.8.0_45, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_45\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "dos"
>            Reporter: Gunther v. Wolffersdorff
>            Assignee: Kabir Khan
>              Labels: JMX, VisualVM
>
> VisualVM cannot connect to domain host server via service:jmx:http-remoting-jmx . 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list