When starting our tomcat 9 server with our agent in place, we are seeing the following exception:
Can’t load log handler “1catalina.org.apache.juli.AsyncFileHandler”
java.lang.ClassNotFoundException: 1catalina.org.apache.juli.AsyncFileHandler
java.lang.ClassNotFoundException: 1catalina.org.apache.juli.AsyncFileHandler
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.util.logging.LogManager$5.run(LogManager.java:965)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:958)
at java.util.logging.LogManager.addLogger(LogManager.java:1165)
at java.util.logging.LogManager$2.run(LogManager.java:349)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.ensureLogManagerInitialized(LogManager.java:338)
at java.util.logging.LogManager.getLogManager(LogManager.java:378)
at java.util.logging.Logger.getPlatformLogger(Logger.java:572)
at java.util.logging.LoggingProxyImpl.getLogger(LoggingProxyImpl.java:41)
at sun.util.logging.LoggingSupport.getLogger(LoggingSupport.java:100)
at sun.util.logging.PlatformLogger$JavaLoggerProxy.(PlatformLogger.java:602)
at sun.util.logging.PlatformLogger$JavaLoggerProxy.(PlatformLogger.java:597)
at sun.util.logging.PlatformLogger.(PlatformLogger.java:239)
at sun.util.logging.PlatformLogger.getLogger(PlatformLogger.java:198)
at sun.util.locale.provider.LocaleServiceProviderPool.config(LocaleServiceProviderPool.java:142)
at sun.util.locale.provider.LocaleProviderAdapter.(LocaleProviderAdapter.java:165)
at java.text.DecimalFormatSymbols.getInstance(DecimalFormatSymbols.java:178)
at java.text.DecimalFormat.(DecimalFormat.java:435)
The configuration that we are using is identical to an existing tomcat instance and applications, the only change that could be causing this is the change in tomcat version.
We are running a portal application called liferay, this has been upgraded to 7.2, and the logging configuration that creates the handlers is part of this. although this, again is the same logging that was used in the previous version.
The agent version is 5.5.0