Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-5629

Scheduled Tasks disapears

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.5
    • 2.3.1
    • Scheduled Tasks
    • None

    Description

      I'm using Nexus OSS 2.3.1-01 on many servers.

      Environment :

      • openSUSE 12.2 64bits
      • Hotspot 1.6.0-43
      • Nexus 2.3.1-01 hosted by Tomcat 7.0.37

      I detected a weird issue on some of them and latest example is :

      Yesterday U created many Scheduled tasks in UI and they appears in nexus.xml (fragment attached). All rules are daily tasks running nightly.

      Today, in UI, I was suprised to see no more tasks.

      Hopefully they are still in nexus.xml so a restart bring them back.

      BTW, on another Nexus, using same rules set, I was less luck and rules disapears from UI but also nexus.xml.

      On this machine, I didn't see anything weird in logs :

      2013-03-21 21:17:45 INFO  [Thread-9       ] - org.apache.shiro.session.mgt.AbstractValidatingSessionManager - Validating all active sessions...
      2013-03-21 21:17:45 INFO  [Thread-9       ] - org.apache.shiro.session.mgt.AbstractValidatingSessionManager - Finished session validation.  No sessions were stopped.
      2013-03-21 22:07:00 INFO  [pool-1-thread-6] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration due to changes in [Scheduled Task Configuration]...
      2013-03-21 22:07:00 INFO  [pool-1-thread-6] - org.sonatype.nexus.tasks.EmptyTrashTask - Scheduled task (R00 - Empty Trash) started :: Emptying Trash.
      2013-03-21 22:07:00 INFO  [pool-1-thread-6] - org.sonatype.nexus.tasks.EmptyTrashTask - Scheduled task (R00 - Empty Trash) finished :: Emptying Trash. (started 2013-03-21T22:07:00+01:00, runtime 0:00:00.782)
      2013-03-21 22:17:00 INFO  [pool-1-thread-6] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration due to changes in [Scheduled Task Configuration]...
      2013-03-21 22:17:00 INFO  [pool-1-thread-6] - org.sonatype.nexus.timeline.tasks.PurgeTimeline - Scheduled task (R01 - Purge Nexus Timeline) started :: Purging Timeline records.
      2013-03-21 22:17:00 INFO  [pool-1-thread-6] - org.sonatype.nexus.timeline.tasks.PurgeTimeline - Scheduled task (R01 - Purge Nexus Timeline) finished :: Purging Timeline records. (started 2013-03-21T22:17:00+01:00, runtime 0:00:00.497)
      2013-03-21 22:17:45 INFO  [Thread-9       ] - org.apache.shiro.session.mgt.AbstractValidatingSessionManager - Validating all active sessions...
      2013-03-21 22:17:45 INFO  [Thread-9       ] - org.apache.shiro.session.mgt.AbstractValidatingSessionManager - Finished session validation.  No sessions were stopped.
      2013-03-21 23:17:45 INFO  [Thread-9       ] - org.apache.shiro.session.mgt.AbstractValidatingSessionManager - Validating all active sessions...
      2013-03-21 23:17:45 INFO  [Thread-9       ] - org.apache.shiro.session.mgt.AbstractValidatingSessionManager - Finished session validation.  No sessions were stopped.
      

      But I could see here that not all tasks where run this night.

      So it seems Scheduled Tasks wasn't saved correctly after edition ;(

      Attachments

        1. nexus.log
          26 kB
        2. nexus-fragment.xml
          6 kB
        3. nexus-fragment-with-all-tasks.xml
          6 kB
        4. nexus-missing-tasks.log
          32 kB
        5. nexus-missing-tasks.png
          nexus-missing-tasks.png
          28 kB
        6. nexus-missing-tasks.xml
          3 kB
        7. nexus-tasks.png
          nexus-tasks.png
          41 kB
        8. sisu-task-scheduler-1.8-SNAPSHOT.jar
          57 kB

        Issue Links

          Activity

            People

              plynch Peter Lynch
              hgomez Henri Gomez
              Peter Lynch Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                tigCommentSecurity.panel-title