I am just using the internal auth single user at the moment. This is my
config.xml

<?xml version='1.0' encoding='UTF-8'?>
<hudson>
  <disabledAdministrativeMonitors>
    <string>OldData</string>
    <string>hudson.diagnosis.TooManyJobsButNoView</string>
  </disabledAdministrativeMonitors>
  <version>1.522</version>
  <numExecutors>2</numExecutors>
  <mode>NORMAL</mode>
  <useSecurity>true</useSecurity>
  <authorizationStrategy
class="hudson.security.FullControlOnceLoggedInAuthorizationStrategy"/>
  <securityRealm class="hudson.security.HudsonPrivateSecurityRealm">
    <disableSignup>true</disableSignup>
    <enableCaptcha>false</enableCaptcha>
  </securityRealm>
  <projectNamingStrategy
class="jenkins.model.ProjectNamingStrategy$DefaultProjectNamingStrategy"/>
  <workspaceDir>${ITEM_ROOTDIR}/workspace</workspaceDir>
  <buildsDir>${ITEM_ROOTDIR}/builds</buildsDir>
  <markupFormatter class="hudson.markup.RawHtmlMarkupFormatter">
    <disableSyntaxHighlighting>false</disableSyntaxHighlighting>
  </markupFormatter>
  <jdks/>
  <viewsTabBar class="hudson.views.DefaultViewsTabBar"/>
  <myViewsTabBar class="hudson.views.DefaultMyViewsTabBar"/>
  <clouds/>
  <slaves/>
  <quietPeriod>5</quietPeriod>
  <scmCheckoutRetryCount>0</scmCheckoutRetryCount>
  <views>
    <hudson.model.AllView>
      <owner class="hudson" reference="../../.."/>
      <name>All</name>
      <filterExecutors>false</filterExecutors>
      <filterQueue>false</filterQueue>
      <properties class="hudson.model.View$PropertyList"/>
    </hudson.model.AllView>
  </views>
  <primaryView>All</primaryView>
  <slaveAgentPort>0</slaveAgentPort>
  <label></label>
  <crumbIssuer class="hudson.security.csrf.DefaultCrumbIssuer">
    <excludeClientIPFromCrumb>false</excludeClientIPFromCrumb>
    <PROXY__HEADER>X-Forwarded-For</PROXY__HEADER>
  </crumbIssuer>
  <nodeProperties/>
  <globalNodeProperties/>
  <noUsageStatistics>true</noUsageStatistics>
</hudson>



On Wed, Sep 25, 2013 at 1:11 PM, Ulli Hafner <[email protected]>wrote:

> Jenkins can read the file but the contents are broken:
>
> hudson.security.csrf.DefaultCrumbIssuer.PROXY_HEADER
>
> This field cannot be set from the XML file (is missing, etc.)
>
> Which plug-in are you using for security?
>
> Ulli
>
>
> Am 25.09.2013 um 19:00 schrieb Boris Kurktchiev <[email protected]>:
>
> i keep getting org.jvnet.hudson.reactor.ReactorException:
> hudson.util.IOException2: Unable to read /opt/local/jenkins/config.xml when
> i try to start up Jenkins, but the directory and file is owned by jenkins
> user, i can su to jenkins user and view/edit the file… i am getting
> stumped. Here is a full dump of the error I am seeing:
>
> org.jvnet.hudson.reactor.ReactorException: hudson.util.IOException2:
> Unable to read /opt/local/jenkins/config.xml
>
> at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246)
>
> at jenkins.InitReactorRunner.run(InitReactorRunner.java:43)
>
> at jenkins.model.Jenkins.executeReactor(Jenkins.java:910)
>
> at jenkins.model.Jenkins.<init>(Jenkins.java:806)
>
> at hudson.model.Hudson.<init>(Hudson.java:81)
>
> at hudson.model.Hudson.<init>(Hudson.java:77)
>
> at hudson.WebAppMain$3.run(WebAppMain.java:221)
>
> Caused by: hudson.util.IOException2: Unable to read
> /opt/local/jenkins/config.xml
>
> at hudson.XmlFile.unmarshal(XmlFile.java:170)
>
> at jenkins.model.Jenkins$17.run(Jenkins.java:2530)
>
> at
> org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
>
> at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
>
> at jenkins.model.Jenkins$7.runTask(Jenkins.java:899)
>
> 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.runWorker(ThreadPoolExecutor.java:1145)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
> at java.lang.Thread.run(Thread.java:722)
>
> Caused by: com.thoughtworks.xstream.converters.ConversionException: Could
> not set field class hudson.security.csrf.DefaultCrumbIssuer.PROXY_HEADER :
> null : Could not set field class
> hudson.security.csrf.DefaultCrumbIssuer.PROXY_HEADER : null
>
> ---- Debugging information ----
>
> message             : Could not set field class
> hudson.security.csrf.DefaultCrumbIssuer.PROXY_HEADER : null
>
> cause-exception     :
> com.thoughtworks.xstream.converters.reflection.ObjectAccessException
>
> cause-message       : Could not set field class
> hudson.security.csrf.DefaultCrumbIssuer.PROXY_HEADER : null
>
> class               : hudson.security.csrf.DefaultCrumbIssuer
>
> required-type       : hudson.security.csrf.DefaultCrumbIssuer
>
> converter-type      : hudson.util.RobustReflectionConverter
>
> path                : /hudson/crumbIssuer/PROXY_HEADER
>
> line number         : 38
>
> class[1]            : hudson.model.Hudson
>
> version             : not available
>
> -------------------------------
>
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
>
> at
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
>
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
>
> at
> hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:333)
>
> at
> hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:275)
>
> at
> hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222)
>
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
>
> at
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
>
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
>
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
>
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
>
> at
> com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
>
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1061)
>
> at hudson.util.XStream2.unmarshal(XStream2.java:109)
>
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045)
>
> at hudson.XmlFile.unmarshal(XmlFile.java:166)
>
> ... 9 more
>
> Caused by:
> com.thoughtworks.xstream.converters.reflection.ObjectAccessException: Could
> not set field class hudson.security.csrf.DefaultCrumbIssuer.PROXY_HEADER :
> null
>
> at
> com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider.write(Sun14ReflectionProvider.java:141)
>
> at
> com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider.writeField(Sun14ReflectionProvider.java:104)
>
> at
> hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:290)
>
> at
> hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222)
>
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
>
> ... 24 more
>
> Caused by: java.lang.IllegalArgumentException
>
> at sun.misc.Unsafe.objectFieldOffset(Native Method)
>
> at
> com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider.getFieldOffset(Sun14ReflectionProvider.java:150)
>
> at
> com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider.write(Sun14ReflectionProvider.java:112)
>
> ... 28 more
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
>
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to