When attempting to start up our war file project under WildFly 26, in some environments we get the following error and the war file does not load in WildFly.
PerfMon4j will output logging to Log4j when service is available.
Perfmon4j will use embedded javassist.jar copied to temporary file (C:\Users\dlavin\AppData\Local\Temp\javassist.13190539460561794099.jar). To use an external javassist.jar set system property "PERFMON4J_FORCE_EXTERNAL_JAVASSIST_JAR=true".
Perfmon4j using isolated javassist classloader.
_____ __ _ _ _
| __ \ / _| | || | (_)
| |__) |___ _ __| |_ _ __ ___ ___ _ __| || |_ _
| ___// _ \ '__| _| '_ ` _ \ / _ \| '_ \__ _| |
| | | __/ | | | | | | | | | (_) | | | | | | | |
|_| \___|_| |_| |_| |_| |_|\___/|_| |_| |_| | |
_/ |
|__/
To hide banner add "-DPerfmon4j.HideBanner=true" to your command line
Perfmon4j Instrumentation Agent v.1.6.0-rc.1 installed. (http://perfmon4j.org)
Perfmon4j found Javassist bytcode instrumentation library version: 3.27.0-GA
Perfmon4j high resolution timer is DISABLED. To enable add "-DPerfmon4j.UseHighResolutionMillis=true" to your command line
Perfmon4j transformer paramsString: -ecom.follett.fsc,-ecom.follett.fss,-acom.follett.fsc,-acom.follett.fss,-eSQL,-pAUTO,-eVALVE,-f../bin/perfmonconfig.xml
Perfmon4j verbose instrumentation logging disabled. Add -vtrue to javaAgent parameters to enable.
Perfmon4j SQL instrumentation enabled.
Perfmon4j will attempt to install a Servlet Valve in Tomcat, JBoss or Wildfly Servers
In JBoss and Wildfly servers the Valve will NOT be installed until a Web Application is deployed
Perfmon4j will NOT attempt to install instrumentation into Hystrix Commands and Thread Pools. If this application uses Hystrix add -eHYSTRIX to javaAgent parameters to enable.
Perfmon4j will attempt to install instrumentation into Hystrix Commands and Thread Pools
Perfmon4j bootstrap implementation disabled. Add -btrue to javaAgent parameters to enable.
Loading perfmon configuration from file: G:\platforms\universal-search-wildfly26.1.3\wildfly\bin\perfmonconfig.xml
org.jboss.logmanager.LogManager found. Will delay initial load of perfmon4j config for 5 seconds to allow JBoss time to load the LogManager
*** PerfMon4j remote management interface is scheduled to be instantiated in 30 seconds. To override delay duration add "-DPerfmon4j.RemoteInterfaceDelaySeconds=<number of seconds>" to your command line.
Could not load Logmanager "org.jboss.logmanager.LogManager"
java.lang.ClassNotFoundException: org.jboss.logmanager.LogManager
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at org.jboss.modules.JDKSpecific.getSystemClass(JDKSpecific.java:187)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:395)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
at java.logging/java.util.logging.LogManager$1.run(LogManager.java:239)
at java.logging/java.util.logging.LogManager$1.run(LogManager.java:223)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at java.logging/java.util.logging.LogManager.<clinit>(LogManager.java:222)
at org.jboss.modules.Main.main(Main.java:444)
WARNING: Failed to load the specified log manager class org.jboss.logmanager.LogManager
Loading configuration from: perfmonconfig.xml
Appender: "jdbc-appender" not defined. Attaching SnapShotMonitor "McFeelyThreadPool" to the default text appender with a one minute polling interval
No appenders defined for SnapShotMonitor "OldGen Memory Pool" attaching to the default text appender with a 1 minute polling interval.
PerfMon4j could not load the following resources: (SnapShotMonitor: com.follett.fss.mcfeely.perfmon.FetchThreadPoolSnapShot), (SnapShotMonitor: com.follett.fss.mcfeely.perfmon.FetchPolicySnapShot), (SnapShotMonitor: com.follett.fsc.cache.impl.perfmon4j.CacheSnapShot). Will try again in 60 seconds.
Perfmon4j management interface listening on port: 5400
Thanks for the help.