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

Subversion polling stops working after a while

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      I´ve setup a Subversion polling on every minute.

      After a few builds, it just stops working. There´s no error message. The polling
      just stops all of the sudden.

      Restarting Tomcat restarts the polling and solves the problem for a while. But
      it´s just not reliable as it is.

      Here´s a sample Subversion Polling Log (it stopped working 4 days ago):

      Started on Aug 17, 2006 12:00:48 PM
      $ svn info --xml trunk
      Revision:4444
      $ svn info --xml https://trac/svn/infopae/trunk
      Done. Took 1 second
      No changes

          [JENKINS-107] Subversion polling stops working after a while

          Perhaps the thread that's doing the timer work is dead for some reason.

          Does your Tomcat leave any record to console or in one of its log files?

          Kohsuke Kawaguchi added a comment - Perhaps the thread that's doing the timer work is dead for some reason. Does your Tomcat leave any record to console or in one of its log files?

          I think I figured out why. An error in timer thread would have killed the timer
          altogether. So it must be that something went wrong with one of the scheduled
          task, killing the thread, thus causing no further timer related work to be executed.

          I updated the code accordingly.

          Kohsuke Kawaguchi added a comment - I think I figured out why. An error in timer thread would have killed the timer altogether. So it must be that something went wrong with one of the scheduled task, killing the thread, thus causing no further timer related work to be executed. I updated the code accordingly.

            Unassigned Unassigned
            demetriusnunes demetriusnunes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: