java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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. {quote} 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. {quote} {code} 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'. {code}
    via by Brad Baker [Atlassian],
    • java.lang.IllegalStateException: Service: JEMH Poker id: 10142 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)
    No Bugmate found.