Troubleshooting Java agent installation errors in JBoss

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:
  1. Modify the value of system property "jboss.modules.system.pkgs" to "org.jboss.byteman,com.manageengine,org.jboss.logmanager"
  2. 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

    • How to uninstall the Site24x7 Windows Server Monitoring Agent

      Method 1: To uninstall the Site24x7 Windows Server Monitoring Agent, click the link below: https://staticdownloads.site24x7.com/server/Site24x7WindowsAgentUninstall.zip Unzip and execute the Uninstall.bat file in the Command Prompt as an ...
    • Troubleshooting steps when no data is received from the SQL server

      As we use "Perfmon" to fetch data for Microsoft SQL monitoring, please check if the counters related to SQL are present in the user's perfmon. Please follow the steps below: Open the server machine in which the issue is occurring. Start -> Run and ...
    • How to identify and resolve conflicts between other APM products and the APM Insight .NET agent

      Problem statement: You are experiencing either of the below issues and suspect that another APM product is interfering with the Site24x7 .NET agent. 1. The .NET monitor is not created under APM > APM Insight > Applications, even after the .NET agent ...
    • 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 ...
    • Domain configurations for location server IPs

      Site24x7 provides the option to whitelist domain/IP addresses of the global location servers to overcome the firewall restrictions at the user end. Now, you can whitelist the domains restricted to a geographic region. For example, when you whitelist ...