Назад | Перейти на главную страницу

Сервер Jenkins возвращает ошибку 500

Установив jenkins на 64-битный дистрибутив lenny debian, я запустил сервер, но когда я подключаюсь к нему, я получаю сообщение об ошибке:

Status Code: 500
Exception: The error below occurred during context initialisation, so no further requests can be processed:

java.lang.ExceptionInInitializerError
   at java.lang.Class.initializeClass(libgcj.so.90)
   at hudson.WebAppMain.installLogger(WebAppMain.java:252)
   at hudson.WebAppMain.contextInitialized(WebAppMain.java:106)
   at winstone.WebAppConfiguration.(WebAppConfiguration.java:889)
   at winstone.HostConfiguration.initWebApp(HostConfiguration.java:131)
   at winstone.HostConfiguration.(HostConfiguration.java:73)
   at winstone.HostGroup.initHost(HostGroup.java:85)
   at winstone.HostGroup.(HostGroup.java:45)
   at winstone.Launcher.(Launcher.java:196)
   at winstone.Launcher.main(Launcher.java:391)
   at java.lang.reflect.Method.invoke(libgcj.so.90)
   at Main._main(Main.java:212)
   at Main.main(Main.java:61)
Caused by: com.thoughtworks.xstream.XStream$InitializationException: Could not instantiate converter : com.thoughtworks.xstream.converters.extended.DurationConverter : null
   at com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream.java:735)
   at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:699)
   at com.thoughtworks.xstream.XStream.(XStream.java:445)
   at com.thoughtworks.xstream.XStream.(XStream.java:385)
   at com.thoughtworks.xstream.XStream.(XStream.java:323)
   at hudson.util.XStream2.(XStream2.java:62)
   at hudson.model.Hudson.(Hudson.java:3656)
   at java.lang.Class.initializeClass(libgcj.so.90)
   ...12 more
Caused by: java.lang.reflect.InvocationTargetException
   at java.lang.reflect.Constructor.newInstance(libgcj.so.90)
   at com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream.java:728)
   ...19 more
Caused by: javax.xml.datatype.DatatypeConfigurationException: java.lang.ClassNotFoundException: gnu.xml.datatype.JAXPDatatypeFactory
   at javax.xml.datatype.DatatypeFactory.newInstance(libgcj.so.90)
   at com.thoughtworks.xstream.converters.extended.DurationConverter.(DurationConverter.java:33)
   at java.lang.reflect.Constructor.newInstance(libgcj.so.90)
   ...20 more
Caused by: java.lang.ClassNotFoundException: gnu.xml.datatype.JAXPDatatypeFactory
   at java.lang.Class.forName(libgcj.so.90)
   at javax.xml.datatype.DatatypeFactory.newInstance(libgcj.so.90)
   ...22 more


Stacktrace:

java.lang.ExceptionInInitializerError
   at java.lang.Class.initializeClass(libgcj.so.90)
   at hudson.WebAppMain.installLogger(WebAppMain.java:252)
   at hudson.WebAppMain.contextInitialized(WebAppMain.java:106)
   at winstone.WebAppConfiguration.(WebAppConfiguration.java:889)
   at winstone.HostConfiguration.initWebApp(HostConfiguration.java:131)
   at winstone.HostConfiguration.(HostConfiguration.java:73)
   at winstone.HostGroup.initHost(HostGroup.java:85)
   at winstone.HostGroup.(HostGroup.java:45)
   at winstone.Launcher.(Launcher.java:196)
   at winstone.Launcher.main(Launcher.java:391)
   at java.lang.reflect.Method.invoke(libgcj.so.90)
   at Main._main(Main.java:212)
   at Main.main(Main.java:61)
Caused by: com.thoughtworks.xstream.XStream$InitializationException: Could not instantiate converter : com.thoughtworks.xstream.converters.extended.DurationConverter : null
   at com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream.java:735)
   at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:699)
   at com.thoughtworks.xstream.XStream.(XStream.java:445)
   at com.thoughtworks.xstream.XStream.(XStream.java:385)
   at com.thoughtworks.xstream.XStream.(XStream.java:323)
   at hudson.util.XStream2.(XStream2.java:62)
   at hudson.model.Hudson.(Hudson.java:3656)
   at java.lang.Class.initializeClass(libgcj.so.90)
   ...12 more
Caused by: java.lang.reflect.InvocationTargetException
   at java.lang.reflect.Constructor.newInstance(libgcj.so.90)
   at com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream.java:728)
   ...19 more
Caused by: javax.xml.datatype.DatatypeConfigurationException: java.lang.ClassNotFoundException: gnu.xml.datatype.JAXPDatatypeFactory
   at javax.xml.datatype.DatatypeFactory.newInstance(libgcj.so.90)
   at com.thoughtworks.xstream.converters.extended.DurationConverter.(DurationConverter.java:33)
   at java.lang.reflect.Constructor.newInstance(libgcj.so.90)
   ...20 more
Caused by: java.lang.ClassNotFoundException: gnu.xml.datatype.JAXPDatatypeFactory
   at java.lang.Class.forName(libgcj.so.90)
   at javax.xml.datatype.DatatypeFactory.newInstance(libgcj.so.90)
   ...22 more


Generated by Winstone Servlet Engine v0.9.10 at Wed Mar 23 14:32:32 GMT+01:00 2011

Есть предложения о том, как я могу это решить?

С уважением, FR

Я подтверждаю это

aptitude установить openjdk-6-jdk

решил мою проблему, и моя оставшаяся проблема связана с прокси-сервером apache для jenkins.

используя lynx localhost: 8080, я увидел, что Дженкинс теперь работает

Спасибо за вашу помощь