Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Jenkins error: Unable to read /home/jenkins/.jenkins/config.xml

  1. #1
    Junior Member
    Join Date
    Oct 2018
    Location
    New York
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Jenkins error: Unable to read /home/jenkins/.jenkins/config.xml

    Hi all, Jenkins Problem Statement -

    During jenkins restart process getting below error

    hudson.util.HudsonFailedToLoadrg.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /home/jenkins/.jenkins/config.xml
    at hudson.WebAppMain$3.run(WebAppMain.java:248)
    Caused by: org.jvnet.hudson.reactor.ReactorException:java.io. IOException: Unable to read /home/jenkins/.jenkins/config.xml

    Caused by: jenkins.util.xstream.CriticalXStreamException:
    hudson.plugins.active_directory.ActiveDirectorySec urityRealm :
    hudson.plugins.active_directory.ActiveDirectorySec urityRealm

    ---- Debugging information ----

    message: hudson.plugins.active_directory.ActiveDirectorySec urityRealm
    cause-exception :
    com.thoughtworks.xstream.mapper.CannotResolveClass Exception

    cause-message :
    hudson.plugins.active_directory.ActiveDirectorySec urityRealm
    class : hudson.model.Hudson
    required-type : hudson.model.Hudson
    converter-type : hudson.util.RobustReflectionConverter
    path : /hudson/securityRealm
    line number : 550
    version : not available
    -------------------------------

    IMPORTANT: Debugging info highlights the issues around - Active Directory / LDAP Plugin

    NOTE: Upon disabling (commenting line number 550 on config.xml) Jenkins UP but unable to login to Jenkins.

    Thanks in advance.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Jenkins error: Unable to read /home/jenkins/.jenkins/config.xml

    Moved from Threads section.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Jenkins Jelly, Annotated Nested Class error
    By aussiemcgr in forum Java Theory & Questions
    Replies: 0
    Last Post: September 24th, 2014, 10:35 AM
  2. Unable to read '#' value using getParameter
    By napster12 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: June 27th, 2012, 05:06 AM
  3. convert excel to xml and read the input from xml file
    By rahulruns in forum Object Oriented Programming
    Replies: 5
    Last Post: April 3rd, 2012, 11:13 AM
  4. unable to get the o/p for xml file
    By javaking in forum File I/O & Other I/O Streams
    Replies: 2
    Last Post: April 11th, 2010, 11:59 PM