Discussion:
[jboss-user] [jBPM] - executor-service
rachi
2013-05-07 15:06:25 UTC
Permalink
rachi [https://community.jboss.org/people/rachi] created the discussion

"executor-service"

To view the discussion, visit: https://community.jboss.org/message/816550#816550

--------------------------------------------------------------
I try to execute the attached module, I import the project into eclipse. when I execute the following errors appears :
Starting Executor Service ...
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/G:/maven_repos/org/jboss/weld/se/weld-se/2.0.0.CR2/weld-se-2.0.0.CR2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/G:/maven_repos/org/jboss/weld/servlet/weld-servlet/2.0.0.Beta4/weld-servlet-2.0.0.Beta4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
[main] INFO org.jboss.weld.Version - WELD-000900 2.0.0 (CR2)
[main] INFO org.jboss.weld.Bootstrap - WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
[main] WARN org.jboss.weld.Bootstrap - Legacy deployment metadata provided by the integrator. Certain functionality will not be available.
mai 07, 2013 4:05:28 PM org.jboss.solder.logging.Logger info
INFO: Solder Config XML provider starting...
mai 07, 2013 4:05:29 PM org.jboss.solder.logging.Logger info
INFO: Loading XmlDocumentProvider: org.jboss.solder.config.xml.bootstrap.ResourceLoaderXmlDocumentProvider
mai 07, 2013 4:05:29 PM org.jboss.solder.logging.Logger info
INFO: Reading XML file: jar:file:/G:/maven_repos/org/jboss/seam/persistence/seam-persistence/3.1.0.Final/seam-persistence-3.1.0.Final.jar!/META-INF/beans.xml
mai 07, 2013 4:05:29 PM org.jboss.solder.logging.Logger info
INFO: Reading XML file: jar:file:/G:/maven_repos/org/jboss/seam/transaction/seam-transaction/3.1.0.Final/seam-transaction-3.1.0.Final.jar!/META-INF/beans.xml
mai 07, 2013 4:05:29 PM org.jboss.solder.logging.Logger info
INFO: Solder 3.2.0.Final (build id: 3.2.0.Final)
[weld-worker-3] 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: Type javax.ejb.EJBContext not found.  If this is unexpected, enable DEBUG logging to see the full error.
[weld-worker-2] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.seam.transaction.CMTTransaction because of underlying class loading error: Type javax.ejb.EJBContext not found.  If this is unexpected, enable DEBUG logging to see the full error.
[weld-worker-2] INFO org.jboss.weld.ClassLoading - WELD-000119 Not generating any bean definitions from org.jboss.seam.transaction.DefaultSeamTransaction because of underlying class loading error: Type javax.ejb.EJBContext not found.  If this is unexpected, enable DEBUG logging to see the full error.
mai 07, 2013 4:05:30 PM org.jboss.solder.logging.Logger info
INFO: Preventing class org.jboss.seam.persistence.hibernate.HibernateManagedSessionExtensionImpl from being installed as bean due to @Veto annotation
mai 07, 2013 4:05:30 PM org.jboss.solder.logging.Logger info
INFO: Preventing class org.jboss.seam.transaction.EntityTransaction from being installed as bean due to @Veto annotation
mai 07, 2013 4:05:30 PM org.jboss.solder.logging.Logger info
INFO: Preventing class org.jboss.seam.persistence.HibernatePersistenceProvider from being installed as bean due to @Veto annotation
mai 07, 2013 4:05:30 PM org.jboss.solder.logging.Logger info
INFO: Preventing class org.jboss.seam.transaction.HibernateTransaction from being installed as bean due to @Veto annotation
mai 07, 2013 4:05:30 PM org.jboss.solder.logging.Logger info
INFO: Preventing class org.jboss.seam.transaction.UTTransaction from being installed as bean due to @Veto annotation
mai 07, 2013 4:05:30 PM org.jboss.solder.logging.Logger info
INFO: Preventing class org.jboss.seam.transaction.SeSynchronizations from being installed as bean due to @Veto annotation
mai 07, 2013 4:05:30 PM org.jboss.solder.logging.Logger info
INFO: Preventing class org.jboss.seam.transaction.NoTransaction from being installed as bean due to @Veto annotation
[weld-worker-1] WARN org.jboss.weld.interceptor.util.InterceptionTypeRegistry - Class 'javax.ejb.PostActivate' not found, interception based on it is not enabled
[weld-worker-1] WARN org.jboss.weld.interceptor.util.InterceptionTypeRegistry - Class 'javax.ejb.PrePassivate' not found, interception based on it is not enabled
mai 07, 2013 4:05:31 PM 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 [BackedAnnotatedMethod] public org.jboss.seam.transaction.SimpleTransactionExceptionHandler.markTransactionRollback(@Handles CaughtException<Throwable>) to known handlers
Exception in thread "main" org.jboss.weld.exceptions.DefinitionException: Exception List with 1 exceptions:
Exception 0 :
org.jboss.weld.exceptions.IllegalStateException: WELD-001332 BeanManager method getBeans() is not available during application initialization
          at org.jboss.weld.bean.builtin.BeanManagerProxy.checkContainerValidated(BeanManagerProxy.java:142)
          at org.jboss.weld.bean.builtin.BeanManagerProxy.getBeans(BeanManagerProxy.java:80)
          at org.jboss.solder.core.CoreExtension.failIfWeldExtensionsDetected(CoreExtension.java:215)
          at org.jboss.solder.core.CoreExtension.afterBeanDiscovery(CoreExtension.java:208)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:93)
          at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:274)
          at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:121)
          at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:261)
          at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:240)
          at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:170)
          at org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:129)
          at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:103)
          at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:63)
          at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:35)
          at org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.fire(AfterBeanDiscoveryImpl.java:53)
          at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:515)
          at org.jboss.weld.bootstrap.api.helpers.ForwardingBootstrap.deployBeans(ForwardingBootstrap.java:63)
          at org.jboss.weld.environment.se.Weld.initialize(Weld.java:137)
          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.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:37)
          at org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.fire(AfterBeanDiscoveryImpl.java:53)
          at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:515)
          at org.jboss.weld.bootstrap.api.helpers.ForwardingBootstrap.deployBeans(ForwardingBootstrap.java:63)
          at org.jboss.weld.environment.se.Weld.initialize(Weld.java:137)
          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)
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/816550#816550]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Mauricio Salatino
2013-05-07 16:07:30 UTC
Permalink
Mauricio Salatino [https://community.jboss.org/people/salaboy21] created the discussion

"Re: executor-service"

To view the discussion, visit: https://community.jboss.org/message/816559#816559

--------------------------------------------------------------
Attaching the whole project doesn't help us to help you. What are you trying to achieve.. and what exactly are you running? How are you running it? the more description and less stack trace the better.

Cheers
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/816559#816559]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Loading...