After adding Javaagent in JBoss, server does not start. It throws JBoss logger exception. How do I resolve it?
Some versions of JBoss servers (both AS & EAP) throws JBoss logger exception such as the one shown below:Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: JBAS011592: The logging subsystem requires the log manager to be org.jboss.logmanager.LogManager. The subsystem has not be initialized and cannot be used. To use JBoss Log Manager you must add the system property "java.util.logging.manager" and set it to "org.jboss.logmanager.LogManager"
In most cases, this exception occurs when the server is running on Java version 6. To overcome this, add the following parameters to JVM arguments of JBoss servers:
- Modify the value of system property "jboss.modules.system.pkgs" to "org.jboss.byteman,com.manageengine,org.jboss.logmanager"
- Add the arguments "-Djava.util.logging.manager=org.jboss.logmanager.LogManager -Xbootclasspath/p:<JBOSS_HOME>/<path_to_jboss-logmanager_jar>/jboss-logmanager-<version>.jar"
Note: Please modify the jboss-logmanager jar name and path accordingly in above argument, as it varies for different versions of JBoss
These changes can be done in JBOSS_HOME/bin/standalone.sh(.conf.bat) file for standalone servers and JBOSS_HOME/domain/configuration/host.xml file for servers in domain setup
Restart your JBoss server for the changes to take effect.
Related Articles
Monitor and validate DNS IP changes using regex
DNS administrators often monitor their DNS servers to detect changes in domain resolution and ensure IP mappings remain secure and accurate. Problem When your organization adds or modifies an IP address for your domain name, it’s critical to: Be ...
Executables and scripts to allow for Windows server monitoring
One of the reasons you could not enable Site24x7 server monitoring could be your organization's group policy denying access to the executables, scripts, and batch files associated with Site24x7 server monitoring. Mark the following executables, ...
No data for service and process in Windows server monitor
If you see "No Data" for process and service metrics (such as CPU or memory usage of monitored services) in the Site24x7 Windows server monitor user interface, follow the troubleshooting steps below. Run PowerShell Commands Open PowerShell as ...
Response time and its components
Response time is comprised of five major components namely DNS time, connection time, SSL Handshake Time, first byte and Download time. Let us consider a scenario to further explain these terms: A website zoho.com is monitored by Site24x7. Firstly, ...
How to configure the NGINX status page for monitoring NGINX performance
The NGINX plugin uses the NGINX status page to pull the performance metrics of the NGINX server. You may encounter the following errors while installing the NGINX plugin integration: Error_code : HTTP Error 404: This error usually indicates that the ...