Apache tomcat server is not running. After starting the server, process is running for a few sec and going down. From catalina logs identified that
From catalina logs identified the below errors
1. Could not load Logmanager "org.apache.logging.log4j.jul.LogManager
2. com.apple.infosec.safecrypto.exceptions.KeyLoadingException: Error loading key
3. SEVERE: Failed to initialize component
[Connector[com.apple.ist.b2b.infosec.SafeCryptoHttp11Nio2Protocol-19150]]
4. SEVERE: Exception looking up UserDatabase under key [UserDatabase]
java.lang.ClassCastException: class org.apache.naming.ResourceRef cannot be cast to class org.apache.catalina.UserDatabase (org.apache.naming.ResourceRef and org.apache.catalina.UserDatabase are in unnamed module of loader java.net.URLClassLoader @59fa1d9b)
5. SEVERE: Failed to start [org.apache.catalina.realm.UserDatabaseRealm] realm
org.apache.catalina.LifecycleException: No UserDatabase component found under key [UserDatabase]
6. INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Jan 01, 2023 8:37:46 AM org.apache.catalina.core.ApplicationContext log
INFO: 3 Spring WebApplicationInitializers detected on classpath
Please assist to fix the issue.
I tried starting the server, but process is going down. From the logs, identified that old process is running, checked the catalina.pid file there is a process running on it but not able to kill the process.
Expecting to start the server.