Please share any other relevant files that may be required (for example, logs).
Share all details related to your problem, including any error messages you may have received.
Hello,
I’m running into an issue when trying to launch IdentityIQ, where the application doesn’t start.
Usually when IIQ crashes, to restart it I use the following command:
systemctl restart tomcat
From the systemctl status it shows that tomcat is active and running, but recently I have not been able to get IIQ to run. From the log files I can see the following error being thrown:
java.lang.UnsupportedClassVersionError: oracle/jdbc/driver/OracleDriver has been compiled by a more recent version of the Java Runtime
The logs generated from trying to restart tomcat are displayed in the first reply.
Do you have any clue why the error is being thrown, and how to fix it?
I’m getting an error uploading the logs file, so here is the log trace
16-Jul-2024 09:52:22.653 INFO [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.
16-Jul-2024 09:52:22.743 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
16-Jul-2024 09:52:22.839 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
16-Jul-2024 09:52:22.978 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
16-Jul-2024 09:52:23.028 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]
16-Jul-2024 09:52:23.958 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/9.0.75
16-Jul-2024 09:52:23.967 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: May 4 2023 13:04:05 UTC
16-Jul-2024 09:52:23.968 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.75.0
16-Jul-2024 09:52:23.968 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
16-Jul-2024 09:52:23.968 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 4.18.0-553.8.1.el8_10.x86_64
16-Jul-2024 09:52:23.968 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
16-Jul-2024 09:52:23.968 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.412.b08-2.el8.x86_64/jre
16-Jul-2024 09:52:23.968 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_412-b08
16-Jul-2024 09:52:23.968 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Red Hat, Inc.
16-Jul-2024 09:52:23.968 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /SOFTWARE/tomcat9
16-Jul-2024 09:52:23.968 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /SOFTWARE/tomcat9
16-Jul-2024 09:52:23.971 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/SOFTWARE/tomcat9/conf/logging.properties
16-Jul-2024 09:52:23.971 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
16-Jul-2024 09:52:23.971 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
16-Jul-2024 09:52:23.971 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
16-Jul-2024 09:52:23.971 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
16-Jul-2024 09:52:23.971 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
16-Jul-2024 09:52:23.971 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/SOFTWARE/tomcat9
16-Jul-2024 09:52:23.971 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/SOFTWARE/tomcat9
16-Jul-2024 09:52:23.971 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/SOFTWARE/tomcat9/temp
16-Jul-2024 09:52:23.973 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
16-Jul-2024 09:52:24.315 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
16-Jul-2024 09:52:24.368 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [604] milliseconds
16-Jul-2024 09:52:24.396 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
16-Jul-2024 09:52:24.397 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.75]
16-Jul-2024 09:52:24.403 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/SOFTWARE/tomcat9/webapps/ROOT]
16-Jul-2024 09:52:24.593 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/SOFTWARE/tomcat9/webapps/ROOT] has finished in [189] ms
16-Jul-2024 09:52:24.593 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/SOFTWARE/tomcat9/webapps/docs]
16-Jul-2024 09:52:24.620 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/SOFTWARE/tomcat9/webapps/docs] has finished in [27] ms
16-Jul-2024 09:52:24.620 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/SOFTWARE/tomcat9/webapps/examples]
16-Jul-2024 09:52:24.889 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/SOFTWARE/tomcat9/webapps/examples] has finished in [269] ms
16-Jul-2024 09:52:24.889 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/SOFTWARE/tomcat9/webapps/host-manager]
16-Jul-2024 09:52:24.908 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/SOFTWARE/tomcat9/webapps/host-manager] has finished in [18] ms
16-Jul-2024 09:52:24.908 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/SOFTWARE/tomcat9/webapps/manager]
16-Jul-2024 09:52:24.933 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/SOFTWARE/tomcat9/webapps/manager] has finished in [25] ms
16-Jul-2024 09:52:24.933 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/SOFTWARE/tomcat9/webapps/identityiq]
Jul 16, 2024 9:52:34 AM org.apache.jasper.servlet.TldScanner scanJars
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.
Jul 16, 2024 9:52:34 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
2024-07-16T09:52:35,343 WARN main springframework.context.support.ClassPathXmlApplicationContext:559 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'versionChecker' defined in class path resource [configBeans.xml]: Invocation of init method failed; nested exception is java.lang.UnsupportedClassVersionError: oracle/jdbc/driver/OracleDriver has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 52.0 (unable to load class [oracle.jdbc.driver.OracleDriver])
Jul 16, 2024 9:52:35 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class [sailpoint.web.StartupContextListener]
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'versionChecker' defined in class path resource [configBeans.xml]: Invocation of init method failed; nested exception is java.lang.UnsupportedClassVersionError: oracle/jdbc/driver/OracleDriver has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 52.0 (unable to load class [oracle.jdbc.driver.OracleDriver])
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1799)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:144)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:85)
at sailpoint.spring.SpringStarter.start(SpringStarter.java:324)
at sailpoint.web.StartupContextListener.contextInitialized(StartupContextListener.java:89)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4494)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4946)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:683)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:658)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1184)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1932)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1094)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:476)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1617)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:318)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:898)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:795)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1332)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1322)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:871)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:249)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:428)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:914)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:347)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:478)
Caused by: java.lang.UnsupportedClassVersionError: oracle/jdbc/driver/OracleDriver has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 52.0 (unable to load class [oracle.jdbc.driver.OracleDriver])
at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2475)
at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:875)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1376)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1220)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.apache.commons.dbcp2.DriverFactory.createDriver(DriverFactory.java:44)
at org.apache.commons.dbcp2.BasicDataSource.createConnectionFactory(BasicDataSource.java:472)
at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:538)
at org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:753)
at sailpoint.persistence.SailPointDataSource.getConnection(SailPointDataSource.java:47)
at sailpoint.server.VersionChecker.afterPropertiesSet(VersionChecker.java:60)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1858)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1795)
... 54 more
Jul 16, 2024 9:52:35 AM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra 2.2.20 ( 20190731-0756 59754ac80c05d61848a08939ddd11a324f2345ac) for context '/identityiq'
Jul 16, 2024 9:52:35 AM com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans methods marked with these annotations will have said annotations processed.
Jul 16, 2024 9:52:36 AM org.primefaces.webapp.PostConstructApplicationEventListener processEvent
INFO: Running on PrimeFaces 8.0.12
16-Jul-2024 09:52:36.783 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
16-Jul-2024 09:52:36.784 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal Context [/identityiq] startup failed due to previous errors
16-Jul-2024 09:52:36.824 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [identityiq] appears to have started a thread named [Log4j2-TF-2-Scheduled-1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:750)
16-Jul-2024 09:52:36.825 SEVERE [main] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [identityiq] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@59df3646]) and a value of type [sailpoint.api.Meter.MeterSet] (value [sailpoint.api.Meter$MeterSet@4f74e519]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
16-Jul-2024 09:52:36.830 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/SOFTWARE/tomcat9/webapps/identityiq] has finished in [11,897] ms
16-Jul-2024 09:52:36.833 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
16-Jul-2024 09:52:36.847 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [12478] milliseconds