Update hosed Jenkins

14 views
Skip to first unread message

DannyT

unread,
Oct 3, 2011, 7:20:49 AM10/3/11
to jenkins...@googlegroups.com
I've just downloaded the latest version of Jenkins and tried to update via Glassfish as per upgrade instructions here:
https://wiki.jenkins-ci.org/display/JENKINS/Glassfish

Unofrtunately now I'm getting the following error trying to run Jenkins:

[!] Error

org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException
	at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246)
	at hudson.model.Hudson.executeReactor(Hudson.java:751)
	at hudson.model.Hudson.(Hudson.java:665)
	at hudson.model.Hudson.(Hudson.java:605)
	at hudson.WebAppMain$2.run(WebAppMain.java:221)
Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException
	at hudson.init.InitializerFinder.invoke(InitializerFinder.java:114)
	at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:174)
	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
	at hudson.model.Hudson$4.runTask(Hudson.java:733)
	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at hudson.init.InitializerFinder.invoke(InitializerFinder.java:110)
	... 8 more
Caused by: java.lang.IllegalAccessError: class jenkins.model.Jenkins$17 cannot access its superclass hudson.model.FullDuplexHttpChannel
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
	at org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:927)
	at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1486)
	at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1369)
	at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:64)
	at hudson.diagnosis.NullIdDescriptorMonitor.verifyId(NullIdDescriptorMonitor.java:86)
	... 13 more

I have no knowledge of Glassfish so not too sure what to check, I did notice the version number reported in the footer of the Jenkins site still reports the old version (1.4.0.0).

Is it possible to move Jenkins out of Glassfish to run as a windows service?

Thanks for any help

Dan

DannyT

unread,
Oct 3, 2011, 7:48:43 AM10/3/11
to jenkins...@googlegroups.com
That was easy :)

Just stopped glassfish and ran java -jar jenkins.war and everything was as I left it, then used the Jenkins interface to install as windows service. Finally simply deleted glassfish.
Reply all
Reply to author
Forward
0 new messages