java.lang.UnsupportedClassVersionError: simple/http/ProtocolHandler : Unsupported major.minor version 52.0 (Doc ID 2304022.1)

Last updated on SEPTEMBER 18, 2017

Applies to:

Linux OS - Version Oracle Linux 6.0 with Unbreakable Enterprise Kernel [2.6.32] and later
Linux x86-64

Symptoms

Spacewalk taskomatic process failing while starting the service.

#systemctl status taskomatic -l
taskomatic.service - Taskomatic
Loaded: loaded (/usr/lib/systemd/system/taskomatic.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2017-08-04 19:33:33 UTC; 8s ago
Process: 3254 ExecStop=/usr/sbin/taskomatic stop (code=exited, status=0/SUCCESS)
Process: 3210 ExecStart=/usr/sbin/taskomatic start (code=exited, status=0/SUCCESS)
Main PID: 3223 (code=exited, status=255)

Aug 04 19:33:30 yourspacewalk.server.com.tmi.telus.com taskomatic[3210]: Starting RHN Taskomatic...
Aug 04 19:33:30 yourspacewalk.server.com.tmi.telus.com wrapper[3223]: --> Wrapper Started as Daemon
Aug 04 19:33:31 yourspacewalk.server.com.tmi.telus.com wrapper[3223]: Launching a JVM...
Aug 04 19:33:31 yourspacewalk.server.com.tmi.telus.com systemd[1]: Started Taskomatic.
Aug 04 19:33:31 yourspacewalk.server.com.tmi.telus.com wrapper[3223]: simple/http/ProtocolHandler : Unsupported major.minor version 52.0
java.lang.UnsupportedClassVersionError: simple/http/ProtocolHandler : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at com.redhat.rhn.taskomatic.core.SchedulerKernel.<init>(SchedulerKernel.java:116)
at com.redhat.rhn.taskomatic.core.TaskomaticDaemon.onStartup(TaskomaticDaemon.java:82)
at com.redhat.rhn.taskomatic.core.BaseDaemon.startupWithOptions(BaseDaemon.java:188)at com.redhat.rhn.taskomatic.core.BaseDaemon.start(BaseDaemon.java:55)
at org.tanukisoftware.wrapper.WrapperManager$11.run(WrapperManager.java:2788)
Aug 04 19:33:33 yourspacewalk.server.com.tmi.telus.com systemd[1]: taskomatic.service: main process exited, code=exited, status=255/n/a
Aug 04 19:33:33 yourspacewalk.server.com.tmi.telus.com taskomatic[3254]: Stopping RHN Taskomatic...
Aug 04 19:33:33 yourspacewalk.server.com.tmi.telus.com taskomatic[3254]: RHN Taskomatic was not running.
Aug 04 19:33:33 yourspacewalk.server.com.tmi.telus.com systemd[1]: Unit taskomatic.service entered failed state.
Aug 04 19:33:33 yourspacewalk.server.com.tmi.telus.com systemd[1]: taskomatic.service failed.


..snip from rhn_taskomatic_daemon.log


STATUS | wrapper | 2017/08/03 18:58:10 | --> Wrapper Started as Daemon
STATUS | wrapper | 2017/08/03 18:58:10 | Launching a JVM...
INFO | jvm 1 | 2017/08/03 18:58:10 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO | jvm 1 | 2017/08/03 18:58:10 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
INFO | jvm 1 | 2017/08/03 18:58:10 |
FATAL | jvm 1 | 2017/08/03 18:58:10 | simple/http/ProtocolHandler : Unsupported major.minor version 52.0
java.lang.UnsupportedClassVersionError: simple/http/ProtocolHandler : Unsupported major.minor version 52.0

..snip from system_logs

STATUS | wrapper | 2016/01/19 18:15:11 | Launching a JVM...
ERROR | wrapper | 2016/01/19 18:15:40 | Startup failed: Timed out waiting for a signal from the JVM.
ERROR | wrapper | 2016/01/19 18:15:40 | JVM did not exit on request, termination requested.
STATUS | wrapper | 2016/01/19 18:15:41 | JVM received a signal SIGKILL (9).
STATUS | wrapper | 2016/01/19 18:15:41 | JVM process is gone.
STATUS | wrapper | 2016/01/19 18:15:41 | JVM exited after being requested to terminate.
STATUS | wrapper | 2016/01/19 18:15:45 | Launching a JVM...
ERROR | wrapper | 2016/01/19 18:16:14 | Startup failed: Timed out waiting for a signal from the JVM.
ERROR | wrapper | 2016/01/19 18:16:19 | JVM did not exit on request, termination requested.
STATUS | wrapper | 2016/01/19 18:16:21 | JVM received a signal SIGKILL (9).
STATUS | wrapper | 2016/01/19 18:16:21 | JVM process is gone.
STATUS | wrapper | 2016/01/19 18:16:21 | JVM exited after being requested to terminate.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms