5 Replies Latest reply: Jan 23, 2013 3:36 PM by vchmakov RSS

error when deploying kitchen-sink

Anton Hughes Novice

Hi

 

I'm trying to deploy the kitchen sink to jboss as 7.1.1, and I am getting the following error. Hope someone can help.

 

22:26:24,035 INFO  [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-2) HHH000204: Processing PersistenceUnitInfo [

          name: primary

          ...]

22:26:24,047 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.persistenceunit."app.war#primary": org.jboss.msc.service.StartException in service jboss.persistenceunit."app.war#primary": 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.runWorker(Unknown Source) [rt.jar:1.7.0_01]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.7.0_01]

          at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_01]

Caused by: java.lang.RuntimeException: error trying to scan <jar-file>: vfs:/C:/jboss/jbpm-5.4.0.Final-installer-full/jbpm-installer/jboss-as-7.1.1.Final/standalone/deployments/app.war/WEB-INF/classes/

          at org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:854)

          at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:596)

          at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:72)

          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: java.lang.RuntimeException: JBAS011431: Could not load entity class 'org.jboss.errai.marshalling.server.impl.ServerMarshallingFactoryImpl$30' with PersistenceUnitInfo.getClassLoader()

          at org.jboss.as.jpa.hibernate4.HibernateAnnotationScanner.getPackagesInJar(HibernateAnnotationScanner.java:175)

          at org.hibernate.ejb.Ejb3Configuration.addScannedEntries(Ejb3Configuration.java:489)

          at org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:851)

          ... 9 more

Caused by: java.lang.ClassNotFoundException: org.jboss.errai.marshalling.server.impl.ServerMarshallingFactoryImpl$30 from [Module "deployment.app.war:main" from Service Module Loader]

          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.performLoadClass(ConcurrentClassLoader.java:398)

          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

          at org.jboss.as.jpa.hibernate4.HibernateAnnotationScanner.getPackagesInJar(HibernateAnnotationScanner.java:171)

          ... 11 more

 

 

22:26:24,262 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015870: Deploy of deployment "app.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.persistenceunit.\"app.war#primary\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"app.war#primary\": Failed to start service"}}

22:26:24,401 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-9) JBAS015877: Stopped deployment app.war in 139ms

22:26:24,403 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) JBAS014774: Service status report

JBAS014777:   Services which failed to start:      service jboss.persistenceunit."app.war#primary": org.jboss.msc.service.StartException in service jboss.persistenceunit."app.war#primary": Failed to start service

 

 

22:26:24,404 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.persistenceunit.\"app.war#primary\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"app.war#primary\": Failed to start service"}}}}