]
Denis Golovin commented on JBIDE-13159:
---------------------------------------
@[~mmalina]: GWT configurator doesn't help. What do help is changing OpenJDK 7 to 6.
gwt-kitchensink fails to deploy - class not found
-------------------------------------------------
Key: JBIDE-13159
URL:
https://issues.jboss.org/browse/JBIDE-13159
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: GWT, maven
Affects Versions: 4.0.0.CR1
Environment: JBDS 6.0.0.CR1a B133
JBT 4.0.0.CR1a B97
OS X 10.8.2
Oracle Java 1.7
Reporter: Martin Malina
Assignee: Snjezana Peco
Fix For: 4.1.0.Beta1
When you try to deploy the gwt project from Central, it fails to deploy with the
following error:
{code}
15:27:18,698 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads -
1) JBAS015003: Found jboss-gwt-webapp.war in deployment directory. To trigger deployment
create a file called jboss-gwt-webapp.war.dodeploy
15:27:18,713 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876:
Starting deployment of "jboss-gwt-webapp.war"
15:27:20,830 INFO [org.jboss.as.jpa] (MSC service thread 1-3) JBAS011401: Read
persistence.xml for primary
15:27:20,978 WARN [org.jboss.as.dependency.private] (MSC service thread 1-3) JBAS018567:
Deployment "deployment.jboss-gwt-webapp.war" is using a private module
("org.jboss.as.naming:main") which may be changed or removed in future versions
without notice.
15:27:20,979 WARN [org.jboss.as.dependency.private] (MSC service thread 1-3) JBAS018567:
Deployment "deployment.jboss-gwt-webapp.war" is using a private module
("org.jboss.as.server:main") which may be changed or removed in future versions
without notice.
15:27:21,021 INFO [org.jboss.weld.deployer] (MSC service thread 1-3) JBAS016002:
Processing weld deployment jboss-gwt-webapp.war
15:27:21,301 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016005:
Starting Services for CDI deployment: jboss-gwt-webapp.war
15:27:21,332 INFO [org.jboss.weld.Version] (MSC service thread 1-2) WELD-000900 1.1.5
(AS71)
15:27:21,364 INFO [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011402: Starting
Persistence Unit Service 'jboss-gwt-webapp.war#primary'
15:27:21,461 INFO [org.hibernate.annotations.common.Version] (MSC service thread 1-1)
HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
15:27:21,467 INFO [org.hibernate.Version] (MSC service thread 1-1) HHH000412: Hibernate
Core {4.0.1.Final}
15:27:21,469 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-1) HHH000206:
hibernate.properties not found
15:27:21,473 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-1) HHH000021:
Bytecode provider name : javassist
15:27:21,490 INFO [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-1)
HHH000204: Processing PersistenceUnitInfo [
name: primary
...]
15:27:21,499 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed
to start service jboss.persistenceunit."jboss-gwt-webapp.war#primary":
org.jboss.msc.service.StartException in service
jboss.persistenceunit."jboss-gwt-webapp.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(ThreadPoolExecutor.java:1110)
[rt.jar:1.7.0_07]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.7.0_07]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_07]
Caused by: java.lang.RuntimeException: error trying to scan <jar-file>:
vfs:/Users/rasp/jbossqa/runtimes/jboss-as-7.1.1.Final/standalone/deployments/jboss-gwt-webapp.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.jboss-gwt-webapp.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
15:27:21,714 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870:
Deploy of deployment "jboss-gwt-webapp.war" was rolled back with failure message
{"JBAS014671: Failed services" =>
{"jboss.persistenceunit.\"jboss-gwt-webapp.war#primary\"" =>
"org.jboss.msc.service.StartException in service
jboss.persistenceunit.\"jboss-gwt-webapp.war#primary\": Failed to start
service"}}
15:27:21,742 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015877:
Stopped deployment jboss-gwt-webapp.war in 27ms
15:27:21,743 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774:
Service status report
JBAS014777: Services which failed to start: service
jboss.persistenceunit."jboss-gwt-webapp.war#primary":
org.jboss.msc.service.StartException in service
jboss.persistenceunit."jboss-gwt-webapp.war#primary": Failed to start service
15:27:21,745 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads -
1) {"JBAS014653: Composite operation failed and was rolled back. Steps that
failed:" => {"Operation step-2" => {"JBAS014671: Failed
services" =>
{"jboss.persistenceunit.\"jboss-gwt-webapp.war#primary\"" =>
"org.jboss.msc.service.StartException in service
jboss.persistenceunit.\"jboss-gwt-webapp.war#primary\": Failed to start
service"}}}}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: