RuntimeException Error scheduling service caused by Multiple services with name
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
After JIRA startup, the following appears in the atlassian-jira.log
:
2013-08-16 02:54:35,486 localhost-startStop-1 ERROR [sal.core.lifecycle.DefaultLifecycleManager] Unable to start component: $Proxy555
java.lang.RuntimeException: Error scheduling service
at com.atlassian.sal.jira.scheduling.JiraPluginScheduler.scheduleJob(JiraPluginScheduler.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
...
Caused by: java.lang.IllegalArgumentException: Multiple services with name 'com.atlassian.jira.plugin.ext.bamboo.service.PlanStatusUpdateServiceImpl:job' exist.
at com.atlassian.jira.service.OfBizServiceConfigStore.getServiceConfigForName(OfBizServiceConfigStore.java:134)
at com.atlassian.jira.service.DefaultServiceManager.getServiceWithName(DefaultServiceManager.java:162)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
Caused by: java.lang.IllegalArgumentException: Multiple services with name 'com.atlassian.streams.internal.ActivityProviderConnectionMonitorImpl:activityProviderMonitor' exist.
at com.atlassian.jira.service.OfBizServiceConfigStore.getServiceConfigForName(OfBizServiceConfigStore.java:134)
at com.atlassian.jira.service.DefaultServiceManager.getServiceWithName(DefaultServiceManager.java:162)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Cause
There are duplicated Services that are present in your JIRA instance. In this example:
com.atlassian.jira.plugin.ext.bamboo.service.PlanStatusUpdateServiceImpl:job
com.atlassian.streams.internal.ActivityProviderConnectionMonitorImpl:activityProviderMonitor
Resolution
Perform the following steps below:
Navigate to Administration >> System >> Services
Remove all services with name com.atlassian.jira.plugin.ext.bamboo.service.PlanStatusUpdateServiceImpl:job and com.atlassian.streams.internal.ActivityProviderConnectionMonitorImpl:activityProviderMonitor
OR
If there are duplicates, remove one (or more) and ensure that there is at least one
Restart JIRA again
Was this helpful?