ARTEMIS-5051 disable jolokia detectors in console war

This commit is contained in:
Gary Tully 2024-09-18 20:06:17 +01:00
parent 7882c92e5d
commit ebd97bb91a
3 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,9 @@
!org.jolokia.detector.GeronimoDetector
!org.jolokia.detector.JBossDetector
!org.jolokia.detector.ActiveMQDetector
!org.jolokia.detector.TomcatDetector
!org.jolokia.detector.JettyDetector
!org.jolokia.detector.GlassfishDetector
!org.jolokia.detector.WeblogicDetector
!org.jolokia.detector.WebsphereDetector
!org.jolokia.detector.LightstreamerDetector

View File

@ -939,6 +939,7 @@
<exclude>**/target/</exclude>
<exclude>**/META-INF/services/*</exclude>
<exclude>**/META-INF/MANIFEST.MF</exclude>
<exclude>**/META-INF/detectors</exclude>
<exclude>**/*.iml</exclude>
<exclude>**/*.jceks</exclude>
<exclude>**/*.jks</exclude>

View File

@ -66,7 +66,7 @@ public class JmxRBACBrokerSecurityTest extends SmokeTestBase {
{
HelperCreate cliCreateServer = new HelperCreate();
cliCreateServer.setRole("amq").setUser("admin").setPassword("admin").setAllowAnonymous(false).setNoWeb(true).setArtemisInstance(server0Location).
cliCreateServer.setRole("amq").setUser("admin").setPassword("admin").setAllowAnonymous(false).setNoWeb(false).setArtemisInstance(server0Location).
setConfiguration("./src/main/resources/servers/jmx-rbac-broker-security").setArgs("--java-options", "-Djava.rmi.server.hostname=localhost -Djavax.management.builder.initial=org.apache.activemq.artemis.core.server.management.ArtemisRbacMBeanServerBuilder");
cliCreateServer.createServer();
}