org.quartz.ObjectAlreadyExistsException: Unable to store Trigger with name: 'backupTrigger' and group: 'DEFAULT', because one already exists with this identification.

Atlassian JIRA | Charles Miller | 1 decade ago
  1. 0

    [CONF-1760] Unable to store Trigger with name: 'backupTrigger' and group: 'DEFAULT', because one already exists with this identification. - Atlassian JIRA

    atlassian.com | 1 year ago
    org.quartz.ObjectAlreadyExistsException: Unable to store Trigger with name: 'backupTrigger' and group: 'DEFAULT', because one already exists with this identification.
  2. 0

    This happens almost randomly on setup. So far encountered on Postgres, HSQL and Oracle, so it's not database-specific. Can't seem to reliably reproduce it, which is annoying. The workaround is to just restart Confluence, and continue with the setup as if it didn't happen. Configuring the database failed. Couldnt create the database schema. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduler' defined in resource [/WEB-INF/schedulingSubsystemContext.xml] of ServletContext: Initialization of bean failed; nested exception is org.quartz.ObjectAlreadyExistsException: Unable to store Trigger with name: 'backupTrigger' and group: 'DEFAULT', because one already exists with this identification. org.quartz.ObjectAlreadyExistsException: Unable to store Trigger with name: 'backupTrigger' and group: 'DEFAULT', because one already exists with this identification. at org.quartz.simpl.RAMJobStore.storeTrigger(RAMJobStore.java:309) at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:608) at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:231) at org.springframework.scheduling.quartz.SchedulerFactoryBean.afterPropertiesSet(SchedulerFactoryBean.java:301) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:801) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:249) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:177) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:159) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:177) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:268) at org.springframework.web.context.support.XmlWebApplicationContext.refresh(XmlWebApplicationContext.java:131) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:156) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:97) at bucket.container.SpringContainerContext.refresh(SpringContainerContext.java:127) at com.atlassian.confluence.setup.ConfluenceHibernateSetup.configureDatabase(ConfluenceHibernateSetup.java:102) at com.atlassian.confluence.setup.ConfluenceHibernateSetup.configureDataSourceDatabase(ConfluenceHibernateSetup.java:70) at com.atlassian.confluence.setup.actions.SetupDatasourceDatabaseAction.execute(SetupDatasourceDatabaseAction.java:62)

    Atlassian JIRA | 1 decade ago | Charles Miller
    org.quartz.ObjectAlreadyExistsException: Unable to store Trigger with name: 'backupTrigger' and group: 'DEFAULT', because one already exists with this identification.
  3. 0

    This happens almost randomly on setup. So far encountered on Postgres, HSQL and Oracle, so it's not database-specific. Can't seem to reliably reproduce it, which is annoying. The workaround is to just restart Confluence, and continue with the setup as if it didn't happen. Configuring the database failed. Couldnt create the database schema. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduler' defined in resource [/WEB-INF/schedulingSubsystemContext.xml] of ServletContext: Initialization of bean failed; nested exception is org.quartz.ObjectAlreadyExistsException: Unable to store Trigger with name: 'backupTrigger' and group: 'DEFAULT', because one already exists with this identification. org.quartz.ObjectAlreadyExistsException: Unable to store Trigger with name: 'backupTrigger' and group: 'DEFAULT', because one already exists with this identification. at org.quartz.simpl.RAMJobStore.storeTrigger(RAMJobStore.java:309) at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:608) at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:231) at org.springframework.scheduling.quartz.SchedulerFactoryBean.afterPropertiesSet(SchedulerFactoryBean.java:301) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:801) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:249) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:177) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:159) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:177) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:268) at org.springframework.web.context.support.XmlWebApplicationContext.refresh(XmlWebApplicationContext.java:131) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:156) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:97) at bucket.container.SpringContainerContext.refresh(SpringContainerContext.java:127) at com.atlassian.confluence.setup.ConfluenceHibernateSetup.configureDatabase(ConfluenceHibernateSetup.java:102) at com.atlassian.confluence.setup.ConfluenceHibernateSetup.configureDataSourceDatabase(ConfluenceHibernateSetup.java:70) at com.atlassian.confluence.setup.actions.SetupDatasourceDatabaseAction.execute(SetupDatasourceDatabaseAction.java:62)

    Atlassian JIRA | 1 decade ago | Charles Miller
    org.quartz.ObjectAlreadyExistsException: Unable to store Trigger with name: 'backupTrigger' and group: 'DEFAULT', because one already exists with this identification.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to run multiple BatchSchedulers

    GitHub | 2 years ago | imranrajjad
    org.easybatch.integration.quartz.BatchSchedulerException: An exception occurred during scheduler startup
  6. 0

    How to start a Job with several cron-triggers using the quartz-scheduler?

    Stack Overflow | 2 years ago
    org.quartz.ObjectAlreadyExistsException: Unable to store Job : 'group1.job1', because one already exists with this identification.

  1. Pilleo 8 times, last 2 months ago
  2. linxiaolong 2 times, last 4 months ago
1 unregistered visitors
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. org.quartz.ObjectAlreadyExistsException

    Unable to store Trigger with name: 'backupTrigger' and group: 'DEFAULT', because one already exists with this identification.

    at org.quartz.simpl.RAMJobStore.storeTrigger()
  2. quartz
    StdScheduler.scheduleJob
    1. org.quartz.simpl.RAMJobStore.storeTrigger(RAMJobStore.java:309)
    2. org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:608)
    3. org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:231)
    3 frames
  3. Spring Context Support
    SchedulerFactoryBean.afterPropertiesSet
    1. org.springframework.scheduling.quartz.SchedulerFactoryBean.afterPropertiesSet(SchedulerFactoryBean.java:301)
    1 frame
  4. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:801)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:249)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:177)
    4. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:159)
    5. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:177)
    5 frames
  5. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:268)
    1 frame
  6. Spring
    ContextLoader.initWebApplicationContext
    1. org.springframework.web.context.support.XmlWebApplicationContext.refresh(XmlWebApplicationContext.java:131)
    2. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:156)
    3. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:97)
    3 frames
  7. bucket.container
    SpringContainerContext.refresh
    1. bucket.container.SpringContainerContext.refresh(SpringContainerContext.java:127)
    1 frame
  8. com.atlassian.confluence
    SetupDatasourceDatabaseAction.execute
    1. com.atlassian.confluence.setup.ConfluenceHibernateSetup.configureDatabase(ConfluenceHibernateSetup.java:102)
    2. com.atlassian.confluence.setup.ConfluenceHibernateSetup.configureDataSourceDatabase(ConfluenceHibernateSetup.java:70)
    3. com.atlassian.confluence.setup.actions.SetupDatasourceDatabaseAction.execute(SetupDatasourceDatabaseAction.java:62)
    3 frames