java.lang.IllegalArgumentException: No services with name 'User Counter Service' exist.

Atlassian JIRA | Jeff Turner (Unused account) | 8 years ago
  1. 0

    Importing an onjira.com JIRA backup, I got the error: 2009-02-06 08:01:17,545 TP-Processor12 ERROR [sal.core.upgrade.PluginUpgrader] Upgrade failed: No services with name 'User Counter Service' exist. java.lang.IllegalArgumentException: No services with name 'User Counter Service' exist. at com.atlassian.jira.service.DefaultServiceManager.removeServiceByName(DefaultServiceManager.java:120) at com.atlassian.jira.upgrade.UpgradeTo_v35.doUpgrade(UpgradeTo_v35.java:25) at com.atlassian.sal.core.upgrade.PluginUpgrader.doUpgrade(PluginUpgrader.java:83) at com.atlassian.sal.core.upgrade.PluginUpgrader.upgrade(PluginUpgrader.java:64) at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.upgradeInternal(DefaultPluginUpgradeManager.java:91) at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager$1.doInTransaction(DefaultPluginUpgradeManager.java:62) at com.atlassian.sal.core.transaction.NoOpTransactionTemplate.execute(NoOpTransactionTemplate.java:14) at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.upgrade(DefaultPluginUpgradeManager.java:58) at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.onStart(DefaultPluginUpgradeManager.java:103) at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.notifyOnStart(DefaultLifecycleManager.java:42) at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.start(DefaultLifecycleManager.java:22) at com.atlassian.studio.navigation.StudioNavbarInformationRetriever.getStudioNavbarInformation(StudioNavbarInformationRetriever.java:33) at com.atlassian.studio.DefaultStudioHelper.getStudioNavbarInformation(DefaultStudioHelper.java:203) at com.atlassian.studio.DefaultStudioHelper.createVelocityParameters(DefaultStudioHelper.java:83) at com.atlassian.studio.topnav.StudioPluggableTopNavigation.getHtml(StudioPluggableTopNavigation.java:22) at org.apache.jsp.decorators.admin_jsp._jspService(admin_jsp.java:295) ... 2009-02-06 08:01:17,741 TP-Processor12 INFO [sal.core.upgrade.PluginUpgrader] Plugin com.atlassian.studio.theme.jira upgrade completed. Current version is: 34 2009-02-06 08:01:17,741 TP-Processor12 ERROR [sal.core.upgrade.DefaultPluginUpgradeManager] Upgrade error: upgrade.unexpected.exception: java.lang.IllegalArgumentException: No services with name 'User Counter Service' exist., Please can we make this upgrade task not fail if the service isn't present.

    Atlassian JIRA | 8 years ago | Jeff Turner (Unused account)
    java.lang.IllegalArgumentException: No services with name 'User Counter Service' exist.
  2. 0

    After the failure of a disk on the database server previously used by Jira, the Tomcat connection pool was modified to point to an new empty schema, a new directory was created for backups, indexes and uploadedFiles and Jira was restarted. This empty Jira instance was restored using an xml backup without any problems. These steps were performed 2 days ago. This morning while editing an issue Jira had a problem updating the status of an issue: 2008-05-21 11:24:27,944 http-8091-5 WARN [ofbiz.core.entity.SequenceUtil] [SequenceUtil.SequenceBank.fillBank] SQL Exception while executing the following: SELECT SEQ_ID FROM SEQUENCE_VALUE_ITEM WHERE SEQ_NAME='OSCurrentStep' Error was: 2008-05-21 11:24:27,944 http-8091-5 WARN [ofbiz.core.entity.SequenceUtil] Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: Broken pipe STACKTRACE: java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2739) at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2650) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1581) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1695) at com.mysql.jdbc.Connection.execSQL(Connection.java:3020) at com.mysql.jdbc.Connection.execSQL(Connection.java:2949) at com.mysql.jdbc.Statement.executeQuery(Statement.java:959) at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208) at org.ofbiz.core.entity.SequenceUtil$SequenceBank.fillBank(SequenceUtil.java:203) at org.ofbiz.core.entity.SequenceUtil$SequenceBank.getNextSeqId(SequenceUtil.java:128) at org.ofbiz.core.entity.SequenceUtil.getNextSeqId(SequenceUtil.java:83) at org.ofbiz.core.entity.GenericDelegator.getNextSeqId(GenericDelegator.java:2075) at com.opensymphony.workflow.spi.ofbiz.OfbizWorkflowStore.createCurrentStep(OfbizWorkflowStore.java:70) at com.opensymphony.workflow.AbstractWorkflow.createNewCurrentStep(AbstractWorkflow.java:1509) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1256) at com.opensymphony.workflow.AbstractWorkflow.doAction(AbstractWorkflow.java:567) at com.atlassian.jira.workflow.SimpleWorkflowManager.doWorkflowAction(SimpleWorkflowManager.java:269) at com.atlassian.jira.workflow.WorkflowTransitionUtilImpl.progress(WorkflowTransitionUtilImpl.java:264) at com.atlassian.jira.web.action.issue.CommentAssignIssue.doExecute(CommentAssignIssue.java:245) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:211) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:114) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:110) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.jira.web.filters.JIRAProfilingFilter.doFilter(JIRAProfilingFilter.java:16) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2008-05-21 11:24:27,948 http-8091-5 ERROR [ofbiz.core.entity.SequenceUtil] [SequenceUtil.SequenceBank.getNextSeqId] Fill bank failed, returning null 2008-05-21 11:24:27,949 http-8091-5 ERROR [atlassian.jira.workflow.SimpleWorkflowManager] An exception occurred com.opensymphony.workflow.StoreException: Could not create new current step for #10117: root cause: while inserting: [GenericEntity:OSCurrentStep][startDate,2008-05-21 11:24:27.89][owner,][stepId,4][finishDate,null][actionId,0][dueDate,null][entryId,10117][status,Resolved][id,null] (SQL Exception while executing the following:INSERT INTO OS_CURRENTSTEP (ID, ENTRY_ID, STEP_ID, ACTION_ID, OWNER, START_DATE, DUE_DATE, FINISH_DATE, STATUS, CALLER) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Column 'ID' cannot be null)) I checked the status of the mysql database and as it appeared to be OK, I proceeded to restart tomcat. The problem that I am seeing is now that Jira is unable to start and the error message is: 2008-05-21 12:17:45,532 main 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) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:421) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:347) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 2008-05-21 12:17:45,537 main ERROR [com.atlassian.jira.ComponentManager] Error occurred while starting component. com.atlassian.jira.InfrastructureException: Could not load properties from subversion-jira-plugin.properties at com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexer.start(RevisionIndexer.java:114) at com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManagerImpl.start(MultipleSubversionRepositoryManagerImpl.java:276) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:421) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:347) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: 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) ... 28 more 2008-05-21 12:17:45,542 main FATAL [atlassian.jira.upgrade.ConsistencyLauncher] A RuntimeException occurred during ConsistencyLauncher servlet context initia lisation - Error occurred while starting component.. com.atlassian.jira.InfrastructureException: Error occurred while starting component. at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:427) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:347) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: com.atlassian.jira.InfrastructureException: Could not load properties from subversion-jira-plugin.properties at com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexer.start(RevisionIndexer.java:114) at com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManagerImpl.start(MultipleSubversionRepositoryManagerImpl.java:276) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:421) ... 26 more Caused by: 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) ... 28 more The database contains the following information: mysql> select * from serviceconfig; +-------+-----------+-------------------------------------------------------------------------+--------------------------------------+ | ID | delaytime | CLAZZ | servicename | +-------+-----------+-------------------------------------------------------------------------+--------------------------------------+ | 10000 | 60000 | com.atlassian.jira.service.services.mail.MailQueueService | Mail Queue Service | | 10001 | 43200000 | com.atlassian.jira.service.services.export.ExportService | Backup Service | | 10010 | 3600000 | com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService | Subversion Revision Indexing Service | | 10020 | 3600000 | com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService | Subversion Revision Indexing Service | +-------+-----------+-------------------------------------------------------------------------+--------------------------------------+ 4 rows in set (0.00 sec) I think that what may be happening is that when Jira starts the Subversion plugin creates a row in the serviceconfig table if one does not already exist but the process to restore from an xml backup does not perform this check which results in two rows being created if one previously existed.

    Ecosystem JIRA | 9 years ago | Hugh Gilmour
    java.lang.IllegalArgumentException: Multiple services with name 'Subversion Revision Indexing Service' exist.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    After the failure of a disk on the database server previously used by Jira, the Tomcat connection pool was modified to point to an new empty schema, a new directory was created for backups, indexes and uploadedFiles and Jira was restarted. This empty Jira instance was restored using an xml backup without any problems. These steps were performed 2 days ago. This morning while editing an issue Jira had a problem updating the status of an issue: 2008-05-21 11:24:27,944 http-8091-5 WARN [ofbiz.core.entity.SequenceUtil] [SequenceUtil.SequenceBank.fillBank] SQL Exception while executing the following: SELECT SEQ_ID FROM SEQUENCE_VALUE_ITEM WHERE SEQ_NAME='OSCurrentStep' Error was: 2008-05-21 11:24:27,944 http-8091-5 WARN [ofbiz.core.entity.SequenceUtil] Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: Broken pipe STACKTRACE: java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2739) at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2650) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1581) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1695) at com.mysql.jdbc.Connection.execSQL(Connection.java:3020) at com.mysql.jdbc.Connection.execSQL(Connection.java:2949) at com.mysql.jdbc.Statement.executeQuery(Statement.java:959) at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208) at org.ofbiz.core.entity.SequenceUtil$SequenceBank.fillBank(SequenceUtil.java:203) at org.ofbiz.core.entity.SequenceUtil$SequenceBank.getNextSeqId(SequenceUtil.java:128) at org.ofbiz.core.entity.SequenceUtil.getNextSeqId(SequenceUtil.java:83) at org.ofbiz.core.entity.GenericDelegator.getNextSeqId(GenericDelegator.java:2075) at com.opensymphony.workflow.spi.ofbiz.OfbizWorkflowStore.createCurrentStep(OfbizWorkflowStore.java:70) at com.opensymphony.workflow.AbstractWorkflow.createNewCurrentStep(AbstractWorkflow.java:1509) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1256) at com.opensymphony.workflow.AbstractWorkflow.doAction(AbstractWorkflow.java:567) at com.atlassian.jira.workflow.SimpleWorkflowManager.doWorkflowAction(SimpleWorkflowManager.java:269) at com.atlassian.jira.workflow.WorkflowTransitionUtilImpl.progress(WorkflowTransitionUtilImpl.java:264) at com.atlassian.jira.web.action.issue.CommentAssignIssue.doExecute(CommentAssignIssue.java:245) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:211) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:114) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:110) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.jira.web.filters.JIRAProfilingFilter.doFilter(JIRAProfilingFilter.java:16) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2008-05-21 11:24:27,948 http-8091-5 ERROR [ofbiz.core.entity.SequenceUtil] [SequenceUtil.SequenceBank.getNextSeqId] Fill bank failed, returning null 2008-05-21 11:24:27,949 http-8091-5 ERROR [atlassian.jira.workflow.SimpleWorkflowManager] An exception occurred com.opensymphony.workflow.StoreException: Could not create new current step for #10117: root cause: while inserting: [GenericEntity:OSCurrentStep][startDate,2008-05-21 11:24:27.89][owner,][stepId,4][finishDate,null][actionId,0][dueDate,null][entryId,10117][status,Resolved][id,null] (SQL Exception while executing the following:INSERT INTO OS_CURRENTSTEP (ID, ENTRY_ID, STEP_ID, ACTION_ID, OWNER, START_DATE, DUE_DATE, FINISH_DATE, STATUS, CALLER) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Column 'ID' cannot be null)) I checked the status of the mysql database and as it appeared to be OK, I proceeded to restart tomcat. The problem that I am seeing is now that Jira is unable to start and the error message is: 2008-05-21 12:17:45,532 main 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) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:421) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:347) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 2008-05-21 12:17:45,537 main ERROR [com.atlassian.jira.ComponentManager] Error occurred while starting component. com.atlassian.jira.InfrastructureException: Could not load properties from subversion-jira-plugin.properties at com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexer.start(RevisionIndexer.java:114) at com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManagerImpl.start(MultipleSubversionRepositoryManagerImpl.java:276) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:421) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:347) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: 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) ... 28 more 2008-05-21 12:17:45,542 main FATAL [atlassian.jira.upgrade.ConsistencyLauncher] A RuntimeException occurred during ConsistencyLauncher servlet context initia lisation - Error occurred while starting component.. com.atlassian.jira.InfrastructureException: Error occurred while starting component. at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:427) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:347) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: com.atlassian.jira.InfrastructureException: Could not load properties from subversion-jira-plugin.properties at com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexer.start(RevisionIndexer.java:114) at com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManagerImpl.start(MultipleSubversionRepositoryManagerImpl.java:276) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:421) ... 26 more Caused by: 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) ... 28 more The database contains the following information: mysql> select * from serviceconfig; +-------+-----------+-------------------------------------------------------------------------+--------------------------------------+ | ID | delaytime | CLAZZ | servicename | +-------+-----------+-------------------------------------------------------------------------+--------------------------------------+ | 10000 | 60000 | com.atlassian.jira.service.services.mail.MailQueueService | Mail Queue Service | | 10001 | 43200000 | com.atlassian.jira.service.services.export.ExportService | Backup Service | | 10010 | 3600000 | com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService | Subversion Revision Indexing Service | | 10020 | 3600000 | com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService | Subversion Revision Indexing Service | +-------+-----------+-------------------------------------------------------------------------+--------------------------------------+ 4 rows in set (0.00 sec) I think that what may be happening is that when Jira starts the Subversion plugin creates a row in the serviceconfig table if one does not already exist but the process to restore from an xml backup does not perform this check which results in two rows being created if one previously existed.

    Ecosystem JIRA | 9 years ago | Hugh Gilmour
    com.atlassian.jira.InfrastructureException: Error occurred while starting component.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      No services with name 'User Counter Service' exist.

      at com.atlassian.jira.service.DefaultServiceManager.removeServiceByName()
    2. com.atlassian.jira
      UpgradeTo_v35.doUpgrade
      1. com.atlassian.jira.service.DefaultServiceManager.removeServiceByName(DefaultServiceManager.java:120)
      2. com.atlassian.jira.upgrade.UpgradeTo_v35.doUpgrade(UpgradeTo_v35.java:25)
      2 frames
    3. com.atlassian.sal
      DefaultLifecycleManager.start
      1. com.atlassian.sal.core.upgrade.PluginUpgrader.doUpgrade(PluginUpgrader.java:83)
      2. com.atlassian.sal.core.upgrade.PluginUpgrader.upgrade(PluginUpgrader.java:64)
      3. com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.upgradeInternal(DefaultPluginUpgradeManager.java:91)
      4. com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager$1.doInTransaction(DefaultPluginUpgradeManager.java:62)
      5. com.atlassian.sal.core.transaction.NoOpTransactionTemplate.execute(NoOpTransactionTemplate.java:14)
      6. com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.upgrade(DefaultPluginUpgradeManager.java:58)
      7. com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.onStart(DefaultPluginUpgradeManager.java:103)
      8. com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.notifyOnStart(DefaultLifecycleManager.java:42)
      9. com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.start(DefaultLifecycleManager.java:22)
      9 frames
    4. com.atlassian.studio
      StudioPluggableTopNavigation.getHtml
      1. com.atlassian.studio.navigation.StudioNavbarInformationRetriever.getStudioNavbarInformation(StudioNavbarInformationRetriever.java:33)
      2. com.atlassian.studio.DefaultStudioHelper.getStudioNavbarInformation(DefaultStudioHelper.java:203)
      3. com.atlassian.studio.DefaultStudioHelper.createVelocityParameters(DefaultStudioHelper.java:83)
      4. com.atlassian.studio.topnav.StudioPluggableTopNavigation.getHtml(StudioPluggableTopNavigation.java:22)
      4 frames
    5. org.apache.jsp
      admin_jsp._jspService
      1. org.apache.jsp.decorators.admin_jsp._jspService(admin_jsp.java:295)
      1 frame