[jboss-user] [jBPM] - Re: Unable to build EntityManagerFactory [PersistenceUnit: org.jbpm.persistence.jpa]

Ouadi BEL do-not-reply at jboss.com
Thu Mar 7 12:12:32 EST 2013


Ouadi BEL [https://community.jboss.org/people/ouadi_dev] created the discussion

"Re: Unable to build EntityManagerFactory [PersistenceUnit: org.jbpm.persistence.jpa]"

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

--------------------------------------------------------------
The problem of MySQL driver is fixed after removing the driver jar file from my application classpath,

But others problems comming :

17:02:55,999 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
17:02:56,317 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
17:02:56,386 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
17:02:57,758 INFO  [org.xnio] XNIO Version 3.0.3.GA
17:02:57,766 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
17:02:57,786 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
17:02:57,803 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
17:02:57,865 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
17:02:57,880 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem
17:02:57,922 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.
17:02:58,003 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
17:02:58,007 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem
17:02:58,027 INFO  [org.jboss.as.security] (MSC service thread 1-3) JBAS013100: Current PicketBox version=4.0.7.Final
17:02:58,031 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
17:02:58,155 INFO  [org.jboss.as.connector] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
17:02:58,161 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
17:02:58,176 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
17:02:58,204 INFO  [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service
17:02:58,260 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-4) JBAS015400: Bound mail session [java:jboss/mail/Default]
17:02:58,274 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
17:02:58,497 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-4) JBoss Web Services - Stack CXF Server 4.0.2.GA
17:02:58,744 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-3) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
17:02:59,195 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on /127.0.0.1:9999
17:02:59,196 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on /127.0.0.1:4447
17:02:59,227 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) JBAS015012: Started FileSystemDeploymentService for directory /home/ouadi/programing_tools/servres/JBoss/jboss-as-7.1.1.Final/standalone/deployments
17:02:59,371 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
17:02:59,372 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:/MySqlDS]
17:02:59,370 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:jboss/datasources/jBPMDS]
17:02:59,484 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "WebApplication2.war"
17:03:01,452 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry activation.jar in "/content/WebApplication2.war/WEB-INF/lib/mail-1.4.jar"  does not point to a valid jar for a Class-Path reference.
17:03:01,601 INFO  [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for org.jbpm.persistence.jpa
17:03:01,604 INFO  [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for org.jbpm.task
17:03:01,877 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
17:03:01,936 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) JBAS011402: Starting Persistence Unit Service 'WebApplication2.war#org.jbpm.persistence.jpa'
17:03:01,937 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) JBAS011402: Starting Persistence Unit Service 'WebApplication2.war#org.jbpm.task'
17:03:02,142 INFO  [org.hibernate.annotations.common.Version] (MSC service thread 1-4) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
17:03:02,149 INFO  [org.hibernate.Version] (MSC service thread 1-4) HHH000412: Hibernate Core {4.0.1.Final}
17:03:02,156 INFO  [org.hibernate.cfg.Environment] (MSC service thread 1-4) HHH000206: hibernate.properties not found
17:03:02,159 INFO  [org.hibernate.cfg.Environment] (MSC service thread 1-4) HHH000021: Bytecode provider name : javassist
17:03:02,180 INFO  [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-2) HHH000204: Processing PersistenceUnitInfo [
          name: org.jbpm.task
          ...]
17:03:02,191 INFO  [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-4) HHH000204: Processing PersistenceUnitInfo [
          name: org.jbpm.persistence.jpa
          ...]
17:03:02,422 WARN  [org.hibernate.internal.util.xml.DTDEntityResolver] (MSC service thread 1-2) HHH000223: Recognized obsolete hibernate namespace  http://hibernate.sourceforge.net/ http://hibernate.sourceforge.net/. Use namespace  http://www.hibernate.org/dtd/ http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!



17:03:02,688 ERROR [org.hibernate.internal.util.xml.ErrorLogger] (MSC service thread 1-4) HHH000196: Error parsing XML (5) : cvc-complex-type.3.1: Value '1.0' of attribute 'version' of element 'entity-mappings' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '2.0'.
17:03:02,719 ERROR [org.hibernate.internal.util.xml.ErrorLogger] (MSC service thread 1-2) HHH000196: Error parsing XML (5) : cvc-complex-type.3.1: Value '1.0' of attribute 'version' of element 'entity-mappings' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '2.0'.
17:03:02,823 WARN  [org.hibernate.internal.util.xml.DTDEntityResolver] (MSC service thread 1-4) HHH000223: Recognized obsolete hibernate namespace  http://hibernate.sourceforge.net/ http://hibernate.sourceforge.net/. Use namespace  http://www.hibernate.org/dtd/ http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
17:03:03,372 INFO  [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-2) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
17:03:03,375 INFO  [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-4) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
17:03:03,903 INFO  [bitronix.tm.BitronixTransactionManager] (MSC service thread 1-4) Bitronix Transaction Manager version 2.1.2
17:03:03,908 WARN  [bitronix.tm.Configuration] (MSC service thread 1-4) cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
17:03:03,907 INFO  [org.hibernate.dialect.Dialect] (MSC service thread 1-2) HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect
17:03:03,927 INFO  [bitronix.tm.Configuration] (MSC service thread 1-4) JVM unique ID: <127.0.1.1>
17:03:03,968 INFO  [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (MSC service thread 1-2) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
17:03:03,981 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-2) HHH000397: Using ASTQueryTranslatorFactory
17:03:04,014 WARN  [bitronix.tm.journal.DiskJournal] (MSC service thread 1-4) active log file is unclean, did you call BitronixTransactionManager.shutdown() at the end of the last run?
^C17:03:04,060 INFO  [org.hibernate.validator.util.Version] (MSC service thread 1-2) Hibernate Validator 4.2.0.Final



17:03:04,033 WARN  [bitronix.tm.utils.ManagementRegistrar] (MSC service thread 1-4) cannot register object with name bitronix.tm:type=Recoverer,ServerId=127_0_1_1: bitronix.tm.internal.BitronixRuntimeException: cannot call method 'registerMBean'
          at bitronix.tm.utils.ManagementRegistrar.mbeanServerCall(ManagementRegistrar.java:123) [btm-2.1.2.jar:2.1.2]
          at bitronix.tm.utils.ManagementRegistrar.register(ManagementRegistrar.java:86) [btm-2.1.2.jar:2.1.2]
          at bitronix.tm.recovery.Recoverer.<init>(Recoverer.java:104) [btm-2.1.2.jar:2.1.2]
          at bitronix.tm.TransactionManagerServices.getRecoverer(TransactionManagerServices.java:139) [btm-2.1.2.jar:2.1.2]
          at bitronix.tm.BitronixTransactionManager.<init>(BitronixTransactionManager.java:64) [btm-2.1.2.jar:2.1.2]
          at bitronix.tm.TransactionManagerServices.getTransactionManager(TransactionManagerServices.java:62) [btm-2.1.2.jar:2.1.2]
          at bitronix.tm.jndi.BitronixContext.lookup(BitronixContext.java:76) [btm-2.1.2.jar:2.1.2]
          at javax.naming.InitialContext.lookup(InitialContext.java:411) [rt.jar:1.7.0_15]
          at org.jboss.jca.adapters.jdbc.WrapperDataSource.initUserTransaction(WrapperDataSource.java:262)
          at org.jboss.jca.adapters.jdbc.WrapperDataSource.checkTransactionActive(WrapperDataSource.java:222)
          at org.jboss.jca.adapters.jdbc.WrappedConnection.checkTransactionActive(WrappedConnection.java:1599)
          at org.jboss.jca.adapters.jdbc.WrappedConnection.checkStatus(WrappedConnection.java:1614)
          at org.jboss.jca.adapters.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:1588)
          at org.jboss.jca.adapters.jdbc.WrappedConnection.getMetaData(WrappedConnection.java:816)
          at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:121) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
          at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
          at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
          at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
          at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
          at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2270) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
          at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2266) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
          at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1735) [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
          at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
          at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
          at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
          at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
          at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
          at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_15]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_15]
          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_15]
Caused by: java.lang.IllegalAccessException: Class bitronix.tm.utils.ManagementRegistrar can not access a member of class org.jboss.as.jmx.PluggableMBeanServerImpl with modifiers "public"
          at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:95) [rt.jar:1.7.0_15]
          at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:261) [rt.jar:1.7.0_15]
          at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:253) [rt.jar:1.7.0_15]
          at java.lang.reflect.Method.invoke(Method.java:594) [rt.jar:1.7.0_15]
          at bitronix.tm.utils.ManagementRegistrar.mbeanServerCall(ManagementRegistrar.java:121) [btm-2.1.2.jar:2.1.2]
          ... 32 more


17:03:04,224 INFO  [org.jboss.as.logging] JBAS011503: Restored bootstrap log handlers
17:03:04,227 INFO  [org.hibernate.dialect.Dialect] HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect
17:03:04,231 INFO  [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
17:03:04,232 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] HHH000397: Using ASTQueryTranslatorFactory
17:03:05,144 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] HHH000228: Running hbm2ddl schema update
17:03:05,145 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] HHH000102: Fetching database metadata



...................


17:10:03,680 INFO  [main.java.com.sample.handler.CustomExceptionHandler] (MSC service thread 1-2) ------------------------------------ERROR-------------------------------------
17:10:03,683 ERROR [main.java.com.sample.handler.CustomExceptionHandler] (MSC service thread 1-2) STACK TRACE: org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)
17:10:03,684 INFO  [main.java.com.sample.handler.CustomExceptionHandler] (MSC service thread 1-2) ------------------------------------ERROR-------------------------------------
17:10:03,685 ERROR [stderr] (MSC service thread 1-2) javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.task] Unable to build EntityManagerFactory
17:10:03,686 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)
17:10:03,686 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)
17:10:03,688 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:56)
17:10:03,689 ERROR [stderr] (MSC service thread 1-2)           at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)
17:10:03,689 ERROR [stderr] (MSC service thread 1-2)           at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47)
17:10:03,693 ERROR [stderr] (MSC service thread 1-2)           at main.java.com.sample.taskserver.HumanTaskStartupServlet.init(HumanTaskStartupServlet.java:42)
17:10:03,693 ERROR [stderr] (MSC service thread 1-2)           at javax.servlet.GenericServlet.init(GenericServlet.java:242)
17:10:03,694 ERROR [stderr] (MSC service thread 1-2)           at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202)
17:10:03,694 ERROR [stderr] (MSC service thread 1-2)           at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102)
17:10:03,695 ERROR [stderr] (MSC service thread 1-2)           at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655)
17:10:03,695 ERROR [stderr] (MSC service thread 1-2)           at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873)
17:10:03,696 ERROR [stderr] (MSC service thread 1-2)           at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)
17:10:03,696 ERROR [stderr] (MSC service thread 1-2)           at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
17:10:03,696 ERROR [stderr] (MSC service thread 1-2)           at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
17:10:03,697 ERROR [stderr] (MSC service thread 1-2)           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
17:10:03,698 ERROR [stderr] (MSC service thread 1-2)           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
17:10:03,698 ERROR [stderr] (MSC service thread 1-2)           at java.lang.Thread.run(Thread.java:722)
17:10:03,700 ERROR [stderr] (MSC service thread 1-2) Caused by: org.hibernate.service.jndi.JndiException: Unable to lookup JNDI name [java:jboss/datasources/jBPMDS]
17:10:03,701 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.service.jndi.internal.JndiServiceImpl.locate(JndiServiceImpl.java:68)
17:10:03,701 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.configure(DatasourceConnectionProviderImpl.java:116)
17:10:03,702 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)
17:10:03,702 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)
17:10:03,703 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)
17:10:03,705 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.buildJdbcConnectionAccess(JdbcServicesImpl.java:234)
17:10:03,705 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:91)
17:10:03,706 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)
17:10:03,707 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)
17:10:03,708 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)
17:10:03,708 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71)
17:10:03,709 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2270)
17:10:03,709 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2266)
17:10:03,710 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1735)
17:10:03,710 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84)
17:10:03,710 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)
17:10:03,711 ERROR [stderr] (MSC service thread 1-2)           ... 16 more
17:10:03,713 ERROR [stderr] (MSC service thread 1-2) Caused by: javax.naming.NameNotFoundException: unable to find a bound object at name 'java:jboss/datasources/jBPMDS'
17:10:03,720 ERROR [stderr] (MSC service thread 1-2)           at bitronix.tm.jndi.BitronixContext.lookup(BitronixContext.java:83)
17:10:03,720 ERROR [stderr] (MSC service thread 1-2)           at bitronix.tm.jndi.BitronixContext.lookup(BitronixContext.java:67)
17:10:03,721 ERROR [stderr] (MSC service thread 1-2)           at javax.naming.InitialContext.lookup(InitialContext.java:415)
17:10:03,721 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.service.jndi.internal.JndiServiceImpl.locate(JndiServiceImpl.java:65)
17:10:03,721 ERROR [stderr] (MSC service thread 1-2)           ... 31 more
17:10:03,745 WARN  [bitronix.tm.utils.ManagementRegistrar] (MSC service thread 1-2) cannot register object with name bitronix.tm:type=Transaction,Gtrid=3132372E302E312E310000013D45D4C0D900000000: bitronix.tm.internal.BitronixRuntimeException: cannot call method 'registerMBean'
          at bitronix.tm.utils.ManagementRegistrar.mbeanServerCall(ManagementRegistrar.java:123) [btm-2.1.2.jar:2.1.2]
          at bitronix.tm.utils.ManagementRegistrar.register(ManagementRegistrar.java:86) [btm-2.1.2.jar:2.1.2]
          at bitronix.tm.BitronixTransaction.setStatus(BitronixTransaction.java:340) [btm-2.1.2.jar:2.1.2]
          at bitronix.tm.BitronixTransaction.setStatus(BitronixTransaction.java:323) [btm-2.1.2.jar:2.1.2]
          at bitronix.tm.BitronixTransaction.setActive(BitronixTransaction.java:314) [btm-2.1.2.jar:2.1.2]
          at bitronix.tm.BitronixTransactionManager.begin(BitronixTransactionManager.java:103) [btm-2.1.2.jar:2.1.2]
          at main.java.com.sample.processserver.TaskProcessServlet.init(TaskProcessServlet.java:41) [classes:]
          at javax.servlet.GenericServlet.init(GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655) [jbossweb-7.0.13.Final.jar:]
          at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) [jbossweb-7.0.13.Final.jar:]
          at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_15]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_15]
          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_15]
Caused by: java.lang.IllegalAccessException: Class bitronix.tm.utils.ManagementRegistrar can not access a member of class org.jboss.as.jmx.PluggableMBeanServerImpl with modifiers "public"
          at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:95) [rt.jar:1.7.0_15]
          at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:261) [rt.jar:1.7.0_15]
          at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:253) [rt.jar:1.7.0_15]
          at java.lang.reflect.Method.invoke(Method.java:594) [rt.jar:1.7.0_15]
          at bitronix.tm.utils.ManagementRegistrar.mbeanServerCall(ManagementRegistrar.java:121) [btm-2.1.2.jar:2.1.2]
          ... 17 more


17:10:03,768 INFO  [main.java.com.sample.processserver.AllMethods] (MSC service thread 1-2) Value of key : procXmlPath
17:10:03,769 INFO  [main.java.com.sample.processserver.AllMethods] (MSC service thread 1-2) Value of value : /home/ouadi/MS-SID/infos_Stage/Projet_Workflow_Monetique/workspace_stage/WebApplication2/src
17:10:03,769 INFO  [main.java.com.sample.processserver.AllMethods] (MSC service thread 1-2) Value of Return Value : /home/ouadi/MS-SID/infos_Stage/Projet_Workflow_Monetique/workspace_stage/WebApplication2/src
17:10:03,771 INFO  [main.java.com.sample.processserver.AllMethods] (MSC service thread 1-2) URL : /home/ouadi/MS-SID/infos_Stage/Projet_Workflow_Monetique/workspace_stage/WebApplication2/src/ProcessDefInfo.xml
17:10:03,778 INFO  [main.java.com.sample.processserver.AllMethods] (MSC service thread 1-2) Tag Value : HumanTasksGroupAssigned.bpmn
17:10:03,779 INFO  [main.java.com.sample.processserver.AllMethods] (MSC service thread 1-2) Tag Value : SampleHumanTaskFormVariables.bpmn
17:10:03,780 INFO  [main.java.com.sample.processserver.AllMethods] (MSC service thread 1-2) Tag Value : DynamicTaskAssignment.bpmn
17:10:03,780 INFO  [main.java.com.sample.processserver.AllMethods] (MSC service thread 1-2) Value of processParameters : [HumanTasksGroupAssigned.bpmn, SampleHumanTaskFormVariables.bpmn, DynamicTaskAssignment.bpmn]
17:10:03,788 INFO  [main.java.com.sample.processserver.JbpmAPIUtil] (MSC service thread 1-2) Value of processNames : [HumanTasksGroupAssigned.bpmn, SampleHumanTaskFormVariables.bpmn, DynamicTaskAssignment.bpmn]
17:10:03,789 INFO  [main.java.com.sample.processserver.JbpmAPIUtil] (MSC service thread 1-2) Value of processNames : [HumanTasksGroupAssigned.bpmn, SampleHumanTaskFormVariables.bpmn, DynamicTaskAssignment.bpmn]


17:10:05,077 INFO  [main.java.com.sample.handler.CustomExceptionHandler] (MSC service thread 1-2) ------------------------------------ERROR-------------------------------------
17:10:05,077 ERROR [main.java.com.sample.handler.CustomExceptionHandler] (MSC service thread 1-2) STACK TRACE: org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)
17:10:05,078 INFO  [main.java.com.sample.handler.CustomExceptionHandler] (MSC service thread 1-2) ------------------------------------ERROR-------------------------------------
17:10:05,079 ERROR [stderr] (MSC service thread 1-2) javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory
17:10:05,079 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)
17:10:05,080 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)
17:10:05,080 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:56)
17:10:05,081 ERROR [stderr] (MSC service thread 1-2)           at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)
17:10:05,081 ERROR [stderr] (MSC service thread 1-2)           at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47)
17:10:05,082 ERROR [stderr] (MSC service thread 1-2)           at main.java.com.sample.processserver.JbpmAPIUtil.createSession(JbpmAPIUtil.java:511)
17:10:05,082 ERROR [stderr] (MSC service thread 1-2)           at main.java.com.sample.processserver.TaskProcessServlet.init(TaskProcessServlet.java:43)
17:10:05,083 ERROR [stderr] (MSC service thread 1-2)           at javax.servlet.GenericServlet.init(GenericServlet.java:242)
17:10:05,083 ERROR [stderr] (MSC service thread 1-2)           at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202)
17:10:05,084 ERROR [stderr] (MSC service thread 1-2)           at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102)
17:10:05,084 ERROR [stderr] (MSC service thread 1-2)           at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655)
17:10:05,085 ERROR [stderr] (MSC service thread 1-2)           at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873)
17:10:05,085 ERROR [stderr] (MSC service thread 1-2)           at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)
17:10:05,086 ERROR [stderr] (MSC service thread 1-2)           at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
17:10:05,086 ERROR [stderr] (MSC service thread 1-2)           at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
17:10:05,087 ERROR [stderr] (MSC service thread 1-2)           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
17:10:05,088 ERROR [stderr] (MSC service thread 1-2)           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
17:10:05,088 ERROR [stderr] (MSC service thread 1-2)           at java.lang.Thread.run(Thread.java:722)
17:10:05,089 ERROR [stderr] (MSC service thread 1-2) Caused by: org.hibernate.service.jndi.JndiException: Unable to lookup JNDI name [java:jboss/datasources/jBPMDS]
17:10:05,089 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.service.jndi.internal.JndiServiceImpl.locate(JndiServiceImpl.java:68)
17:10:05,090 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.configure(DatasourceConnectionProviderImpl.java:116)
17:10:05,091 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)
17:10:05,093 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)
17:10:05,094 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)
17:10:05,094 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.buildJdbcConnectionAccess(JdbcServicesImpl.java:234)
17:10:05,095 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:91)
17:10:05,095 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)
17:10:05,096 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)
17:10:05,097 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)
17:10:05,098 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71)
17:10:05,098 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2270)
17:10:05,098 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2266)
17:10:05,099 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1735)
17:10:05,100 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84)
17:10:05,100 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)
17:10:05,101 ERROR [stderr] (MSC service thread 1-2)           ... 17 more
17:10:05,101 ERROR [stderr] (MSC service thread 1-2) Caused by: javax.naming.NameNotFoundException: unable to find a bound object at name 'java:jboss/datasources/jBPMDS'
17:10:05,102 ERROR [stderr] (MSC service thread 1-2)           at bitronix.tm.jndi.BitronixContext.lookup(BitronixContext.java:83)
17:10:05,102 ERROR [stderr] (MSC service thread 1-2)           at bitronix.tm.jndi.BitronixContext.lookup(BitronixContext.java:67)
17:10:05,103 ERROR [stderr] (MSC service thread 1-2)           at javax.naming.InitialContext.lookup(InitialContext.java:415)
17:10:05,103 ERROR [stderr] (MSC service thread 1-2)           at org.hibernate.service.jndi.internal.JndiServiceImpl.locate(JndiServiceImpl.java:65)
17:10:05,103 ERROR [stderr] (MSC service thread 1-2)           ... 32 more
17:10:05,116 INFO  [org.jboss.web] (MSC service thread 1-2) JBAS018210: Registering web context: /WebApplication2
17:10:05,124 INFO  [org.jboss.as] (MSC service thread 1-3) JBAS015951: Admin console listening on  http://127.0.0.1:9990 http://127.0.0.1:9990
17:10:05,129 INFO  [org.jboss.as] (MSC service thread 1-3) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 13300ms - Started 188 of 267 services (76 services are passive or on-demand)
17:10:05,328 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "WebApplication2.war"
--------------------------------------------------------------

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130307/828ad8b2/attachment-0001.html 


More information about the jboss-user mailing list