java - SEVERE: Failed to initialize Jenkins -
i have installed jenkins on linux giving next errors when effort start server illustrated below. (note have changed port using --httpport.)
i have latest version of java installed on pc.
can 1 tell me causing next problem?
pcadmin@imsez-d0137:~/desktop$ java -jar jenkins.war --httpport=9000 running from: jenkins.war webroot: $user.home/.jenkins 05-feb-2013 8:04:10 p.m. winstone.logger loginternal info: origin extraction war file 05-feb-2013 8:04:11 p.m. hudson.webappmain contextinitialized severe: failed initialize jenkins java.lang.exceptionininitializererror @ java.lang.class.initializeclass(libgcj.so.10) @ hudson.webappmain.installlogger(webappmain.java:253) @ hudson.webappmain.contextinitialized(webappmain.java:104) @ winstone.webappconfiguration.<init>(webappconfiguration.java:876) @ winstone.hostconfiguration.initwebapp(hostconfiguration.java:129) @ winstone.hostconfiguration.<init>(hostconfiguration.java:71) @ winstone.hostgroup.inithost(hostgroup.java:87) @ winstone.hostgroup.<init>(hostgroup.java:47) @ winstone.launcher.<init>(launcher.java:177) @ winstone.launcher.main(launcher.java:384) @ java.lang.reflect.method.invoke(libgcj.so.10) @ main._main(main.java:273) @ main.main(main.java:98) caused by: java.lang.nullpointerexception @ com.thoughtworks.xstream.core.jvm.isopenjdk(jvm.java:72) @ com.thoughtworks.xstream.core.jvm.canusesun14reflectionprovider(jvm.java:198) @ com.thoughtworks.xstream.core.jvm.bestreflectionprovider(jvm.java:175) @ com.thoughtworks.xstream.xstream.<init>(xstream.java:431) @ com.thoughtworks.xstream.xstream.<init>(xstream.java:385) @ com.thoughtworks.xstream.xstream.<init>(xstream.java:323) @ hudson.util.xstream2.<init>(xstream2.java:78) @ jenkins.model.jenkins.<clinit>(jenkins.java:3763) @ java.lang.class.initializeclass(libgcj.so.10) ...12 more 05-feb-2013 8:04:11 p.m. winstone.logger loginternal severe: error during context startup webapp webapp java.lang.exceptionininitializererror @ java.lang.class.initializeclass(libgcj.so.10) @ hudson.webappmain.installlogger(webappmain.java:253) @ hudson.webappmain.contextinitialized(webappmain.java:104) @ winstone.webappconfiguration.<init>(webappconfiguration.java:876) @ winstone.hostconfiguration.initwebapp(hostconfiguration.java:129) @ winstone.hostconfiguration.<init>(hostconfiguration.java:71) @ winstone.hostgroup.inithost(hostgroup.java:87) @ winstone.hostgroup.<init>(hostgroup.java:47) @ winstone.launcher.<init>(launcher.java:177) @ winstone.launcher.main(launcher.java:384) @ java.lang.reflect.method.invoke(libgcj.so.10) @ main._main(main.java:273) @ main.main(main.java:98) caused by: java.lang.nullpointerexception @ com.thoughtworks.xstream.core.jvm.isopenjdk(jvm.java:72) @ com.thoughtworks.xstream.core.jvm.canusesun14reflectionprovider(jvm.java:198) @ com.thoughtworks.xstream.core.jvm.bestreflectionprovider(jvm.java:175) @ com.thoughtworks.xstream.xstream.<init>(xstream.java:431) @ com.thoughtworks.xstream.xstream.<init>(xstream.java:385) @ com.thoughtworks.xstream.xstream.<init>(xstream.java:323) @ hudson.util.xstream2.<init>(xstream2.java:78) @ jenkins.model.jenkins.<clinit>(jenkins.java:3763) @ java.lang.class.initializeclass(libgcj.so.10) ...12 more 05-feb-2013 8:04:16 p.m. winstone.logger loginternal info: http listener started: port=9000 05-feb-2013 8:04:16 p.m. winstone.logger loginternal info: ajp13 listener started: port=8009 05-feb-2013 8:04:16 p.m. winstone.logger loginternal severe: error during servlet context shutdown java.lang.noclassdeffounderror: jenkins.model.jenkins @ java.lang.class.initializeclass(libgcj.so.10) @ hudson.webappmain.contextdestroyed(webappmain.java:336) @ winstone.webappconfiguration.destroy(webappconfiguration.java:1167) @ winstone.hostconfiguration.destroywebapp(hostconfiguration.java:148) @ winstone.hostconfiguration.destroy(hostconfiguration.java:156) @ winstone.hostgroup.destroy(hostgroup.java:77) @ winstone.launcher.shutdown(launcher.java:337) @ winstone.launcher.<init>(launcher.java:199) @ winstone.launcher.main(launcher.java:384) @ java.lang.reflect.method.invoke(libgcj.so.10) @ main._main(main.java:273) @ main.main(main.java:98) 05-feb-2013 8:04:16 p.m. winstone.logger loginternal info: winstone shutdown 05-feb-2013 8:04:16 p.m. winstone.logger loginternal severe: container startup failed java.io.ioexception: failed start listener: winstone.ssl.httpslistener @ winstone.launcher.spawnlistener(launcher.java:229) @ winstone.launcher.<init>(launcher.java:185) @ winstone.launcher.main(launcher.java:384) @ java.lang.reflect.method.invoke(libgcj.so.10) @ main._main(main.java:273) @ main.main(main.java:98) caused by: java.lang.noclassdeffounderror: winstone.ssl.httpslistener @ java.lang.class.initializeclass(libgcj.so.10) @ java.lang.class.forname(libgcj.so.10) @ java.lang.class.forname(libgcj.so.10) @ winstone.launcher.spawnlistener(launcher.java:213) ...5 more caused by: java.lang.classnotfoundexception: sun.security.util.dervalue not found in java.net.urlclassloader{urls=[file:/tmp/winstonev2gtdejar], parent=gnu.gcj.runtime.systemclassloader{urls=[file:jenkins.war], parent=gnu.gcj.runtime.extensionclassloader{urls=[], parent=null}}} @ java.net.urlclassloader.findclass(libgcj.so.10) @ java.lang.classloader.loadclass(libgcj.so.10) @ java.lang.classloader.loadclass(libgcj.so.10) @ java.lang.class.initializeclass(libgcj.so.10)
here's similar report: https://groups.google.com/forum/#!msg/jenkinsci-users/bqqxg8abyxy/-rs3rmwkwyyj
according initial response, cause using 'gcj'. solution utilize openjdk or oracle jdk.
java jenkins
No comments:
Post a Comment