0 Replies Latest reply on Oct 29, 2013 9:48 AM by Senthil Sathiya

    Error while trying to run executor-service module in eclipse

    Senthil Sathiya Newbie

      Hi,

       

      I imported the executor-service from the following location https://github.com/Salaboy/human-task-poc-proposal/tree/master/executor-service  onto my eclipse environment and tried to execute the  ExecutorMain main lclass . I am getting the following exception stack

      Starting Executor Service ...

      43 [main] INFO org.jboss.weld.Version - WELD-000900 1.1.8 (Final)

      176 [main] INFO org.jboss.weld.Bootstrap - WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.

      Oct 29, 2013 9:46:58 AM org.jboss.solder.logging.Logger info

      INFO: Solder Config XML provider starting...

      Oct 29, 2013 9:46:58 AM org.jboss.solder.logging.Logger info

      INFO: Loading XmlDocumentProvider: org.jboss.solder.config.xml.bootstrap.ResourceLoaderXmlDocumentProvider

      Oct 29, 2013 9:46:58 AM org.jboss.solder.logging.Logger info

      INFO: Reading XML file: jar:file:/C:/Users/sathiyse/.m2/repository/org/jboss/seam/transaction/seam-transaction/3.1.0.Final/seam-transaction-3.1.0.Final.jar!/META-INF/beans.xml

      Oct 29, 2013 9:46:58 AM org.jboss.solder.logging.Logger info

      INFO: Reading XML file: jar:file:/C:/Users/sathiyse/.m2/repository/org/jboss/seam/persistence/seam-persistence/3.1.0.Final/seam-persistence-3.1.0.Final.jar!/META-INF/beans.xml

      Oct 29, 2013 9:46:58 AM org.jboss.solder.logging.Logger info

      INFO: Solder 3.2.0.Final (build id: 3.2.0.Final)

      709 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.seam.persistence.util.EJBContextUtils because of underlying class loading error

      Oct 29, 2013 9:46:59 AM org.jboss.solder.logging.Logger info

      INFO: Preventing class org.jboss.seam.persistence.hibernate.HibernateManagedSessionExtensionImpl from being installed as bean due to @Veto annotation

      Oct 29, 2013 9:46:59 AM org.jboss.solder.logging.Logger info

      INFO: Preventing class org.jboss.seam.persistence.HibernatePersistenceProvider from being installed as bean due to @Veto annotation

      835 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.seam.transaction.CMTTransaction because of underlying class loading error

      850 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.seam.transaction.TransactionServletListener because of underlying class loading error

      860 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.seam.transaction.DefaultSeamTransaction because of underlying class loading error

      Oct 29, 2013 9:46:59 AM org.jboss.solder.logging.Logger info

      INFO: Preventing class org.jboss.seam.transaction.UTTransaction from being installed as bean due to @Veto annotation

      Oct 29, 2013 9:46:59 AM org.jboss.solder.logging.Logger info

      INFO: Preventing class org.jboss.seam.transaction.SeSynchronizations from being installed as bean due to @Veto annotation

      Oct 29, 2013 9:46:59 AM org.jboss.solder.logging.Logger info

      INFO: Preventing class org.jboss.seam.transaction.NoTransaction from being installed as bean due to @Veto annotation

      Oct 29, 2013 9:46:59 AM org.jboss.solder.logging.Logger info

      INFO: Preventing class org.jboss.seam.transaction.EntityTransaction from being installed as bean due to @Veto annotation

      Oct 29, 2013 9:46:59 AM org.jboss.solder.logging.Logger info

      INFO: Preventing class org.jboss.seam.transaction.HibernateTransaction from being installed as bean due to @Veto annotation

      1156 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.support.ServletLogger_$logger because of underlying class loading error

      1156 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.support.ServletLogger because of underlying class loading error

      1159 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.beanManager.ServletContextAttributeProvider$1 because of underlying class loading error

      1159 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.beanManager.ServletContextAttributeProvider because of underlying class loading error

      1162 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.exception.handler.ExceptionResponseServiceHandler because of underlying class loading error

      1163 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.exception.CatchExceptionFilter because of underlying class loading error

      Oct 29, 2013 9:46:59 AM org.jboss.solder.logging.Logger info

      INFO: Preventing class org.jboss.solder.servlet.ServletExtension from being installed as required class javax.servlet.Servlet could not be found

      1166 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.http.HttpSessionStatusImpl because of underlying class loading error

      1167 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.http.RedirectBuilderImpl because of underlying class loading error

      1167 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.http.RequestParamProducer because of underlying class loading error

      1167 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.http.HeaderParamProducer because of underlying class loading error

      1170 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.http.ImplicitHttpServletObjectsProducer because of underlying class loading error

      1170 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.http.CookieParamProducer because of underlying class loading error

      1172 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.ImplicitServletObjectsProducer because of underlying class loading error

      1173 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.config.CharacterEncodingConfig because of underlying class loading error

      1182 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.event.ServletEventBridgeFilter because of underlying class loading error

      1183 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.event.ServletEventBridgeListener because of underlying class loading error

      1183 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.event.ImplicitServletObjectsHolder$InternalServletContextEvent because of underlying class loading error

      1184 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.event.ServletEventBridgeServlet because of underlying class loading error

      1184 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.event.ImplicitServletObjectsHolder$InternalServletRequestEvent because of underlying class loading error

      1184 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.event.ImplicitServletObjectsHolder because of underlying class loading error

      1185 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.event.ImplicitServletObjectsHolder$InternalHttpSessionEvent because of underlying class loading error

      1185 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.servlet.event.ImplicitServletObjectsHolder$InternalServletResponseEvent because of underlying class loading error

      1366 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.resourceLoader.servlet.ResourceListener because of underlying class loading error

      1367 [main] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.solder.resourceLoader.servlet.ServletContextLoader because of underlying class loading error

      1512 [main] WARN org.jboss.weld.interceptor.util.InterceptionTypeRegistry - Class 'javax.ejb.PostActivate' not found, interception based on it is not enabled

      1512 [main] WARN org.jboss.weld.interceptor.util.InterceptionTypeRegistry - Class 'javax.ejb.PrePassivate' not found, interception based on it is not enabled

      Oct 29, 2013 9:46:59 AM org.jboss.solder.exception.control.extension.CatchExtension registerHandlerMethod

      INFO: Adding handler Qualifiers: [@javax.enterprise.inject.Any()] TraversalMode: BREADTH_FIRST Handles Type: class java.lang.Throwable Precedence: -100 [method] public org.jboss.seam.transaction.SimpleTransactionExceptionHandler.markTransactionRollback(CaughtException<Throwable>) to known handlers

      Exception in thread "main" org.jboss.weld.exceptions.DeploymentException: Exception List with 5 exceptions:

      Exception 0 :

      org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [Logger] with qualifiers [@Default] at injection point [[field] @Inject private org.jbpm.executor.impl.ExecutorImpl.logger]

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

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

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

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

          at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:382)

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

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

          at org.jboss.weld.bootstrap.api.helpers.ForwardingBootstrap.validateBeans(ForwardingBootstrap.java:85)

          at org.jboss.weld.environment.se.Weld.initialize(Weld.java:134)

          at org.jbpm.executor.ExecutorModule.<init>(ExecutorModule.java:31)

          at org.jbpm.executor.ExecutorModule.getInstance(ExecutorModule.java:24)

          at org.jbpm.executor.ExecutorMain.main(ExecutorMain.java:15)

      Exception 0 :

      org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private org.jbpm.executor.impl.ExecutorRunnable.em]

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

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

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

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

          at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:382)

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

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

          at org.jboss.weld.bootstrap.api.helpers.ForwardingBootstrap.validateBeans(ForwardingBootstrap.java:85)

          at org.jboss.weld.environment.se.Weld.initialize(Weld.java:134)

          at org.jbpm.executor.ExecutorModule.<init>(ExecutorModule.java:31)

          at org.jbpm.executor.ExecutorModule.getInstance(ExecutorModule.java:24)

          at org.jbpm.executor.ExecutorMain.main(ExecutorMain.java:15)

      Exception 0 :

      org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private org.jbpm.executor.impl.ExecutorRequestAdminServiceImpl.em]

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

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

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

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

          at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:382)

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

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

          at org.jboss.weld.bootstrap.api.helpers.ForwardingBootstrap.validateBeans(ForwardingBootstrap.java:85)

          at org.jboss.weld.environment.se.Weld.initialize(Weld.java:134)

          at org.jbpm.executor.ExecutorModule.<init>(ExecutorModule.java:31)

          at org.jbpm.executor.ExecutorModule.getInstance(ExecutorModule.java:24)

          at org.jbpm.executor.ExecutorMain.main(ExecutorMain.java:15)

      Exception 0 :

      org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [SeamTransaction] with qualifiers [@DefaultTransaction] at injection point [[field] @Inject @DefaultTransaction private org.jboss.seam.transaction.SimpleTransactionExceptionHandler.tx]

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

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

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

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

          at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:382)

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

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

          at org.jboss.weld.bootstrap.api.helpers.ForwardingBootstrap.validateBeans(ForwardingBootstrap.java:85)

          at org.jboss.weld.environment.se.Weld.initialize(Weld.java:134)

          at org.jbpm.executor.ExecutorModule.<init>(ExecutorModule.java:31)

          at org.jbpm.executor.ExecutorModule.getInstance(ExecutorModule.java:24)

          at org.jbpm.executor.ExecutorMain.main(ExecutorMain.java:15)

      Exception 0 :

      org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private org.jbpm.executor.impl.ExecutorQueryServiceImpl.em]

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

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

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

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

          at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:382)

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

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

          at org.jboss.weld.bootstrap.api.helpers.ForwardingBootstrap.validateBeans(ForwardingBootstrap.java:85)

          at org.jboss.weld.environment.se.Weld.initialize(Weld.java:134)

          at org.jbpm.executor.ExecutorModule.<init>(ExecutorModule.java:31)

          at org.jbpm.executor.ExecutorModule.getInstance(ExecutorModule.java:24)

          at org.jbpm.executor.ExecutorMain.main(ExecutorMain.java:15)

       

          at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:394)

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

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

          at org.jboss.weld.bootstrap.api.helpers.ForwardingBootstrap.validateBeans(ForwardingBootstrap.java:85)

          at org.jboss.weld.environment.se.Weld.initialize(Weld.java:134)

          at org.jbpm.executor.ExecutorModule.<init>(ExecutorModule.java:31)

          at org.jbpm.executor.ExecutorModule.getInstance(ExecutorModule.java:24)

          at org.jbpm.executor.ExecutorMain.main(ExecutorMain.java:15)

       

       

       

      I am not sure what's causing this error . I would appreciate any help to this resolved .

       

       

      Thanks

       

      Senthil Sathiya