Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-536

Hudson fails on first startup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: other
    • Labels:
      None
    • Environment:
      Platform: PC, OS: Linux
    • Similar Issues:

      Description

      When I tried to deploy Hudson on Tomcat 5.5 on Ubuntu 7.04 (feisty) it failed to
      start and this was logged:

      May 3, 2007 10:16:25 PM org.apache.catalina.startup.HostConfig deployWAR
      INFO: Deploying web application archive hudson.war
      May 3, 2007 10:16:31 PM hudson.PluginManager <init>
      SEVERE: Hudson is unable to create /usr/share/tomcat5.5/.hudson/plugins
      Perhaps its security privilege is insufficient
      May 3, 2007 10:16:31 PM hudson.TcpSlaveAgentListener <init>
      INFO: JNLP slave agent listener started on TCP port 3130
      May 3, 2007 10:16:31 PM org.apache.catalina.core.StandardContext start
      SEVERE: Error listenerStart
      May 3, 2007 10:16:31 PM org.apache.catalina.core.StandardContext start
      SEVERE: Context [/hudson] startup failed due to previous errors
      May 3, 2007 10:16:32 PM hudson.model.Queue save
      WARNING: Failed to write out the queue file /usr/share/tomcat5.5/.hudson/queue.t
      xt
      java.io.FileNotFoundException: /usr/share/tomcat5.5/.hudson/queue.txt (No such f
      ile or directory)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
      at hudson.model.Queue.save(Queue.java:139)
      at hudson.model.Hudson.cleanUp(Hudson.java:893)
      at hudson.WebAppMain.contextDestroyed(WebAppMain.java:170)
      [rest of stacktrace omitted]

      Only after manually creating /usr/share/tomcat5.5/.hudson and changing the owner
      and group to tomcat55:nogroup Hudson could be started.

        Attachments

          Activity

          Hide
          clanie clanie added a comment -

          Forgot to mention this is regarding Hudson 1.105.

          Show
          clanie clanie added a comment - Forgot to mention this is regarding Hudson 1.105.
          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          Thanks. As you found our the root cause was that Hudson couldn't create the
          HUDSON_HOME directory.

          I modified the code not to print out extra unnecessary error messages in 1.106.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - Thanks. As you found our the root cause was that Hudson couldn't create the HUDSON_HOME directory. I modified the code not to print out extra unnecessary error messages in 1.106.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            clanie clanie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: