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

jenkins running in cmd stops after overnight running

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • core
    • windows 7

      when I ran the newest release Jenkins in windows command line, it starts out ok. But after I left it running overnight, when I check back the next morning it stopped. There is on error message on the command line output. The command line output is attached. I tried to output the log to a file, also attached. There isn't anything much there.

      command line:

      C:\jenkinTest>java -jar jenkins.war --logfile=C:\jenkinsTest\log\test.log
      Exception in thread "main" java.io.FileNotFoundException: C:\jenkinsTest\log\tes
      t.log (The system cannot find the path specified)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:212)
      at LogFileOutputStream.<init>(LogFileOutputStream.java:57)
      at Main._main(Main.java:148)
      at Main.main(Main.java:98)

      C:\jenkinTest>java -jar jenkins.war --logfile=C:\jenkinTest\log\test.log
      May 21, 2013 11:36:11 AM winstone.Logger logInternal
      INFO: Beginning extraction from war file
      May 21, 2013 11:36:13 AM winstone.Logger logInternal
      INFO: HTTP Listener started: port=8080
      May 21, 2013 11:36:13 AM winstone.Logger logInternal
      INFO: Winstone Servlet Engine v0.9.10 running: controlPort=disabled
      May 21, 2013 11:36:13 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Started initialization
      May 21, 2013 11:36:14 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Listed all plugins
      May 21, 2013 11:36:14 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Prepared all plugins
      May 21, 2013 11:36:14 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Started all plugins
      May 21, 2013 11:36:14 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Augmented all extensions
      May 21, 2013 11:36:23 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Loaded all jobs
      May 21, 2013 11:36:24 AM org.jenkinsci.main.modules.sshd.SSHD start
      INFO: Started SSHD at port 65227
      May 21, 2013 11:36:24 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Completed initialization
      May 21, 2013 11:36:25 AM hudson.TcpSlaveAgentListener <init>
      INFO: JNLP slave agent listener started on TCP port 65228
      May 21, 2013 11:36:25 AM hudson.WebAppMain$2 run
      INFO: Jenkins is fully up and running
      May 21, 2013 5:26:04 PM hudson.model.AsyncPeriodicWork$1 run
      INFO: Started Fingerprint cleanup
      May 21, 2013 5:26:04 PM hudson.model.FingerprintCleanupThread execute
      INFO: Cleaned up 0 records
      May 21, 2013 5:26:04 PM hudson.model.AsyncPeriodicWork$1 run
      INFO: Finished Fingerprint cleanup. 3 ms
      May 21, 2013 8:07:31 PM hudson.model.AsyncPeriodicWork$1 run
      INFO: Started Workspace clean-up
      May 21, 2013 8:07:31 PM hudson.model.AsyncPeriodicWork$1 run
      INFO: Finished Workspace clean-up. 7 ms

      C:\jenkinTest>

      Log File output using the --logfile swithc:
      Running from: C:\jenkinTest\jenkins.war
      webroot: $user.home/.jenkins
      Jenkins home directory: C:\Users\m2c2\.jenkins found at: $user.home/.jenkins
      (Note) Those 3 lines are all what is inside the log file.

      Please let me know if there is better way to get more log information out of jenkins. I am aware you can do it through webgui, but that doesn't save log file on the disk. When the jenkins stops, there is no way for me to get the log back.

            Unassigned Unassigned
            chemicwepn jiehua he
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: