Garvit Jain [
https://community.jboss.org/people/garvitj] created the discussion
"Error while deploying jbpm-gwt-console-server-5.1.0.Final.war on Jboss AS7"
To view the discussion, visit:
https://community.jboss.org/message/766202#766202
--------------------------------------------------------------
Hi All, When i am trying to deploy jbpm-gwt-console-server-5.1.0.Final.war on Jboss AS7, i
am facing issues the deployment is failing with error ....
10:08:32,151 ERROR [org.hibernate.internal.util.xml.ErrorLogger] (MSC service thread 1-1)
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'.
10:08:32,165 WARN [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-1)
HHH000144: hibernate.connection.autocommit = false breaks the EJB3 specification
10:08:32,221 INFO
[org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl] (MSC
service thread 1-1) HHH000402: Using Hibernate built-in connection poo
l (not for production use!)
10:08:32,223 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed
to start service
jboss.persistenceunit."jbpm-gwt-console-server-5.1.0.Final.war#org.jbpm.t
ask": org.jboss.msc.service.StartException in service
jboss.persistenceunit."jbpm-gwt-console-server-5.1.0.Final.war#org.jbpm.task":
Failed to start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[rt.jar:1.6.0_22]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[rt.jar:1.6.0_22]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_22]
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.task] Unable
to build EntityManagerFactory
at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)
at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)
at
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)
at
org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162)
at
org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
... 3 more
Caused by: org.hibernate.HibernateException: Specified JDBC Driver org.h2.Driver class not
found
at
org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl.configure(DriverManagerConnectionProviderImpl.java:104)
at
org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)
at
org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)
at
org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)
at
org.hibernate.engine.jdbc.internal.JdbcServicesImpl.buildJdbcConnectionAccess(JdbcServicesImpl.java:234)
at
org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:91)
at
org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)
at
org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)
at
org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71)
at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2270)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2266)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1735)
at
org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84)
at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)
... 9 more
Caused by: java.lang.ClassNotFoundException: org.h2.Driver from [Module
"org.hibernate:main" from local module loader @fc9944 (roots:
C:\jbossAS\modules)]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
at java.lang.Class.forName0(Native Method) [rt.jar:1.6.0_22]
at java.lang.Class.forName(Class.java:169) [rt.jar:1.6.0_22]
at org.hibernate.internal.util.ReflectHelper.classForName(ReflectHelper.java:192)
at
org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl.configure(DriverManagerConnectionProviderImpl.java:101)
... 23 more
10:08:32,495 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015870:
Deploy of deployment "jbpm-gwt-console-server-5.1.0.Final.war" was rolled back
with failure mes
sage {"JBAS014671: Failed services" =>
{"jboss.persistenceunit.\"jbpm-gwt-console-server-5.1.0.Final.war#org.jbpm.task\""
=> "org.jboss.msc.service.StartException in service jboss.
persistenceunit.\"jbpm-gwt-console-server-5.1.0.Final.war#org.jbpm.task\":
Failed to start service"},"JBAS014771: Services with missing/unavailable
dependencies" => ["jboss.web.dep
loyment.default-host./gwt-console-server.realmjboss.security.security-domain.jbpm-consoleMissing[jboss.web.deployment.default-host./gwt-console-server.realmjboss.security.security-
domain.jbpm-console]","jboss.persistenceunit.\"jbpm-gwt-console-server-5.1.0.Final.war#org.jbpm.persistence.jpa\"jboss.naming.context.java.jboss.java:jdbc.testDS1Missing[jboss.pers
istenceunit.\"jbpm-gwt-console-server-5.1.0.Final.war#org.jbpm.persistence.jpa\"jboss.naming.context.java.jboss.java:jdbc.testDS1]"]}
10:08:33,052 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877:
Stopped deployment jbpm-gwt-console-server-5.1.0.Final.war in 559ms
10:08:33,054 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 1) JBAS014774:
Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.naming.context.java.jboss.java:jdbc.testDS1 (missing) dependents:
[service
jboss.persistenceunit."jbpm-gwt-console-server-5.1.0.Final.war#org.jbpm.persistence.j
pa"]
service jboss.security.security-domain.jbpm-console (missing) dependents: [service
jboss.web.deployment.default-host./gwt-console-server.realm]
JBAS014777: Services which failed to start: service
jboss.persistenceunit."jbpm-gwt-console-server-5.1.0.Final.war#org.jbpm.task":
org.jboss.msc.service.StartException in se
rvice
jboss.persistenceunit."jbpm-gwt-console-server-5.1.0.Final.war#org.jbpm.task":
Failed to start service
10:08:33,063 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads -
2) {"JBAS014653: Composite operation failed and was rolled back. Steps that
failed:" => {"O
peration step-2" => {"JBAS014671: Failed services" =>
{"jboss.persistenceunit.\"jbpm-gwt-console-server-5.1.0.Final.war#org.jbpm.task\""
=> "org.jboss.msc.service.StartException in
service
jboss.persistenceunit.\"jbpm-gwt-console-server-5.1.0.Final.war#org.jbpm.task\":
Failed to start service"},"JBAS014771: Services with missing/unavailable
dependencies" =>
["jboss.web.deployment.default-host./gwt-console-server.realmjboss.security.security-domain.jbpm-consoleMissing[jboss.web.deployment.default-host./gwt-console-server.realmjboss.sec
urity.security-domain.jbpm-console]","jboss.persistenceunit.\"jbpm-gwt-console-server-5.1.0.Final.war#org.jbpm.persistence.jpa\"jboss.naming.context.java.jboss.java:jdbc.testDS1Mis
sing[jboss.persistenceunit.\"jbpm-gwt-console-server-5.1.0.Final.war#org.jbpm.persistence.jpa\"jboss.naming.context.java.jboss.java:jdbc.testDS1]"]}}}
Please let me know how can this error be resolved ..
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/766202#766202]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]