SEVERE: Error configuring application bad major version

Document ID : KB000111878
Last Modified Date : 23/08/2018
Show Technical Document Details
Issue:
Unable to run Mainframe Webhook Server on Tomcat
SEVERE: Error configuring application listener of class com.ca.mf.webhook.watchdog.listeners.InitializeThreadPool 
java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=com/ca/mf/webhook/watchdog/listeners/InitializeThreadPoo 
l, offset=6 (unable to load class com.ca.mf.webhook.watchdog.listeners.InitializeThreadPool)
Resolution:
Webhooks was designed to run with Java version 1.8 or higher. 
Check to see what version of Java is being used by Tomcat


Depending on your OS and Tomcat version, you can look up the Java version Tomcat is running with in the manager app, which is installed by default. Go to http://hostname:8080/manager/html (replace hostname by hostname or localhost and your port number), scroll to the bottom, there you will find "JVM Version".
 
Another way would be to review tomcat logs. As in:
 
catalina.xxxxxx.log
tomcatx-stderr.xxxxxxxxxx.log