Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-848

HibernateException thrown by the OptimisticLockInterceptor

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 6.3.0.Final
    • Fix Version/s: 6.3.0.CR1
    • Component/s: None
    • Labels:
      None
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      , because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
      10:00:36,383 | ERROR | yard Extender: 1 | ExtensibleXmlParser | 379 - org.drools.core - 6.3.0.201507140454 | (null: 461, 94): cvc-elt.4.2: Cannot resolve 'tFormalExpression' to a type definition for element 'conditionExpression'.
      10:00:36,830 | WARN | yard Extender: 1 | OptimisticLockRetryInterceptor | 387 - org.drools.persistence.jpa - 6.3.0.201507140454 | Constraint violation exception class not found org.hibernate.exception.ConstraintViolationException
      java.lang.ClassNotFoundException: org.hibernate.exception.ConstraintViolationException not found by org.drools.persistence.jpa [387]
      at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1556)
      at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77)
      at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_55]
      at java.lang.Class.forName0(Native Method)[:1.7.0_55]
      at java.lang.Class.forName(Class.java:190)[:1.7.0_55]
      at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.<init>(OptimisticLockRetryInterceptor.java:64)[387:org.drools.persistence.jpa:6.3.0.201507140454]
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.7.0_55]
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)[:1.7.0_55]
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[:1.7.0_55]
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526)[:1.7.0_55]
      at org.jbpm.services.task.HumanTaskConfigurator.addOptimisticLockInterceptor(HumanTaskConfigurator.java:200)[394:org.jbpm.services.task:6.3.0.201507140607]
      at org.jbpm.services.task.HumanTaskConfigurator.getTaskService(HumanTaskConfigurator.java:145)[394:org.jbpm.services.task:6.3.0.201507140607]
      at org.jbpm.runtime.manager.impl.factory.LocalTaskServiceFactory.newTaskService(LocalTaskServiceFactory.java:60)[403:org.jbpm.runtime.manager:6.3.0.201507140607]
      at org.switchyard.component.common.knowledge.config.builder.patch.PatchedLocalTaskServiceFactory.newTaskService(PatchedLocalTaskServiceFactory.java:42)[406:org.jboss.integration.fuse.switchyard-component-common-knowledge:1.0.0.SNAPSHOT]
      at org.jbpm.runtime.manager.impl.SingletonRuntimeManager.init(SingletonRuntimeManager.java:87)[403:org.jbpm.runtime.manager:6.3.0.201507140607]
      at org.jbpm.runtime.manager.impl.RuntimeManagerFactoryImpl.newSingletonRuntimeManager(RuntimeManagerFactoryImpl.java:64)[403:org.jbpm.runtime.manager:6.3.0.201507140607]
      at org.switchyard.component.common.knowledge.config.builder.RuntimeManagerBuilder.build(RuntimeManagerBuilder.java:62)[406:org.jboss.integration.fuse.switchyard-component-common-knowledge:1.0.0.SNAPSHOT]
      at org.switchyard.component.common.knowledge.runtime.KnowledgeRuntimeManagerFactory.newRuntimeManager(KnowledgeRuntimeManagerFactory.java:81)[406:org.jboss.integration.fuse.switchyard-component-common-knowledge:1.0.0.SNAPSHOT]
      at org.switchyard.component.common.knowledge.exchange.KnowledgeExchangeHandler.newSingletonRuntimeManager(KnowledgeExchangeHandler.java:113)[406:org.jboss.integration.fuse.switchyard-component-common-knowledge:1.0.0.SNAPSHOT]
      at org.switchyard.component.bpm.exchange.BPMExchangeHandler.doStart(BPMExchangeHandler.java:87)[416:org.jboss.integration.fuse.switchyard-component-bpm:1.0.0.SNAPSHOT]
      at org.switchyard.deploy.BaseServiceHandler.start(BaseServiceHandler.java:59)[302:org.switchyard.switchyard-deploy:2.0.1.redhat-621012]
      at org.switchyard.deploy.internal.Deployment.deployImplementations(Deployment.java:582)[302:org.switchyard.switchyard-deploy:2.0.1.redhat-621012]
      at org.switchyard.deploy.internal.Deployment.start(Deployment.java:144)[302:org.switchyard.switchyard-deploy:2.0.1.redhat-621012]
      at org.switchyard.deploy.osgi.internal.SwitchYardContainerImpl.doStart(SwitchYardContainerImpl.java:310)[308:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621012]
      at org.switchyard.deploy.osgi.internal.SwitchYardContainerImpl.run(SwitchYardContainerImpl.java:144)[308:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621012]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_55]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_55]
      at org.switchyard.deploy.osgi.internal.ExecutorServiceWrapper.run(ExecutorServiceWrapper.java:117)[308:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621012]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_55]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_55]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_55]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_55]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_55]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_55]
      at java.lang.Thread.run(Thread.java:744)[:1.7.0_55]
      10:00:37,139 | WARN | yard Extender: 1 | OptimisticLockRetryInterceptor | 387 - org.drools.persistence.jpa - 6.3.0.201507140454 | Constraint violation exception class not found org.hibernate.exception.ConstraintViolationException
      java.lang.ClassNotFoundException: org.hibernate.exception.ConstraintViolationException not found by org.drools.persistence.jpa [387]
      at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1556)[org.apache.felix.framework-4.4.1.jar:]
      at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77)[org.apache.felix.framework-4.4.1.jar:]
      at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_55]
      at java.lang.Class.forName0(Native Method)[:1.7.0_55]
      at java.lang.Class.forName(Class.java:190)[:1.7.0_55]
      at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.<init>(OptimisticLockRetryInterceptor.java:64)[387:org.drools.persistence.jpa:6.3.0.201507140454]
      at org.jbpm.runtime.manager.impl.factory.JPASessionFactory.addInterceptors(JPASessionFactory.java:68)[403:org.jbpm.runtime.manager:6.3.0.201507140607]
      at org.jbpm.runtime.manager.impl.factory.JPASessionFactory.newKieSession(JPASessionFactory.java:44)[403:org.jbpm.runtime.manager:6.3.0.201507140607]
      at org.jbpm.runtime.manager.impl.SingletonRuntimeManager.init(SingletonRuntimeManager.java:100)[403:org.jbpm.runtime.manager:6.3.0.201507140607]
      at org.jbpm.runtime.manager.impl.RuntimeManagerFactoryImpl.newSingletonRuntimeManager(RuntimeManagerFactoryImpl.java:64)[403:org.jbpm.runtime.manager:6.3.0.201507140607]
      at org.switchyard.component.common.knowledge.config.builder.RuntimeManagerBuilder.build(RuntimeManagerBuilder.java:62)[406:org.jboss.integration.fuse.switchyard-component-common-knowledge:1.0.0.SNAPSHOT]
      at org.switchyard.component.common.knowledge.runtime.KnowledgeRuntimeManagerFactory.newRuntimeManager(KnowledgeRuntimeManagerFactory.java:81)[406:org.jboss.integration.fuse.switchyard-component-common-knowledge:1.0.0.SNAPSHOT]
      at org.switchyard.component.common.knowledge.exchange.KnowledgeExchangeHandler.newSingletonRuntimeManager(KnowledgeExchangeHandler.java:113)[406:org.jboss.integration.fuse.switchyard-component-common-knowledge:1.0.0.SNAPSHOT]
      at org.switchyard.component.bpm.exchange.BPMExchangeHandler.doStart(BPMExchangeHandler.java:87)[416:org.jboss.integration.fuse.switchyard-component-bpm:1.0.0.SNAPSHOT]
      at org.switchyard.deploy.BaseServiceHandler.start(BaseServiceHandler.java:59)[302:org.switchyard.switchyard-deploy:2.0.1.redhat-621012]
      at org.switchyard.deploy.internal.Deployment.deployImplementations(Deployment.java:582)[302:org.switchyard.switchyard-deploy:2.0.1.redhat-621012]
      at org.switchyard.deploy.internal.Deployment.start(Deployment.java:144)[302:org.switchyard.switchyard-deploy:2.0.1.redhat-621012]
      at org.switchyard.deploy.osgi.internal.SwitchYardContainerImpl.doStart(SwitchYardContainerImpl.java:310)[308:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621012]
      at org.switchyard.deploy.osgi.internal.SwitchYardContainerImpl.run(SwitchYardContainerImpl.java:144)[308:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621012]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_55]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_55]
      at org.switchyard.deploy.osgi.internal.ExecutorServiceWrapper.run(ExecutorServiceWrapper.java:117)[308:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.redhat-621012]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_55]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_55]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_55]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_55]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_55]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_55]
      at java.lang.Thread.run(Thread.java:744)[:1.7.0_55]

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mfusco Mario Fusco
                Reporter:
                virchete David virgil naranjo
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: