Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-19542

JIRA back up service running twice at startup - Not sure why

    XMLWordPrintable

Details

    Description

      A customer reported that the backup service ran twice on startup. It seems harmless but intriuging. We should investigate how this could happen and ensure worse things cant happen.

      It looks like backup service starts twice on startup (see attached log). Jira data was restored from backup of Jira 3.13.
      I can see only one instance of service in Administration section or in serviceconfig database table.

      2009-10-26 15:33:27,478 main INFO     [atlassian.jira.startup.JiraStartupLogger] 
      
      ******************************************************************************
      JIRA 4.0 build: 466 started. You can now access JIRA through your web browser.
      ******************************************************************************
      
      2009-10-26 15:33:27,490 main INFO     [atlassian.jira.scheduler.JiraSchedulerLauncher] Starting the JIRA Scheduler....
      2009-10-26 15:33:27,576 main INFO     [atlassian.jira.scheduler.JiraSchedulerLauncher] JIRA Scheduler started.
      2009-10-26 15:33:28,522 JiraQuartzScheduler_Worker-0 INFO ServiceRunner   Backup Service [jira.action.admin.DataExport] Starting data export to file '/opt/jira/backup/2009-10-26-15-33.zip'.
      2009-10-26 15:34:27,512 JiraQuartzScheduler_Worker-2 ERROR ServiceRunner   Backup Service [atlassian.jira.service.ServiceRunner] An error occured while trying to run service 'Backup Service'. Service: Backup Service id: 10010 is already running!
      java.lang.IllegalStateException: Service: Backup Service id: 10010 is already running!
      	at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56)
      	at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
      	at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
      	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
      2009-10-26 15:37:16,049 JiraQuartzScheduler_Worker-0 INFO ServiceRunner   Backup Service [jira.action.admin.DataExport] Data export completed in 227527ms. Wrote 1140694 entities to export file '/opt/jira/backup/2009-10-26-15-33.zip'.
      
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bbaker ɹǝʞɐq pɐɹq
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: