SEVERE: Error configuring application bad major version
search cancel

SEVERE: Error configuring application bad major version

book

Article ID: 111878

calendar_today

Updated On:

Products

Application Lifecycle Conductor

Issue/Introduction

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=xxx/xx/mf/webhook/watchdog/listeners/InitializeThreadPool, offset=6 (unable to load class xxx.xx.mf.webhook.watchdog.listeners.InitializeThreadPool)

Environment

Release: 3.0

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