search cancel

JBoss EAP 7.x domain fails to start the hosted servers after disabling jmx in agent profile.


Article ID: 7756


Updated On:


CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE


JBoss EAP 7.x domain fails to start the hosted servers after disabling jmx monitoring in agent profile (introscope.agent.jmx.enable=false)

The other relevant setting was found to be that auto agent naming was also disabled (introscope.agent.agentAutoNamingEnabled=false)

After redirecting the console output to a file using command "nohup ./ > boot.log 2>&1 &" these errors were visible in the boot.log:

Controller-threads - 3) WFLYPC0018: Starting process 'Server:server-one'
[0m[Server:server-one] WARNING: Failed to load the specified log manager class org.jboss.logmanager.LogManager
[Server:server-one] Exception in thread "main" java.lang.IllegalStateException: The LogManager was not properly installed (you must set the "java.util.logging.manager" system property to "org.jboss.logmanager.LogManager")
[Server:server-one]     at org.jboss.logmanager.Logger.getLogger(
[Server:server-one]     at
[Server:server-one]     at
[Server:server-one]     at org.jboss.modules.Main.main(
[0m09:48:34,310 INFO  [] (reaper for Server:server-one) WFLYPC0011: Process 'Server:server-one' finished with an exit status of 1


With jmx and auto agent naming disabled JBoss encountered the known JBoss LogManager error documented in the APM 10.5 wiki i.e.

JBoss Application Server Logging Considerations


APM 10.5.x, JBoss EAP 7.1


After original steps for JBoss EAP Domain agent config Configure JBoss EAP in Domain mode, follow the additional steps documented in JBoss Application Server Logging Considerations 

Using the JBoss Management Console e.g. http://hostname/9990/console/App.html#home the steps with 7.1 specific jar fileanames are:
1. Runtime-> Hosts > Master > Properties
With boot flag set:
a. Remove the existing jboss.modules.system.pkgs property and add jboss.modules.system.pkgs=org.jboss.logmanager,com.wily,com.wily.*
b. Add new property java.util.logging.manager=org.jboss.logmanager.LogManager

2. Runtime-> Hosts > Master > JVM
Edit and under  "jvm options"  add additional property: