Skip to content

Commit

Permalink
Merge pull request #37 from dkx-daniel/open-jboss-connection-string
Browse files Browse the repository at this point in the history
Open jboss connection string to support the following modes:

service:jmx:remote
service:jmx:remote+http
service:jmx:remote+https
  • Loading branch information
qtc-de authored Nov 17, 2023
2 parents e275cc1 + e75980b commit 5334435
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public MBeanServerConnection getMBeanServerConnection(String host, int port, Map
connString += String.format(":///jndi/rmi://%s:%d/jmxrmi", host, port);
}

else if (connString.startsWith("service:jmx:remote+http"))
else if (connString.startsWith("service:jmx:remote"))
{
connString += String.format("://%s:%d", host, port);
}
Expand Down

0 comments on commit 5334435

Please sign in to comment.