JIRA Fails to Start Due to 'java.lang.IllegalArgumentException Multiple services with name 'Subversion Revision Indexing Service' exist'

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

JIRA will not start. Errors in the logs appear like:

2008-04-08 18:13:16,703 Thread-1 ERROR [ext.subversion.revisions.RevisionIndexer] Could not load properties from subversion-jira-plugin.properties
java.lang.IllegalArgumentException: Multiple services with name 'Subversion Revision Indexing Service' exist.
at com.atlassian.jira.service.OfBizServiceConfigStore.getServiceConfigForName(OfBizServiceConfigStore.java:98)
at com.atlassian.jira.service.DefaultServiceManager.getServiceWithName(DefaultServiceManager.java:63)
at com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService.install(RevisionIndexService.java:51)
at com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexer.start(RevisionIndexer.java:109)
at com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManagerImpl.start(MultipleSubversionRepositoryManagerImpl.java:276)
...
Caused by: java.lang.IllegalArgumentException: Multiple services with name 'Subversion Revision Indexing Service' exist.

Cause

The JIRA Subversion Plugin has duplicate services - this is a known bug tracked under  Unable to locate Jira server for this macro. It may be due to Application Link configuration. .

Resolution

  1. Navigate to Administration > System > Services.
  2. Remove all services with name Subversion Revision Indexing Service.
  3. Restart JIRA - this will terminate multiple syncs currently in progress, which can cause JIRA applications Subversion plugin is not updating commits due to "SimpleFSLock lock obtain timeout IOException" on index directory.

PS : If you are not able to get to the JIRA dashboard and hence navigate to admin console, try using the url directly : http://<JIRA Base url>/secure/admin/ViewServices!default.jspa 

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.