Image du projet 'Socle K-Sup' téléversée
  1. Socle K-Sup
  2. CORE-1305

Erreur technique sur la gestion des jobs en configuration Cluster

    XMLWordImprimable

Informations

    • Bug
    • Résolution: Résolu
    • Majeur
    • 6.02.08
    • 6.02.07
    • Aucune
    • Aucune
    • V6.3 Sprint 5

    Description

      Cette erreur se produit semble-t-il de façon aléatoire, et semble bloquer l'exécution des jobs tant que l'on ne relance pas l'application. Et je pense que c'est lié au mode cluster, mais je n'en suis pas sûre.

      Elle se produit en 6.2.4, 6.2.5, 6.2.6 (non testé en 6.2.7)

      2015-07-24_12:30:00.254 [pool-5-thread-2] ERROR c.k.s.m.i.q.BatchTriggerListener - Couldn't pause trigger group 'org.quartz.impl.matchers.GroupMatcher@b90c2b85': Duplicate entry 'schedulerFactory-DEFAUL
      T' for key 'PRIMARY'
      org.quartz.JobPersistenceException: Couldn't pause trigger group 'org.quartz.impl.matchers.GroupMatcher@b90c2b85': Duplicate entry 'schedulerFactory-DEFAULT' for key 'PRIMARY'
              at org.quartz.impl.jdbcjobstore.JobStoreSupport.pauseTriggerGroup(JobStoreSupport.java:2478) ~[quartz-2.1.7.jar:na]
              at org.quartz.impl.jdbcjobstore.JobStoreSupport.pauseAll(JobStoreSupport.java:2653) ~[quartz-2.1.7.jar:na]
              at org.quartz.impl.jdbcjobstore.JobStoreSupport$38.execute(JobStoreSupport.java:2628) ~[quartz-2.1.7.jar:na]
              at org.quartz.impl.jdbcjobstore.JobStoreSupport$45.execute(JobStoreSupport.java:3726) ~[quartz-2.1.7.jar:na]
              at org.quartz.impl.jdbcjobstore.JobStoreCMT.executeInLock(JobStoreCMT.java:245) ~[quartz-2.1.7.jar:na]
              at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInLock(JobStoreSupport.java:3722) ~[quartz-2.1.7.jar:na]
              at org.quartz.impl.jdbcjobstore.JobStoreSupport.pauseAll(JobStoreSupport.java:2624) ~[quartz-2.1.7.jar:na]
              at org.quartz.core.QuartzScheduler.pauseAll(QuartzScheduler.java:1359) [quartz-2.1.7.jar:na]
              at org.quartz.impl.StdScheduler.pauseAll(StdScheduler.java:424) ~[quartz-2.1.7.jar:na]
              at com.kportal.scheduling.monitoring.impl.quartz.BatchTriggerListener.vetoJobExecution(BatchTriggerListener.java:53) ~[core-6.02.06.jar:na]
              at org.quartz.core.QuartzScheduler.notifyTriggerListenersFired(QuartzScheduler.java:1832) [quartz-2.1.7.jar:na]
              at org.quartz.core.JobRunShell.notifyListenersBeginning(JobRunShell.java:317) [quartz-2.1.7.jar:na]
              at org.quartz.core.JobRunShell.run(JobRunShell.java:180) [quartz-2.1.7.jar:na]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_76]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_76]
              at java.lang.Thread.run(Thread.java:745) [na:1.7.0_76]
      Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'schedulerFactory-DEFAULT' for key 'PRIMARY'
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_76]
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_76]
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_76]
              at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_76]
              at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) ~[mysql-connector-java-5.1.24.jar:na]
              at com.mysql.jdbc.Util.getInstance(Util.java:386) ~[mysql-connector-java-5.1.24.jar:na]
              at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1041) ~[mysql-connector-java-5.1.24.jar:na]
              at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120) ~[mysql-connector-java-5.1.24.jar:na]
              at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052) ~[mysql-connector-java-5.1.24.jar:na]
              at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503) ~[mysql-connector-java-5.1.24.jar:na]
              at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664) ~[mysql-connector-java-5.1.24.jar:na]
              at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815) ~[mysql-connector-java-5.1.24.jar:na]
              at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155) ~[mysql-connector-java-5.1.24.jar:na]
              at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2458) ~[mysql-connector-java-5.1.24.jar:na]
              at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2375) ~[mysql-connector-java-5.1.24.jar:na]
              at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2359) ~[mysql-connector-java-5.1.24.jar:na]
              at com.zaxxer.hikari.proxy.PreparedStatementProxy.executeUpdate(PreparedStatementProxy.java:61) ~[HikariCP-java6-2.2.5.jar:na]
              at com.zaxxer.hikari.proxy.PreparedStatementJavassistProxy.executeUpdate(PreparedStatementJavassistProxy.java) ~[HikariCP-java6-2.2.5.jar:na]
              at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.insertPausedTriggerGroup(StdJDBCDelegate.java:2094) ~[quartz-2.1.7.jar:na]
              at org.quartz.impl.jdbcjobstore.JobStoreSupport.pauseTriggerGroup(JobStoreSupport.java:2471) ~[quartz-2.1.7.jar:na]
              ... 15 common frames omitted

      Pièces jointes

        Liens des tickets

          Activité

            Personnes

              alice.ark Alice ARK [X] (Inactif)
              alice.ark Alice ARK [X] (Inactif)
              Votes:
              0 Voter pour ce ticket
              Gérer les observateurs:
              4 Démarre l'observation de ce ticket

              Dates

                Création:
                Mise à jour:
                Résolue: