[
https://issues.jboss.org/browse/JBIDE-13159?page=com.atlassian.jira.plugi...
]
Radim Hopp commented on JBIDE-13159:
------------------------------------
My configuration: Fedora 16 (64b),
{noformat}$ java -version
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) 64-Bit Server VM (build 22.0-b10, mixed mode){noformat}
JBT 4.0.0.CR1e
I have tried it again with clean local maven repo
{code:title=settings.xml}<?xml version="1.0" encoding="UTF-8"
standalone="no"?>
<settings>
<localRepository>/home/rhopp/.m2/GWT</localRepository>
<profiles>
<profile>
<id>jboss-public-repository</id>
<repositories>
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<
url>https://repository.jboss.org/nexus/content/groups/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<
url>https://repository.jboss.org/nexus/content/groups/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>redhat-techpreview-all-repository</id>
<repositories>
<repository>
<id>redhat-techpreview-all-repository</id>
<name>Red Hat Tech Preview repository (all)</name>
<
url>http://maven.repository.redhat.com/techpreview/all/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>redhat-techpreview-all-repository</id>
<name>Red Hat Tech Preview repository (all)</name>
<
url>http://maven.repository.redhat.com/techpreview/all/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>jboss-public-repository</activeProfile>
<activeProfile>redhat-techpreview-all-repository</activeProfile>
</activeProfiles>
</settings>
{code}
mvn package went fine (no errors)
When trying to deploy (right click on project -> run as -> run on server)
{noformat:title=Server console outuput}10:29:48,988 INFO [org.jboss.modules] JBoss
Modules version 1.1.1.GA
10:29:49,596 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
10:29:49,664 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes"
starting
10:29:50,743 INFO [org.xnio] XNIO Version 3.0.3.GA
10:29:50,745 INFO [org.jboss.as.server] JBAS015888: Creating http management service
using socket-binding (management-http)
10:29:50,755 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
10:29:50,764 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
10:29:50,798 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
10:29:50,804 INFO [org.jboss.as.configadmin] (ServerService Thread Pool -- 26)
JBAS016200: Activating ConfigAdmin Subsystem
10:29:50,841 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31)
JBAS010280: Activating Infinispan subsystem.
10:29:50,850 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread
Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
10:29:50,872 INFO [org.jboss.as.connector] (MSC service thread 1-5) JBAS010408: Starting
JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
10:29:50,881 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800:
Activating Naming Subsystem
10:29:50,897 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940:
Activating OSGi Subsystem
10:29:50,933 INFO [org.jboss.as.naming] (MSC service thread 1-3) JBAS011802: Starting
Naming Service
10:29:50,950 INFO [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101:
Activating Security Subsystem
10:29:50,954 INFO [org.jboss.as.security] (MSC service thread 1-5) JBAS013100: Current
PicketBox version=4.0.7.Final
10:29:50,958 INFO [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400:
Bound mail session [java:jboss/mail/Default]
10:29:51,021 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 48)
JBAS015537: Activating WebServices Extension
10:29:51,216 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service
thread 1-8) JBoss Web Services - Stack CXF Server 4.0.2.GA
10:29:51,303 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1)
Starting Coyote HTTP/1.1 on http-localhost-127.0.0.1-8080
10:29:51,789 INFO [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening
on /127.0.0.1:9999
10:29:51,790 INFO [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening
on localhost/127.0.0.1:4447
10:29:51,793 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3)
JBAS015012: Started FileSystemDeploymentService for directory
/home/rhopp/Runtimes/jboss-as-7.1.1.Final-clean/standalone/deployments
10:29:51,804 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads -
1) JBAS015003: Found jboss-as-kitchensink-errai.war in deployment directory. To trigger
deployment create a file called jboss-as-kitchensink-errai.war.dodeploy
10:29:51,909 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread
1-7) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
10:29:51,947 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876:
Starting deployment of "jboss-as-kitchensink-errai.war"
10:29:53,501 INFO [org.jboss.as.jpa] (MSC service thread 1-3) JBAS011401: Read
persistence.xml for primary
10:29:54,202 WARN [org.jboss.as.dependency.private] (MSC service thread 1-2) JBAS018567:
Deployment "deployment.jboss-as-kitchensink-errai.war" is using a private module
("org.jboss.as.naming:main") which may be changed or removed in future versions
without notice.
10:29:54,204 WARN [org.jboss.as.dependency.private] (MSC service thread 1-2) JBAS018567:
Deployment "deployment.jboss-as-kitchensink-errai.war" is using a private module
("org.jboss.as.server:main") which may be changed or removed in future versions
without notice.
10:29:54,260 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016002:
Processing weld deployment jboss-as-kitchensink-errai.war
10:29:54,428 INFO [org.jboss.weld.deployer] (MSC service thread 1-7) JBAS016005: Starting
Services for CDI deployment: jboss-as-kitchensink-errai.war
10:29:54,457 INFO [org.jboss.weld.Version] (MSC service thread 1-7) WELD-000900 1.1.5
(AS71)
10:29:54,484 INFO [org.jboss.as.jpa] (MSC service thread 1-5) JBAS011402: Starting
Persistence Unit Service 'jboss-as-kitchensink-errai.war#primary'
10:29:54,587 INFO [org.hibernate.annotations.common.Version] (MSC service thread 1-5)
HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
10:29:54,593 INFO [org.hibernate.Version] (MSC service thread 1-5) HHH000412: Hibernate
Core {4.0.1.Final}
10:29:54,595 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-5) HHH000206:
hibernate.properties not found
10:29:54,596 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-5) HHH000021:
Bytecode provider name : javassist
10:29:54,611 INFO [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-5)
HHH000204: Processing PersistenceUnitInfo [
name: primary
...]
10:29:54,619 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC00001: Failed
to start service jboss.persistenceunit."jboss-as-kitchensink-errai.war#primary":
org.jboss.msc.service.StartException in service
jboss.persistenceunit."jboss-as-kitchensink-errai.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.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.6.0_24]
at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_24]
Caused by: java.lang.RuntimeException: error trying to scan <jar-file>:
vfs:/home/rhopp/Runtimes/jboss-as-7.1.1.Final-clean/standalone/deployments/jboss-as-kitchensink-errai.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-as-kitchensink-errai.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
[jboss-modules.jar:1.1.1.GA]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
[jboss-modules.jar:1.1.1.GA]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
[jboss-modules.jar:1.1.1.GA]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
[jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
[jboss-modules.jar:1.1.1.GA]
at
org.jboss.as.jpa.hibernate4.HibernateAnnotationScanner.getPackagesInJar(HibernateAnnotationScanner.java:171)
... 11 more
10:29:54,631 INFO [org.jboss.as] (MSC service thread 1-3) JBAS015951: Admin console
listening on
http://127.0.0.1:9990
10:29:54,632 ERROR [org.jboss.as] (MSC service thread 1-3) JBAS015875: JBoss AS
7.1.1.Final "Brontes" started (with errors) in 6073ms - Started 169 of 271
services (25 services failed or missing dependencies, 76 services are passive or
on-demand)
10:29:54,835 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870:
Deploy of deployment "jboss-as-kitchensink-errai.war" was rolled back with
failure message {"JBAS014671: Failed services" =>
{"jboss.persistenceunit.\"jboss-as-kitchensink-errai.war#primary\""
=> "org.jboss.msc.service.StartException in service
jboss.persistenceunit.\"jboss-as-kitchensink-errai.war#primary\": Failed to
start service"}}
10:29:54,863 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877:
Stopped deployment jboss-as-kitchensink-errai.war in 28ms
10:29:54,864 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774:
Service status report
JBAS014777: Services which failed to start: service
jboss.persistenceunit."jboss-as-kitchensink-errai.war#primary":
org.jboss.msc.service.StartException in service
jboss.persistenceunit."jboss-as-kitchensink-errai.war#primary": Failed to start
service
10:29:54,866 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-as-kitchensink-errai.war#primary\""
=> "org.jboss.msc.service.StartException in service
jboss.persistenceunit.\"jboss-as-kitchensink-errai.war#primary\": Failed to
start service"}}}}
{noformat}
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: Fred Bricon
Fix For: 4.0.0.Final
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:
http://www.atlassian.com/software/jira