• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • 3.1-m4
    • None

      I get this exception when I do a standalone standard setup from trunk

      2009-09-17 18:09:30,020 ERROR [DefaultQuartzScheduler_Worker-9] [org.quartz.core.ErrorLogger] schedulerError Job (DEFAULT.ClusterSafetyJob threw an exception.
       -- referer: http://localhost:8080/confluence/setup/setuplicense.action | url: /confluence/setup/setupembeddeddb-default.action | userName: anonymous | action: setupembeddeddb-default
      org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.RuntimeException: More than one cluster safety number in database.]
      	at org.quartz.core.JobRunShell.run(JobRunShell.java:214)
      	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      * Nested Exception (Underlying Cause) ---------------
      java.lang.RuntimeException: More than one cluster safety number in database.
      	at com.atlassian.confluence.cluster.safety.HibernateClusterSafetyDao.getClusterSafetyNumberObject(HibernateClusterSafetyDao.java:40)
      	at com.atlassian.confluence.cluster.safety.HibernateClusterSafetyDao.getSafetyNumber(HibernateClusterSafetyDao.java:11)
      	at com.atlassian.confluence.cluster.safety.DefaultClusterSafetyManager.verify(DefaultClusterSafetyManager.java:29)
      	at sun.reflect.GeneratedMethodAccessor311.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      	at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      	at $Proxy69.verify(Unknown Source)
      	at com.atlassian.confluence.cluster.safety.ClusterSafetyJob.executeJob(ClusterSafetyJob.java:13)
      	at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.surroundJobExecutionWithLogging(AbstractClusterAwareQuartzJobBean.java:63)
      	at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:46)
      	at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
      	at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
      	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      

            [CONFSERVER-16963] Cluster safety job throws an exception on system setup

            ingmar added a comment -

            Is there still no fix available?
            I have this error ocurring nearly every minute in my logs. And after some time it kills my confluence process.
            Pretty annoying.

            ingmar added a comment - Is there still no fix available? I have this error ocurring nearly every minute in my logs. And after some time it kills my confluence process. Pretty annoying.

            Tom Baxter added a comment - - edited

            I am receiving the same error. May I ask what you cleaned up to get rid of it. I have just upgraded from 2.2 to 3.0.2 and am researching an issue where by most searches result in zero hits. Not sure if it's related but I am receiving a constant stream of the error noted above.

            Thanks, Tom Baxter

            PS I added the code attached to CONF-17136 and restarted. This did not improve the situation.

            Tom Baxter added a comment - - edited I am receiving the same error. May I ask what you cleaned up to get rid of it. I have just upgraded from 2.2 to 3.0.2 and am researching an issue where by most searches result in zero hits. Not sure if it's related but I am receiving a constant stream of the error noted above. Thanks, Tom Baxter PS I added the code attached to CONF-17136 and restarted. This did not improve the situation.

            RyanA added a comment -

            On Andrew's advice, I cleaned my home directory and it seems to be fixed.

            RyanA added a comment - On Andrew's advice, I cleaned my home directory and it seems to be fixed.

            RyanA added a comment -

            Yes, it's not just on system startup. The logs get spammed with it the whole time Confluence is running. Andrew Lynch was working on a similar issue on his support stint that could be related: CONF-17136

            RyanA added a comment - Yes, it's not just on system startup. The logs get spammed with it the whole time Confluence is running. Andrew Lynch was working on a similar issue on his support stint that could be related: CONF-17136

            Ryan, do you still get this bug?

            Per Fragemann [Atlassian] added a comment - Ryan, do you still get this bug?

              Unassigned Unassigned
              rackley RyanA
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: