4 Replies Latest reply on Apr 24, 2015 8:19 PM by Pankaj Patro

    WELD-001408 JPAExecutorServiceProducer - JBPM 6.1 + Wildfly 8.1

    franco80 Novice

      Hello all,

       

      During war deployment I recived error:

       

       

      10:38:09,858 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.deployment.unit."jbpm-6-example-0.0.1.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."jbpm-6-example-0.0.1.war".WeldStartService: Failed to start service

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_71]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_71]

          at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_71]

      Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type EntityManagerFactory with qualifiers @Default

        at injection point [BackedAnnotatedField] @Inject @PersistenceUnit private org.jbpm.executor.impl.jpa.JPAExecutorServiceProducer.emf

        at org.jbpm.executor.impl.jpa.JPAExecutorServiceProducer.emf(JPAExecutorServiceProducer.java:0)

       

          at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:368)

          at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:289)

          at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:135)

          at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:166)

          at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:514)

          at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:68)

          at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:66)

          at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)

          at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)

          at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_71]

          ... 3 more

       

      but somethimes much more for example:

       

      10:48:41,195 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.unit."jbpm-6-example-0.0.1.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."jbpm-6-example-0.0.1.war".WeldStartService: Failed to start service

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_71]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_71]

          at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_71]

      Caused by: org.jboss.weld.exceptions.DeploymentException: Exception List with 4 exceptions:

      Exception 0 :

      org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type EntityManagerFactory with qualifiers @Default

        at injection point [BackedAnnotatedField] @Inject @PersistenceUnit private org.jbpm.kie.services.cdi.producer.HumanTaskServiceProducer.emf

        at org.jbpm.kie.services.cdi.producer.HumanTaskServiceProducer.emf(HumanTaskServiceProducer.java:0)

       

          at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:368)

          at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:289)

          at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:135)

          at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:166)

          at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:514)

          at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:68)

          at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:66)

          at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)

          at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)

          at java.util.concurrent.FutureTask.run(FutureTask.java:262)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

          at java.lang.Thread.run(Thread.java:745)

      Exception 0 :

      org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type EntityManagerFactory with qualifiers @Default

        at injection point [BackedAnnotatedField] @Inject @PersistenceUnit private org.jbpm.kie.services.cdi.producer.TransactionalCommandServiceProducer.emf

        at org.jbpm.kie.services.cdi.producer.TransactionalCommandServiceProducer.emf(TransactionalCommandServiceProducer.java:0)

       

          at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:368)

          at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:289)

          at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:135)

          at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:166)

          at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:514)

          at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:68)

          at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:66)

          at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)

          at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)

          at java.util.concurrent.FutureTask.run(FutureTask.java:262)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

          at java.lang.Thread.run(Thread.java:745)

      Exception 0 :

      org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type DeploymentService with qualifiers @Default

        at injection point [BackedAnnotatedField] @Inject private org.jbpm.kie.services.impl.form.FormProviderServiceImpl.deploymentService

        at org.jbpm.kie.services.impl.form.FormProviderServiceImpl.deploymentService(FormProviderServiceImpl.java:0)

      WELD-001475: The following beans match by type, but none have matching qualifiers:

        - Managed Bean [class org.jbpm.kie.services.impl.KModuleDeploymentService] with qualifiers [@Kjar @Any]

       

          at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:368)

          at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:289)

          at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:135)

          at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:166)

          at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:514)

          at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:68)

          at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:66)

          at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)

          at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)

          at java.util.concurrent.FutureTask.run(FutureTask.java:262)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

          at java.lang.Thread.run(Thread.java:745)

      Exception 0 :

      org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type EntityManagerFactory with qualifiers @Default

        at injection point [BackedAnnotatedField] @Inject @PersistenceUnit private org.jbpm.kie.services.impl.AbstractDeploymentService.emf

        at org.jbpm.kie.services.impl.AbstractDeploymentService.emf(AbstractDeploymentService.java:0)

       

          at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:368)

          at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:289)

          at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:135)

          at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:166)

          at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:514)

          at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:68)

          at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:66)

          at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)

          at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)

          at java.util.concurrent.FutureTask.run(FutureTask.java:262)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

          at java.lang.Thread.run(Thread.java:745)

       

          at org.jboss.weld.bootstrap.ConcurrentValidator.validateBeans(ConcurrentValidator.java:76)

          at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:475)

          at org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:392)

          at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:85)

          at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:93)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

          ... 3 more

       

      10:48:41,195 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "jbpm-6-example-0.0.1.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"jbpm-6-example-0.0.1.war\".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"jbpm-6-example-0.0.1.war\".WeldStartService: Failed to start service

          Caused by: org.jboss.weld.exceptions.DeploymentException: Exception List with 4 exceptions:

      Exception 0 :

      org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type EntityManagerFactory with qualifiers @Default

        at injection point [BackedAnnotatedField] @Inject @PersistenceUnit private org.jbpm.kie.services.cdi.producer.HumanTaskServiceProducer.emf

        at org.jbpm.kie.services.cdi.producer.HumanTaskServiceProducer.emf(HumanTaskServiceProducer.java:0)

       

          at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:368)

          at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:289)

          at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:135)

          at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:166)

          at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:514)

          at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:68)

          at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:66)

          at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)

          at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)

          at java.util.concurrent.FutureTask.run(FutureTask.java:262)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

          at java.lang.Thread.run(Thread.java:745)

      Exception 0 :

      org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type EntityManagerFactory with qualifiers @Default

        at injection point [BackedAnnotatedField] @Inject @PersistenceUnit private org.jbpm.kie.services.cdi.producer.TransactionalCommandServiceProducer.emf

        at org.jbpm.kie.services.cdi.producer.TransactionalCommandServiceProducer.emf(TransactionalCommandServiceProducer.java:0)

       

          at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:368)

          at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:289)

          at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:135)

          at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:166)

          at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:514)

          at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:68)

          at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:66)

          at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)

          at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)

          at java.util.concurrent.FutureTask.run(FutureTask.java:262)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

          at java.lang.Thread.run(Thread.java:745)

      Exception 0 :

      org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type DeploymentService with qualifiers @Default

        at injection point [BackedAnnotatedField] @Inject private org.jbpm.kie.services.impl.form.FormProviderServiceImpl.deploymentService

        at org.jbpm.kie.services.impl.form.FormProviderServiceImpl.deploymentService(FormProviderServiceImpl.java:0)

      WELD-001475: The following beans match by type, but none have matching qualifiers:

        - Managed Bean [class org.jbpm.kie.services.impl.KModuleDeploymentService] with qualifiers [@Kjar @Any]

       

          at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:368)

          at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:289)

          at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:135)

          at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:166)

          at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:514)

          at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:68)

          at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:66)

          at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)

          at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)

          at java.util.concurrent.FutureTask.run(FutureTask.java:262)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

          at java.lang.Thread.run(Thread.java:745)

      Exception 0 :

      org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type EntityManagerFactory with qualifiers @Default

        at injection point [BackedAnnotatedField] @Inject @PersistenceUnit private org.jbpm.kie.services.impl.AbstractDeploymentService.emf

        at org.jbpm.kie.services.impl.AbstractDeploymentService.emf(AbstractDeploymentService.java:0)

       

          at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:368)

          at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:289)

          at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:135)

          at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:166)

          at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:514)

          at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:68)

          at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:66)

          at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)

          at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)

          at java.util.concurrent.FutureTask.run(FutureTask.java:262)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

          at java.lang.Thread.run(Thread.java:745)

      "}}

       

      Any idea what may be wrong and what I have to do with this error ?

       

      In my war are all runtime jars and javaee-web-api and javaee-api, without: cxf and dom4j. Checked with standalone-full-wildfly-8.1.0.Final.xml and standalone-wildfly-8.1.0.Final.xml, always is the same problem like above - WELD-...

       

      regards

        • 1. Re: WELD-001408 JPAExecutorServiceProducer - JBPM 6.1 + Wildfly 8.1
          franco80 Novice

          I implemented all this interfaces with null valued and it's deployed, added bean.xml (I'm not sure it is needed), but we will see what we will have to do.

          • 2. Re: WELD-001408 JPAExecutorServiceProducer - JBPM 6.1 + Wildfly 8.1
            Pankaj Patro Newbie


            i am facing same issue, and now i have empty implementaions of these classes, but still not able to get rid of this issue,

            do i need to do anything else while deploying my application in jboss?

            • 3. Re: WELD-001408 JPAExecutorServiceProducer - JBPM 6.1 + Wildfly 8.1
              franco80 Novice

              Hi Pankaj

               

              are you using 6.1 jbpm ?

              In my app with 6.1 are:

              CustomApplicationScopedProducer (with producers) @ApplicationScope

              CustomContext

              CustomDeploymentService @ApplicationScope

              CustomIdentityProvider @ApplicationScope

              CustomInjector @ApplicationScope

              CustomUserGroupCallback @Alternative

               

              I have also ProcessService as a EJB Singleton service and TaskService as a EJB bean - Stateless.

               

              CustomApplicationScopedProducer with CMT:

               

              @Produces

                  @Singleton

                  @PerProcessInstance

                  @PerRequest

                  public RuntimeEnvironment produceEnvironment(EntityManagerFactory emf) {

                       

                          final Environment env = EnvironmentFactory.newEnvironment();

                          env.set(EnvironmentName.TRANSACTION_MANAGER, new ContainerManagedTransactionManager());

                          env.set(EnvironmentName.ENTITY_MANAGER_FACTORY, emf);

                   

                          final JpaProcessPersistenceContextManager jpaProcessPersistenceContextManager = new JpaProcessPersistenceContextManager(env);

                          final JPATaskPersistenceContextManager jpaTaskPersistenceContextManager = new JPATaskPersistenceContextManager(env);

                   

                          env.set(EnvironmentName.PERSISTENCE_CONTEXT_MANAGER, jpaProcessPersistenceContextManager);

                          env.set(EnvironmentName.TASK_PERSISTENCE_CONTEXT_MANAGER, jpaTaskPersistenceContextManager);

                       

                          final RuntimeEnvironmentBuilder builder = org.jbpm.runtime.manager.impl.RuntimeEnvironmentBuilder.Factory.get().newDefaultBuilder()

                          //final RuntimeEnvironmentBuilder builder = org.jbpm.runtime.manager.impl.RuntimeEnvironmentBuilder.getDefault()

               

                               

                                  .addEnvironmentEntry(EnvironmentName.TRANSACTION_MANAGER, new ContainerManagedTransactionManager())

                                  .addEnvironmentEntry(EnvironmentName.TASK_PERSISTENCE_CONTEXT_MANAGER, jpaTaskPersistenceContextManager)

                                  .addEnvironmentEntry(EnvironmentName.PERSISTENCE_CONTEXT_MANAGER, jpaProcessPersistenceContextManager)

                                  .entityManagerFactory(emf)

                                  .userGroupCallback(produceUserGroupCallback())

                                  .addEnvironmentEntry(org.kie.api.runtime.EnvironmentName.ENTITY_MANAGER_FACTORY, emf);

                                  //.addEnvironmentEntry(org.kie.api.runtime.EnvironmentName.TRANSACTION_MANAGER, tm);

               

                       

                          builder.addAsset(ResourceFactory.newClassPathResource("fraud.bpmn2"), ResourceType.BPMN2);

                          builder.addAsset(ResourceFactory.newClassPathResource("cancel.bpmn2"), ResourceType.BPMN2);

                          builder.addAsset(ResourceFactory.newClassPathResource("order.bpmn2"), ResourceType.BPMN2);

               

                          final RuntimeEnvironment environment = builder.get();

                       

                          LOG.info("RuntimeEnvironment built");

                       

                          return environment;

                  }

               

              In resources I have:

              CUstomWorkItemHandlers.conf and drools.session.conf and ofcourse persistence.xml:

               

               

              <?xml version="1.0" encoding="UTF-8"?>

              <persistence version="2.1"

                           xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                           xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">

               

                  <!-- <persistence-unit name="org.jbpm.domain" transaction-type="JTA"> -->

                  <persistence-unit name="org.jbpm.domain">

                 

                      <provider>org.hibernate.ejb.HibernatePersistence</provider>

                      <jta-data-source>java:jboss/datasources/jbpmDS</jta-data-source>

                     

                      <mapping-file>META-INF/Taskorm.xml</mapping-file>

                      <mapping-file>META-INF/JBPMorm.xml</mapping-file>

                      <mapping-file>META-INF/Servicesorm.xml</mapping-file>

                      <mapping-file>META-INF/TaskAuditorm.xml</mapping-file>

                     

                      <!-- task service -->

                      <class>org.jbpm.services.task.impl.model.AttachmentImpl</class>

                      <class>org.jbpm.services.task.impl.model.ContentImpl</class>

                      <class>org.jbpm.services.task.impl.model.BooleanExpressionImpl</class>

                      <class>org.jbpm.services.task.impl.model.CommentImpl</class>

                      <class>org.jbpm.services.task.impl.model.DeadlineImpl</class>

                      <class>org.jbpm.services.task.impl.model.DelegationImpl</class>

                      <class>org.jbpm.services.task.impl.model.EscalationImpl</class>

                      <class>org.jbpm.services.task.impl.model.GroupImpl</class>

                      <class>org.jbpm.services.task.impl.model.I18NTextImpl</class>

                      <class>org.jbpm.services.task.impl.model.NotificationImpl</class>

                      <class>org.jbpm.services.task.impl.model.EmailNotificationImpl</class>

                      <class>org.jbpm.services.task.impl.model.EmailNotificationHeaderImpl</class>

                      <class>org.jbpm.services.task.impl.model.PeopleAssignmentsImpl</class>

                      <class>org.jbpm.services.task.impl.model.ReassignmentImpl</class>

                      <class>org.jbpm.services.task.impl.model.TaskImpl</class>

                      <class>org.jbpm.services.task.impl.model.TaskDefImpl</class>

                      <class>org.jbpm.services.task.impl.model.TaskDataImpl</class>

                      <class>org.jbpm.services.task.impl.model.UserImpl</class>

                      <class>org.jbpm.executor.entities.ErrorInfo</class>

                      <class>org.jbpm.executor.entities.RequestInfo</class>

                      <!-- Event Classes -->

                      <class>org.jbpm.services.task.audit.impl.model.TaskEventImpl</class>

                      <!-- Task Audit Classes -->

                      <class>org.jbpm.services.task.audit.impl.model.AuditTaskImpl</class>

                      <!-- BAM for task service -->

                      <class>org.jbpm.services.task.audit.impl.model.BAMTaskSummaryImpl</class>

                      <!-- engine -->

                      <class>org.drools.persistence.info.SessionInfo</class>

                      <class>org.jbpm.persistence.processinstance.ProcessInstanceInfo</class>

                      <class>org.drools.persistence.info.WorkItemInfo</class>

                      <class>org.jbpm.persistence.correlation.CorrelationKeyInfo</class>

                      <class>org.jbpm.persistence.correlation.CorrelationPropertyInfo</class>

                      <!-- manager -->

                      <class>org.jbpm.runtime.manager.impl.jpa.ContextMappingInfo</class>

                      <!-- bam -->

                      <class>org.jbpm.process.audit.ProcessInstanceLog</class>

                      <class>org.jbpm.process.audit.NodeInstanceLog</class>

                      <class>org.jbpm.process.audit.VariableInstanceLog</class>

                     

                      <exclude-unlisted-classes>true</exclude-unlisted-classes>

                     

                      <properties>

                          <property name="hibernate.dialect" value="org.hibernate.dialect.SQLServer2012Dialect" />

                          <property name="hibernate.max_fetch_depth" value="3" />

                          <property name="hibernate.hbm2ddl.auto" value="update" /><!-- validate | update | create | create-drop -->

                          <property name="hibernate.show_sql" value="false" />

                          <property name="hibernate.id.new_generator_mappings" value="false" />

                          <!-- <property name="hibernate.transaction.manager_lookup_class"    value="org.hibernate.transaction.JBossTransactionManagerLookup" /> -->

                      </properties>

                  </persistence-unit>

              </persistence>

               

               

               

               

              You can take a look on: jBPM 6 Web application example

               

              HTH

              • 4. Re: WELD-001408 JPAExecutorServiceProducer - JBPM 6.1 + Wildfly 8.1
                Pankaj Patro Newbie

                thanks franco,

                 

                i resolved by exlsuding webservice and weld from my jboss deployment structure, weld was casuing all these issue. now got fixed.

                 

                jboss-deployment-structure.xml

                <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">

                <deployment>

                <exclude-subsystems>

                <subsystem name="webservices" />

                <subsystem name="weld" />

                </exclude-subsystems>

                </deployment>

                </jboss-deployment-structure>