Weird, I just got through the upgrade process and after starting spacewalk 
services I also saw the taskomatic process start and then stop with this error:

simple/http/ProtocolHandler : Unsupported major.minor version 
52.0#012java.lang.UnsupportedClassVersionError:
<-- output omitted -->
<-- Wrapper Stopped

My alternatives command shows that current java is set to 1.7.0 openjdk, though 
1.8.0 is installed.

I ran alternatives --config java and set it to 1.8.0 and now taskomatic is 
working again.

--Matthew Wilkinson

From: [email protected] 
[mailto:[email protected]] On Behalf Of Miller, Jeffrey L
Sent: Wednesday, September 27, 2017 12:30
To: [email protected]
Subject: Re: [Spacewalk-list] Spacewalk 2.7 taskomatic error on startup

[This is an external email. Be cautious with links, attachments and responses.]
________________________________
The clue that put me onto the idea with a similar error message: 
https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall11

What was actually removed:
==================================================================================================================================================================================
 Package                                  Arch                       Version    
                                    Repository                                  
             Size
==================================================================================================================================================================================
Removing:
 java-1.7.1-ibm                           x86_64                     
1:1.7.1.4.10-1jpp.2.el6_9                      
@rhel-x86_64-server-supplementary-6                     151 M
Removing for dependencies:
 java-1.7.1-ibm-devel                     x86_64                     
1:1.7.1.4.10-1jpp.2.el6_9                      
@rhel-x86_64-server-supplementary-6                     8.7 M

Transaction Summary
==================================================================================================================================================================================
Remove        2 Package(s)

Hope that helps!
Jeffrey


From: 
<[email protected]<mailto:[email protected]>> 
on behalf of "Wilkinson, Matthew" 
<[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, September 27, 2017 at 12:10
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [Spacewalk-list] Spacewalk 2.7 taskomatic error on startup

which package did you remove specifically?

--Matthew Wilkinson

From: 
[email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Miller, Jeffrey L
Sent: Wednesday, September 27, 2017 11:26
To: [email protected]<mailto:[email protected]>
Subject: Re: [Spacewalk-list] Spacewalk 2.7 taskomatic error on startup

[This is an external email. Be cautious with links, attachments and responses.]
________________________________
Follow up: I seem to have found the issue. An additional version of java was 
installed on the system in the past. Removing that extra version of java and 
leaving just the openjdk versions allowed taskomatic to startup cleanly and 
function.

Jeffrey



From: 
<[email protected]<mailto:[email protected]>> 
on behalf of Jeffrey Miller 
<[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, September 27, 2017 at 10:44
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [Spacewalk-list] Spacewalk 2.7 taskomatic error on startup

After upgrading to Spacewalk 2.7, taskomatic is failing to start up. The 
following error is present when attempting to start the service:

STATUS | wrapper  | 2017/09/27 10:11:35 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2017/09/27 10:11:35 | Launching a JVM...
INFO   | jvm 1    | 2017/09/27 10:11:36 | Wrapper (Version 3.2.3) 
http://wrapper.tanukisoftware.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__wrapper.tanukisoftware.org&d=DwMGaQ&c=GUDVeAVg1gjs_GJkmwL1m3gEzDND7NeJG5BIAX_2yRE&r=zxSMv3Yyn0u8GiLjBm805qsHQ-PQnlWklaJFaNwJsRdou0Rx32Ld6bt57-Tq1kdA&m=mAwJJjPmuSCsxiYjJ3hyyK8sgpbTyENeu3njG7_jnzw&s=eihpFIeo1OXug0uAw_iBKsM_dO_JhF8BFUiqSZbEWeA&e=>
INFO   | jvm 1    | 2017/09/27 10:11:36 |   Copyright 1999-2006 Tanuki 
Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2017/09/27 10:11:36 |
FATAL  | jvm 1    | 2017/09/27 10:11:36 | JVMCFRE003 bad major version; 
class=simple/http/ProtocolHandler, offset=6
java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; 
class=simple/http/ProtocolHandler, offset=6
        at java.lang.ClassLoader.defineClassImpl(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:331)
        at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:155)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:714)
        at java.net.URLClassLoader.access$400(URLClassLoader.java:93)
        at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1166)
        at 
java.security.AccessController.doPrivileged(AccessController.java:488)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:597)
        at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:786)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:760)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:330)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:741)
        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)

STATUS | wrapper  | 2017/09/27 10:11:38 | <-- Wrapper Stopped


Thoughts on where to go? Other than this, the server upgrade seems to be 
functional.


Jeffrey

=============================================
Jeffrey Miller
Senior Systems Administrator
The University of Iowa
ITS – Research Services
19 Lindquist Center South
Iowa City, IA 52242-1727
(319) 467-1636
=============================================

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to