[JBoss JIRA] (JBDS-3021) Snowdrop Sportsclub example can't be deployed via JBDS 8
by Tomas Repel (JIRA)
[ https://issues.jboss.org/browse/JBDS-3021?page=com.atlassian.jira.plugin.... ]
Tomas Repel commented on JBDS-3021:
-----------------------------------
The "sportsclub-jpa-ear.ear" directory is created under "EAP6_HOME/standalone/deployments" directory. The only suspicious difference in content of "sportsclub-jpa-ear.ear" directory is in "sportsclub-jpa-ear.ear/lib" subdirectory. It contains several sportsclub-*.jar files. The content of these jars differs if using JBDS7 vs. JBDS8. For instance, in case of JBDS7 the "sportsclub-jpa-ear.ear/lib/sportsclub-domain.jar" contains the files and classes from that submodule, but if JBDS8 is used the same jar contains the whole sportsclub application jars and wars (the content of ear itself basically). Though I have no clue why this is happening.
> Snowdrop Sportsclub example can't be deployed via JBDS 8
> --------------------------------------------------------
>
> Key: JBDS-3021
> URL: https://issues.jboss.org/browse/JBDS-3021
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 8.0.0.Beta1
> Reporter: Tomas Repel
> Assignee: Fred Bricon
>
> Snowdrop Sportsclub example is not deployed via JBDS 8 on EAP 6 properly.
> * Import Snowdrop Sportsclub example into JBDS 8 with configured EAP 6.2 in Servers tab
> * The right click on sportsclub-jpa-ear in Project Explorer view
> * Run As -> Run on Server
> The application starts deploying but it fails.
> The same steps using JBDS 7.1.1.GA lead to correct deployment.
> Tested with Sportsclub Spring 4.0 variant, both the distributed in WFK 2.5.0.GA and the upstream (https://github.com/snowdrop/snowdrop-examples/tree/master/sportsclub/spri...), JBDS 8.0.0.Beta1 and EAP 6.2.1.CP.CR4
> Stacktrace:
> {code}
> 11:19:22,782 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015003: Found sportsclub-ear.ear in deployment directory. To trigger deployment create a file called sportsclub-ear.ear.dodeploy
> 11:19:42,814 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "sportsclub-ear.ear" (runtime-name: "sportsclub-ear.ear")
> 11:19:42,947 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-reservations-webflow.war")
> 11:19:42,947 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-subscriptions-ejb.jar")
> 11:19:42,947 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-subscriptions-web.war")
> 11:19:42,948 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-invoicing-ejb.jar")
> 11:19:42,948 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-reservations-web.war")
> 11:19:42,947 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-invoicing-webmvc.war")
> 11:19:43,519 WARN [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.sportsclub-ear.ear" is using a private module ("org.javassist:main") which may be changed or removed in future versions without notice.
> 11:19:43,520 WARN [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.sportsclub-ear.ear" is using a private module ("org.javassist:main") which may be changed or removed in future versions without notice.
> 11:19:43,569 WARN [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.sportsclub-ear.ear.sportsclub-invoicing-webmvc.war" is using a private module ("org.hornetq.ra:main") which may be changed or removed in future versions without notice.
> 11:19:43,570 WARN [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.sportsclub-ear.ear.sportsclub-invoicing-webmvc.war" is using a private module ("org.hornetq.ra:main") which may be changed or removed in future versions without notice.
> 11:19:43,570 WARN [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.sportsclub-ear.ear.sportsclub-invoicing-webmvc.war" is using a private module ("org.jboss.as.naming:main") which may be changed or removed in future versions without notice.
> 11:19:43,591 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-subscriptions-ejb.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-subscriptions-ejb.jar".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment "sportsclub-subscriptions-ejb.jar" of deployment "sportsclub-ear.ear"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> 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: JBAS018757: Error getting reflective information for class org.jboss.snowdrop.samples.sportsclub.ejb.SubscriptionServiceImpl with ClassLoader ModuleClassLoader for Module "deployment.sportsclub-ear.ear.sportsclub-subscriptions-ejb.jar:main" from Service Module Loader
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:107)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:92)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 5 more
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/repository/AccountRepository;
> at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_07]
> at java.lang.Class.privateGetDeclaredFields(Class.java:2308) [rt.jar:1.7.0_07]
> at java.lang.Class.getDeclaredFields(Class.java:1760) [rt.jar:1.7.0_07]
> at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 10 more
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.repository.AccountRepository from [Module "deployment.sportsclub-ear.ear.sportsclub-subscriptions-ejb.jar:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]
> ... 15 more
> 11:19:43,598 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-invoicing-ejb.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-invoicing-ejb.jar".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment "sportsclub-invoicing-ejb.jar" of deployment "sportsclub-ear.ear"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> 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: JBAS018757: Error getting reflective information for class org.jboss.spring.samples.sportsclub.invoicing.services.BillingServiceImpl with ClassLoader ModuleClassLoader for Module "deployment.sportsclub-ear.ear.sportsclub-invoicing-ejb.jar:main" from Service Module Loader
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:107)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:92)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 5 more
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/repository/InvoiceRepository;
> at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_07]
> at java.lang.Class.privateGetDeclaredFields(Class.java:2308) [rt.jar:1.7.0_07]
> at java.lang.Class.getDeclaredFields(Class.java:1760) [rt.jar:1.7.0_07]
> at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 10 more
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.repository.InvoiceRepository from [Module "deployment.sportsclub-ear.ear.sportsclub-invoicing-ejb.jar:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]
> ... 15 more
> 11:19:43,649 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-subscriptions-web.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-subscriptions-web.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment "sportsclub-subscriptions-web.war" of deployment "sportsclub-ear.ear"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> 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: JBAS018757: Error getting reflective information for class org.jboss.snowdrop.samples.sportsclub.jsf.beans.AccountCreate with ClassLoader ModuleClassLoader for Module "deployment.sportsclub-ear.ear.sportsclub-subscriptions-web.war:main" from Service Module Loader
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:107)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:92)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 5 more
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/entity/Person;
> at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_07]
> at java.lang.Class.privateGetDeclaredFields(Class.java:2308) [rt.jar:1.7.0_07]
> at java.lang.Class.getDeclaredFields(Class.java:1760) [rt.jar:1.7.0_07]
> at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 10 more
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.entity.Person from [Module "deployment.sportsclub-ear.ear.sportsclub-subscriptions-web.war:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]
> ... 15 more
> 11:19:43,881 ERROR [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015870: Deploy of deployment "sportsclub-ear.ear" was rolled back with the following failure message:
> {"JBAS014671: Failed services" => {
> "jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-subscriptions-web.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-subscriptions-web.war\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment \"sportsclub-subscriptions-web.war\" of deployment \"sportsclub-ear.ear\"
> Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class org.jboss.snowdrop.samples.sportsclub.jsf.beans.AccountCreate with ClassLoader ModuleClassLoader for Module \"deployment.sportsclub-ear.ear.sportsclub-subscriptions-web.war:main\" from Service Module Loader
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/entity/Person;
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.entity.Person from [Module \"deployment.sportsclub-ear.ear.sportsclub-subscriptions-web.war:main\" from Service Module Loader]",
> "jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-subscriptions-ejb.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-subscriptions-ejb.jar\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment \"sportsclub-subscriptions-ejb.jar\" of deployment \"sportsclub-ear.ear\"
> Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class org.jboss.snowdrop.samples.sportsclub.ejb.SubscriptionServiceImpl with ClassLoader ModuleClassLoader for Module \"deployment.sportsclub-ear.ear.sportsclub-subscriptions-ejb.jar:main\" from Service Module Loader
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/repository/AccountRepository;
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.repository.AccountRepository from [Module \"deployment.sportsclub-ear.ear.sportsclub-subscriptions-ejb.jar:main\" from Service Module Loader]",
> "jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-invoicing-ejb.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-invoicing-ejb.jar\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment \"sportsclub-invoicing-ejb.jar\" of deployment \"sportsclub-ear.ear\"
> Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class org.jboss.spring.samples.sportsclub.invoicing.services.BillingServiceImpl with ClassLoader ModuleClassLoader for Module \"deployment.sportsclub-ear.ear.sportsclub-invoicing-ejb.jar:main\" from Service Module Loader
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/repository/InvoiceRepository;
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.repository.InvoiceRepository from [Module \"deployment.sportsclub-ear.ear.sportsclub-invoicing-ejb.jar:main\" from Service Module Loader]"
> }}
> 11:19:43,900 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment null (runtime-name: sportsclub-subscriptions-ejb.jar) in 19ms
> 11:19:43,900 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment null (runtime-name: sportsclub-invoicing-ejb.jar) in 17ms
> 11:19:43,904 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment null (runtime-name: sportsclub-invoicing-webmvc.war) in 22ms
> 11:19:43,904 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment null (runtime-name: sportsclub-subscriptions-web.war) in 23ms
> 11:19:43,905 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment null (runtime-name: sportsclub-reservations-web.war) in 22ms
> 11:19:43,908 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment null (runtime-name: sportsclub-reservations-webflow.war) in 27ms
> 11:19:43,931 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015877: Stopped deployment sportsclub-ear.ear (runtime-name: sportsclub-ear.ear) in 50ms
> {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
10 years, 7 months
[JBoss JIRA] (JBIDE-17207) Run tests on all major OS
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17207?page=com.atlassian.jira.plugi... ]
Martin Malina commented on JBIDE-17207:
---------------------------------------
We don't run components UI tests in our Jenkins instance in Brno, no. But we do run some of our integration tests there on different platforms with more or less success. We might be able to help. [~akazakov], have you come across any specific issues when using different platforms in Boston Jenkins? Or you haven't tried it yet? In theory it should work.
But the Boston lab doesn't have too many Windows or Mac machines AFAIK. That's one of our requirements if we ever want to migrate our testing there.
> Run tests on all major OS
> -------------------------
>
> Key: JBIDE-17207
> URL: https://issues.jboss.org/browse/JBIDE-17207
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: qa
> Reporter: Alexey Kazakov
> Fix For: 4.2.0.Beta2, 4.2.0.CR1
>
>
> Currently, our jenkins server runs JBT jUnit tests on Linux only. It would be good if we also run the tests on Windows and Mac.
> For example, we recently ran base, jst and javaee tests on Windows and got more than a hundred failures. Some of them indicated real bugs (not just tests problems). See JBIDE-17200.
> We don't have to run them every day. Maybe once a week or month?
> cc: [~maxandersen], [~dgolovin], [~nickboldt], [~mickael_istria]
--
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
10 years, 7 months
[JBoss JIRA] (JBDS-3021) Snowdrop Sportsclub example can't be deployed via JBDS 8
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBDS-3021?page=com.atlassian.jira.plugin.... ]
Max Rydahl Andersen commented on JBDS-3021:
-------------------------------------------
Have you compared the generated ear/war and spot what the differences are ?
> Snowdrop Sportsclub example can't be deployed via JBDS 8
> --------------------------------------------------------
>
> Key: JBDS-3021
> URL: https://issues.jboss.org/browse/JBDS-3021
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 8.0.0.Beta1
> Reporter: Tomas Repel
>
> Snowdrop Sportsclub example is not deployed via JBDS 8 on EAP 6 properly.
> * Import Snowdrop Sportsclub example into JBDS 8 with configured EAP 6.2 in Servers tab
> * The right click on sportsclub-jpa-ear in Project Explorer view
> * Run As -> Run on Server
> The application starts deploying but it fails.
> The same steps using JBDS 7.1.1.GA lead to correct deployment.
> Tested with Sportsclub Spring 4.0 variant, both the distributed in WFK 2.5.0.GA and the upstream (https://github.com/snowdrop/snowdrop-examples/tree/master/sportsclub/spri...), JBDS 8.0.0.Beta1 and EAP 6.2.1.CP.CR4
> Stacktrace:
> {code}
> 11:19:22,782 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015003: Found sportsclub-ear.ear in deployment directory. To trigger deployment create a file called sportsclub-ear.ear.dodeploy
> 11:19:42,814 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "sportsclub-ear.ear" (runtime-name: "sportsclub-ear.ear")
> 11:19:42,947 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-reservations-webflow.war")
> 11:19:42,947 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-subscriptions-ejb.jar")
> 11:19:42,947 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-subscriptions-web.war")
> 11:19:42,948 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-invoicing-ejb.jar")
> 11:19:42,948 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-reservations-web.war")
> 11:19:42,947 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-invoicing-webmvc.war")
> 11:19:43,519 WARN [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.sportsclub-ear.ear" is using a private module ("org.javassist:main") which may be changed or removed in future versions without notice.
> 11:19:43,520 WARN [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.sportsclub-ear.ear" is using a private module ("org.javassist:main") which may be changed or removed in future versions without notice.
> 11:19:43,569 WARN [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.sportsclub-ear.ear.sportsclub-invoicing-webmvc.war" is using a private module ("org.hornetq.ra:main") which may be changed or removed in future versions without notice.
> 11:19:43,570 WARN [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.sportsclub-ear.ear.sportsclub-invoicing-webmvc.war" is using a private module ("org.hornetq.ra:main") which may be changed or removed in future versions without notice.
> 11:19:43,570 WARN [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.sportsclub-ear.ear.sportsclub-invoicing-webmvc.war" is using a private module ("org.jboss.as.naming:main") which may be changed or removed in future versions without notice.
> 11:19:43,591 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-subscriptions-ejb.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-subscriptions-ejb.jar".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment "sportsclub-subscriptions-ejb.jar" of deployment "sportsclub-ear.ear"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> 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: JBAS018757: Error getting reflective information for class org.jboss.snowdrop.samples.sportsclub.ejb.SubscriptionServiceImpl with ClassLoader ModuleClassLoader for Module "deployment.sportsclub-ear.ear.sportsclub-subscriptions-ejb.jar:main" from Service Module Loader
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:107)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:92)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 5 more
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/repository/AccountRepository;
> at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_07]
> at java.lang.Class.privateGetDeclaredFields(Class.java:2308) [rt.jar:1.7.0_07]
> at java.lang.Class.getDeclaredFields(Class.java:1760) [rt.jar:1.7.0_07]
> at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 10 more
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.repository.AccountRepository from [Module "deployment.sportsclub-ear.ear.sportsclub-subscriptions-ejb.jar:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]
> ... 15 more
> 11:19:43,598 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-invoicing-ejb.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-invoicing-ejb.jar".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment "sportsclub-invoicing-ejb.jar" of deployment "sportsclub-ear.ear"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> 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: JBAS018757: Error getting reflective information for class org.jboss.spring.samples.sportsclub.invoicing.services.BillingServiceImpl with ClassLoader ModuleClassLoader for Module "deployment.sportsclub-ear.ear.sportsclub-invoicing-ejb.jar:main" from Service Module Loader
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:107)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:92)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 5 more
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/repository/InvoiceRepository;
> at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_07]
> at java.lang.Class.privateGetDeclaredFields(Class.java:2308) [rt.jar:1.7.0_07]
> at java.lang.Class.getDeclaredFields(Class.java:1760) [rt.jar:1.7.0_07]
> at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 10 more
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.repository.InvoiceRepository from [Module "deployment.sportsclub-ear.ear.sportsclub-invoicing-ejb.jar:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]
> ... 15 more
> 11:19:43,649 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-subscriptions-web.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-subscriptions-web.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment "sportsclub-subscriptions-web.war" of deployment "sportsclub-ear.ear"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> 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: JBAS018757: Error getting reflective information for class org.jboss.snowdrop.samples.sportsclub.jsf.beans.AccountCreate with ClassLoader ModuleClassLoader for Module "deployment.sportsclub-ear.ear.sportsclub-subscriptions-web.war:main" from Service Module Loader
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:107)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:92)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 5 more
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/entity/Person;
> at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_07]
> at java.lang.Class.privateGetDeclaredFields(Class.java:2308) [rt.jar:1.7.0_07]
> at java.lang.Class.getDeclaredFields(Class.java:1760) [rt.jar:1.7.0_07]
> at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 10 more
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.entity.Person from [Module "deployment.sportsclub-ear.ear.sportsclub-subscriptions-web.war:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]
> ... 15 more
> 11:19:43,881 ERROR [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015870: Deploy of deployment "sportsclub-ear.ear" was rolled back with the following failure message:
> {"JBAS014671: Failed services" => {
> "jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-subscriptions-web.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-subscriptions-web.war\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment \"sportsclub-subscriptions-web.war\" of deployment \"sportsclub-ear.ear\"
> Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class org.jboss.snowdrop.samples.sportsclub.jsf.beans.AccountCreate with ClassLoader ModuleClassLoader for Module \"deployment.sportsclub-ear.ear.sportsclub-subscriptions-web.war:main\" from Service Module Loader
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/entity/Person;
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.entity.Person from [Module \"deployment.sportsclub-ear.ear.sportsclub-subscriptions-web.war:main\" from Service Module Loader]",
> "jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-subscriptions-ejb.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-subscriptions-ejb.jar\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment \"sportsclub-subscriptions-ejb.jar\" of deployment \"sportsclub-ear.ear\"
> Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class org.jboss.snowdrop.samples.sportsclub.ejb.SubscriptionServiceImpl with ClassLoader ModuleClassLoader for Module \"deployment.sportsclub-ear.ear.sportsclub-subscriptions-ejb.jar:main\" from Service Module Loader
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/repository/AccountRepository;
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.repository.AccountRepository from [Module \"deployment.sportsclub-ear.ear.sportsclub-subscriptions-ejb.jar:main\" from Service Module Loader]",
> "jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-invoicing-ejb.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-invoicing-ejb.jar\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment \"sportsclub-invoicing-ejb.jar\" of deployment \"sportsclub-ear.ear\"
> Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class org.jboss.spring.samples.sportsclub.invoicing.services.BillingServiceImpl with ClassLoader ModuleClassLoader for Module \"deployment.sportsclub-ear.ear.sportsclub-invoicing-ejb.jar:main\" from Service Module Loader
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/repository/InvoiceRepository;
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.repository.InvoiceRepository from [Module \"deployment.sportsclub-ear.ear.sportsclub-invoicing-ejb.jar:main\" from Service Module Loader]"
> }}
> 11:19:43,900 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment null (runtime-name: sportsclub-subscriptions-ejb.jar) in 19ms
> 11:19:43,900 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment null (runtime-name: sportsclub-invoicing-ejb.jar) in 17ms
> 11:19:43,904 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment null (runtime-name: sportsclub-invoicing-webmvc.war) in 22ms
> 11:19:43,904 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment null (runtime-name: sportsclub-subscriptions-web.war) in 23ms
> 11:19:43,905 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment null (runtime-name: sportsclub-reservations-web.war) in 22ms
> 11:19:43,908 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment null (runtime-name: sportsclub-reservations-webflow.war) in 27ms
> 11:19:43,931 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015877: Stopped deployment sportsclub-ear.ear (runtime-name: sportsclub-ear.ear) in 50ms
> {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
10 years, 7 months
[JBoss JIRA] (JBDS-3021) Snowdrop Sportsclub example can't be deployed via JBDS 8
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBDS-3021?page=com.atlassian.jira.plugin.... ]
Max Rydahl Andersen updated JBDS-3021:
--------------------------------------
Assignee: Fred Bricon
> Snowdrop Sportsclub example can't be deployed via JBDS 8
> --------------------------------------------------------
>
> Key: JBDS-3021
> URL: https://issues.jboss.org/browse/JBDS-3021
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 8.0.0.Beta1
> Reporter: Tomas Repel
> Assignee: Fred Bricon
>
> Snowdrop Sportsclub example is not deployed via JBDS 8 on EAP 6 properly.
> * Import Snowdrop Sportsclub example into JBDS 8 with configured EAP 6.2 in Servers tab
> * The right click on sportsclub-jpa-ear in Project Explorer view
> * Run As -> Run on Server
> The application starts deploying but it fails.
> The same steps using JBDS 7.1.1.GA lead to correct deployment.
> Tested with Sportsclub Spring 4.0 variant, both the distributed in WFK 2.5.0.GA and the upstream (https://github.com/snowdrop/snowdrop-examples/tree/master/sportsclub/spri...), JBDS 8.0.0.Beta1 and EAP 6.2.1.CP.CR4
> Stacktrace:
> {code}
> 11:19:22,782 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015003: Found sportsclub-ear.ear in deployment directory. To trigger deployment create a file called sportsclub-ear.ear.dodeploy
> 11:19:42,814 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "sportsclub-ear.ear" (runtime-name: "sportsclub-ear.ear")
> 11:19:42,947 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-reservations-webflow.war")
> 11:19:42,947 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-subscriptions-ejb.jar")
> 11:19:42,947 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-subscriptions-web.war")
> 11:19:42,948 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-invoicing-ejb.jar")
> 11:19:42,948 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-reservations-web.war")
> 11:19:42,947 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-invoicing-webmvc.war")
> 11:19:43,519 WARN [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.sportsclub-ear.ear" is using a private module ("org.javassist:main") which may be changed or removed in future versions without notice.
> 11:19:43,520 WARN [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.sportsclub-ear.ear" is using a private module ("org.javassist:main") which may be changed or removed in future versions without notice.
> 11:19:43,569 WARN [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.sportsclub-ear.ear.sportsclub-invoicing-webmvc.war" is using a private module ("org.hornetq.ra:main") which may be changed or removed in future versions without notice.
> 11:19:43,570 WARN [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.sportsclub-ear.ear.sportsclub-invoicing-webmvc.war" is using a private module ("org.hornetq.ra:main") which may be changed or removed in future versions without notice.
> 11:19:43,570 WARN [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.sportsclub-ear.ear.sportsclub-invoicing-webmvc.war" is using a private module ("org.jboss.as.naming:main") which may be changed or removed in future versions without notice.
> 11:19:43,591 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-subscriptions-ejb.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-subscriptions-ejb.jar".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment "sportsclub-subscriptions-ejb.jar" of deployment "sportsclub-ear.ear"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> 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: JBAS018757: Error getting reflective information for class org.jboss.snowdrop.samples.sportsclub.ejb.SubscriptionServiceImpl with ClassLoader ModuleClassLoader for Module "deployment.sportsclub-ear.ear.sportsclub-subscriptions-ejb.jar:main" from Service Module Loader
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:107)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:92)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 5 more
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/repository/AccountRepository;
> at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_07]
> at java.lang.Class.privateGetDeclaredFields(Class.java:2308) [rt.jar:1.7.0_07]
> at java.lang.Class.getDeclaredFields(Class.java:1760) [rt.jar:1.7.0_07]
> at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 10 more
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.repository.AccountRepository from [Module "deployment.sportsclub-ear.ear.sportsclub-subscriptions-ejb.jar:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]
> ... 15 more
> 11:19:43,598 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-invoicing-ejb.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-invoicing-ejb.jar".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment "sportsclub-invoicing-ejb.jar" of deployment "sportsclub-ear.ear"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> 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: JBAS018757: Error getting reflective information for class org.jboss.spring.samples.sportsclub.invoicing.services.BillingServiceImpl with ClassLoader ModuleClassLoader for Module "deployment.sportsclub-ear.ear.sportsclub-invoicing-ejb.jar:main" from Service Module Loader
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:107)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:92)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 5 more
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/repository/InvoiceRepository;
> at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_07]
> at java.lang.Class.privateGetDeclaredFields(Class.java:2308) [rt.jar:1.7.0_07]
> at java.lang.Class.getDeclaredFields(Class.java:1760) [rt.jar:1.7.0_07]
> at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 10 more
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.repository.InvoiceRepository from [Module "deployment.sportsclub-ear.ear.sportsclub-invoicing-ejb.jar:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]
> ... 15 more
> 11:19:43,649 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-subscriptions-web.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-subscriptions-web.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment "sportsclub-subscriptions-web.war" of deployment "sportsclub-ear.ear"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> 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: JBAS018757: Error getting reflective information for class org.jboss.snowdrop.samples.sportsclub.jsf.beans.AccountCreate with ClassLoader ModuleClassLoader for Module "deployment.sportsclub-ear.ear.sportsclub-subscriptions-web.war:main" from Service Module Loader
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:107)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:92)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 5 more
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/entity/Person;
> at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_07]
> at java.lang.Class.privateGetDeclaredFields(Class.java:2308) [rt.jar:1.7.0_07]
> at java.lang.Class.getDeclaredFields(Class.java:1760) [rt.jar:1.7.0_07]
> at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 10 more
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.entity.Person from [Module "deployment.sportsclub-ear.ear.sportsclub-subscriptions-web.war:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]
> ... 15 more
> 11:19:43,881 ERROR [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015870: Deploy of deployment "sportsclub-ear.ear" was rolled back with the following failure message:
> {"JBAS014671: Failed services" => {
> "jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-subscriptions-web.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-subscriptions-web.war\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment \"sportsclub-subscriptions-web.war\" of deployment \"sportsclub-ear.ear\"
> Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class org.jboss.snowdrop.samples.sportsclub.jsf.beans.AccountCreate with ClassLoader ModuleClassLoader for Module \"deployment.sportsclub-ear.ear.sportsclub-subscriptions-web.war:main\" from Service Module Loader
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/entity/Person;
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.entity.Person from [Module \"deployment.sportsclub-ear.ear.sportsclub-subscriptions-web.war:main\" from Service Module Loader]",
> "jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-subscriptions-ejb.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-subscriptions-ejb.jar\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment \"sportsclub-subscriptions-ejb.jar\" of deployment \"sportsclub-ear.ear\"
> Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class org.jboss.snowdrop.samples.sportsclub.ejb.SubscriptionServiceImpl with ClassLoader ModuleClassLoader for Module \"deployment.sportsclub-ear.ear.sportsclub-subscriptions-ejb.jar:main\" from Service Module Loader
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/repository/AccountRepository;
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.repository.AccountRepository from [Module \"deployment.sportsclub-ear.ear.sportsclub-subscriptions-ejb.jar:main\" from Service Module Loader]",
> "jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-invoicing-ejb.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-invoicing-ejb.jar\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment \"sportsclub-invoicing-ejb.jar\" of deployment \"sportsclub-ear.ear\"
> Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class org.jboss.spring.samples.sportsclub.invoicing.services.BillingServiceImpl with ClassLoader ModuleClassLoader for Module \"deployment.sportsclub-ear.ear.sportsclub-invoicing-ejb.jar:main\" from Service Module Loader
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/repository/InvoiceRepository;
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.repository.InvoiceRepository from [Module \"deployment.sportsclub-ear.ear.sportsclub-invoicing-ejb.jar:main\" from Service Module Loader]"
> }}
> 11:19:43,900 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment null (runtime-name: sportsclub-subscriptions-ejb.jar) in 19ms
> 11:19:43,900 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment null (runtime-name: sportsclub-invoicing-ejb.jar) in 17ms
> 11:19:43,904 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment null (runtime-name: sportsclub-invoicing-webmvc.war) in 22ms
> 11:19:43,904 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment null (runtime-name: sportsclub-subscriptions-web.war) in 23ms
> 11:19:43,905 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment null (runtime-name: sportsclub-reservations-web.war) in 22ms
> 11:19:43,908 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment null (runtime-name: sportsclub-reservations-webflow.war) in 27ms
> 11:19:43,931 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015877: Stopped deployment sportsclub-ear.ear (runtime-name: sportsclub-ear.ear) in 50ms
> {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
10 years, 7 months
[JBoss JIRA] (JBDS-3021) Snowdrop Sportsclub example can't be deployed via JBDS 8
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBDS-3021?page=com.atlassian.jira.plugin.... ]
Max Rydahl Andersen commented on JBDS-3021:
-------------------------------------------
assigning to Fred since most likely a mvn packaging issue.
> Snowdrop Sportsclub example can't be deployed via JBDS 8
> --------------------------------------------------------
>
> Key: JBDS-3021
> URL: https://issues.jboss.org/browse/JBDS-3021
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 8.0.0.Beta1
> Reporter: Tomas Repel
> Assignee: Fred Bricon
>
> Snowdrop Sportsclub example is not deployed via JBDS 8 on EAP 6 properly.
> * Import Snowdrop Sportsclub example into JBDS 8 with configured EAP 6.2 in Servers tab
> * The right click on sportsclub-jpa-ear in Project Explorer view
> * Run As -> Run on Server
> The application starts deploying but it fails.
> The same steps using JBDS 7.1.1.GA lead to correct deployment.
> Tested with Sportsclub Spring 4.0 variant, both the distributed in WFK 2.5.0.GA and the upstream (https://github.com/snowdrop/snowdrop-examples/tree/master/sportsclub/spri...), JBDS 8.0.0.Beta1 and EAP 6.2.1.CP.CR4
> Stacktrace:
> {code}
> 11:19:22,782 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015003: Found sportsclub-ear.ear in deployment directory. To trigger deployment create a file called sportsclub-ear.ear.dodeploy
> 11:19:42,814 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "sportsclub-ear.ear" (runtime-name: "sportsclub-ear.ear")
> 11:19:42,947 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-reservations-webflow.war")
> 11:19:42,947 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-subscriptions-ejb.jar")
> 11:19:42,947 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-subscriptions-web.war")
> 11:19:42,948 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-invoicing-ejb.jar")
> 11:19:42,948 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-reservations-web.war")
> 11:19:42,947 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "null" (runtime-name: "sportsclub-invoicing-webmvc.war")
> 11:19:43,519 WARN [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.sportsclub-ear.ear" is using a private module ("org.javassist:main") which may be changed or removed in future versions without notice.
> 11:19:43,520 WARN [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.sportsclub-ear.ear" is using a private module ("org.javassist:main") which may be changed or removed in future versions without notice.
> 11:19:43,569 WARN [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.sportsclub-ear.ear.sportsclub-invoicing-webmvc.war" is using a private module ("org.hornetq.ra:main") which may be changed or removed in future versions without notice.
> 11:19:43,570 WARN [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.sportsclub-ear.ear.sportsclub-invoicing-webmvc.war" is using a private module ("org.hornetq.ra:main") which may be changed or removed in future versions without notice.
> 11:19:43,570 WARN [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.sportsclub-ear.ear.sportsclub-invoicing-webmvc.war" is using a private module ("org.jboss.as.naming:main") which may be changed or removed in future versions without notice.
> 11:19:43,591 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-subscriptions-ejb.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-subscriptions-ejb.jar".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment "sportsclub-subscriptions-ejb.jar" of deployment "sportsclub-ear.ear"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> 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: JBAS018757: Error getting reflective information for class org.jboss.snowdrop.samples.sportsclub.ejb.SubscriptionServiceImpl with ClassLoader ModuleClassLoader for Module "deployment.sportsclub-ear.ear.sportsclub-subscriptions-ejb.jar:main" from Service Module Loader
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:107)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:92)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 5 more
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/repository/AccountRepository;
> at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_07]
> at java.lang.Class.privateGetDeclaredFields(Class.java:2308) [rt.jar:1.7.0_07]
> at java.lang.Class.getDeclaredFields(Class.java:1760) [rt.jar:1.7.0_07]
> at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 10 more
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.repository.AccountRepository from [Module "deployment.sportsclub-ear.ear.sportsclub-subscriptions-ejb.jar:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]
> ... 15 more
> 11:19:43,598 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-invoicing-ejb.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-invoicing-ejb.jar".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment "sportsclub-invoicing-ejb.jar" of deployment "sportsclub-ear.ear"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> 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: JBAS018757: Error getting reflective information for class org.jboss.spring.samples.sportsclub.invoicing.services.BillingServiceImpl with ClassLoader ModuleClassLoader for Module "deployment.sportsclub-ear.ear.sportsclub-invoicing-ejb.jar:main" from Service Module Loader
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:107)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:92)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 5 more
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/repository/InvoiceRepository;
> at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_07]
> at java.lang.Class.privateGetDeclaredFields(Class.java:2308) [rt.jar:1.7.0_07]
> at java.lang.Class.getDeclaredFields(Class.java:1760) [rt.jar:1.7.0_07]
> at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 10 more
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.repository.InvoiceRepository from [Module "deployment.sportsclub-ear.ear.sportsclub-invoicing-ejb.jar:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]
> ... 15 more
> 11:19:43,649 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-subscriptions-web.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."sportsclub-ear.ear"."sportsclub-subscriptions-web.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment "sportsclub-subscriptions-web.war" of deployment "sportsclub-ear.ear"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
> 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: JBAS018757: Error getting reflective information for class org.jboss.snowdrop.samples.sportsclub.jsf.beans.AccountCreate with ClassLoader ModuleClassLoader for Module "deployment.sportsclub-ear.ear.sportsclub-subscriptions-web.war:main" from Service Module Loader
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:107)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:92)
> at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 5 more
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/entity/Person;
> at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_07]
> at java.lang.Class.privateGetDeclaredFields(Class.java:2308) [rt.jar:1.7.0_07]
> at java.lang.Class.getDeclaredFields(Class.java:1760) [rt.jar:1.7.0_07]
> at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68) [jboss-as-server-7.3.1.Final-redhat-3.jar:7.3.1.Final-redhat-3]
> ... 10 more
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.entity.Person from [Module "deployment.sportsclub-ear.ear.sportsclub-subscriptions-web.war:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]
> ... 15 more
> 11:19:43,881 ERROR [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015870: Deploy of deployment "sportsclub-ear.ear" was rolled back with the following failure message:
> {"JBAS014671: Failed services" => {
> "jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-subscriptions-web.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-subscriptions-web.war\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment \"sportsclub-subscriptions-web.war\" of deployment \"sportsclub-ear.ear\"
> Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class org.jboss.snowdrop.samples.sportsclub.jsf.beans.AccountCreate with ClassLoader ModuleClassLoader for Module \"deployment.sportsclub-ear.ear.sportsclub-subscriptions-web.war:main\" from Service Module Loader
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/entity/Person;
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.entity.Person from [Module \"deployment.sportsclub-ear.ear.sportsclub-subscriptions-web.war:main\" from Service Module Loader]",
> "jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-subscriptions-ejb.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-subscriptions-ejb.jar\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment \"sportsclub-subscriptions-ejb.jar\" of deployment \"sportsclub-ear.ear\"
> Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class org.jboss.snowdrop.samples.sportsclub.ejb.SubscriptionServiceImpl with ClassLoader ModuleClassLoader for Module \"deployment.sportsclub-ear.ear.sportsclub-subscriptions-ejb.jar:main\" from Service Module Loader
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/repository/AccountRepository;
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.repository.AccountRepository from [Module \"deployment.sportsclub-ear.ear.sportsclub-subscriptions-ejb.jar:main\" from Service Module Loader]",
> "jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-invoicing-ejb.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"sportsclub-ear.ear\".\"sportsclub-invoicing-ejb.jar\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment \"sportsclub-invoicing-ejb.jar\" of deployment \"sportsclub-ear.ear\"
> Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class org.jboss.spring.samples.sportsclub.invoicing.services.BillingServiceImpl with ClassLoader ModuleClassLoader for Module \"deployment.sportsclub-ear.ear.sportsclub-invoicing-ejb.jar:main\" from Service Module Loader
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/snowdrop/samples/sportsclub/domain/repository/InvoiceRepository;
> Caused by: java.lang.ClassNotFoundException: org.jboss.snowdrop.samples.sportsclub.domain.repository.InvoiceRepository from [Module \"deployment.sportsclub-ear.ear.sportsclub-invoicing-ejb.jar:main\" from Service Module Loader]"
> }}
> 11:19:43,900 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment null (runtime-name: sportsclub-subscriptions-ejb.jar) in 19ms
> 11:19:43,900 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment null (runtime-name: sportsclub-invoicing-ejb.jar) in 17ms
> 11:19:43,904 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment null (runtime-name: sportsclub-invoicing-webmvc.war) in 22ms
> 11:19:43,904 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment null (runtime-name: sportsclub-subscriptions-web.war) in 23ms
> 11:19:43,905 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment null (runtime-name: sportsclub-reservations-web.war) in 22ms
> 11:19:43,908 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment null (runtime-name: sportsclub-reservations-webflow.war) in 27ms
> 11:19:43,931 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015877: Stopped deployment sportsclub-ear.ear (runtime-name: sportsclub-ear.ear) in 50ms
> {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
10 years, 7 months
[JBoss JIRA] (JBIDE-16971) update installAndDisplayCompositeSiteContent.sh to use p2director -list instead of hardcoded feature list
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16971?page=com.atlassian.jira.plugi... ]
Nick Boldt resolved JBIDE-16971.
--------------------------------
Fix Version/s: 4.2.0.Beta2
Resolution: Done
This is working and has exposed a new problem, which I've now fixed by removing openshift-java-client 2.3 from the JBT staging composite site:
https://github.com/jbosstools/jbosstools-download.jboss.org/commit/18db90...
The problem was that we've never tried to install EVERYTHING in the composite, only a specific list of features which are included in the JBT Aggregate site's "Abridged JBT" category.
So, we never noticed that openshift-java-client 2.3 and jbosstools-openshift 2.6 can't be co-installed due to conflicting version deps.
Anyway, having removed the old stuff, the install now works:
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-composite... >= 8476
> update installAndDisplayCompositeSiteContent.sh to use p2director -list instead of hardcoded feature list
> ---------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-16971
> URL: https://issues.jboss.org/browse/JBIDE-16971
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: build
> Affects Versions: 4.2.0.Beta1
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 4.2.0.Beta2
>
>
> Currently, installAndDisplayCompositeSiteContent.sh requires a hardcoded list of features, which means it breaks if a feature is removed (eg., o.j.t.gwt.feature).
> Instead we should use the new functionality in directory.xml to fetch the complete list of features/plugins and install everything.
> See https://github.com/jbosstools/jbosstools-build-ci/blob/master/util/instal...
> Note too that https://github.com/jbosstools/jbosstools-build-ci/blob/master/util/instal... needs its doc updated on line 3
--
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
10 years, 7 months
[JBoss JIRA] (JBIDE-17218) [compilation]fix openshift build
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17218?page=com.atlassian.jira.plugi... ]
Rob Stryker resolved JBIDE-17218.
---------------------------------
Fix Version/s: 4.2.0.Beta2
Resolution: Done
It now builds locally for me, using the following process:
1) cd jbosstools-server
2) mvn clean install -DskipTests
3) cd ../jbosstools-openshift
4) mvn clean verify -DskipTests
So, seems its fixed. I'll try to remember to build openshift next time I make any such changes for breakages.
> [compilation]fix openshift build
> --------------------------------
>
> Key: JBIDE-17218
> URL: https://issues.jboss.org/browse/JBIDE-17218
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: openshift, server
> Affects Versions: 4.2.0.Beta1
> Reporter: Denis Golovin
> Assignee: Rob Stryker
> Priority: Blocker
> Fix For: 4.2.0.Beta2
>
>
> openshif buiild is broken right now
> {code}[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.20.0:compile (default-compile) on project org.jboss.tools.openshift.express.ui: Compilation failure: Compilation failure:
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[53]
> [ERROR] import org.jboss.ide.eclipse.as.ui.editor.ServerWorkingCopyPropertyButtonCommand;
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] The import org.jboss.ide.eclipse.as.ui.editor.ServerWorkingCopyPropertyButtonCommand cannot be resolved
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[54]
> [ERROR] import org.jboss.ide.eclipse.as.ui.editor.ServerWorkingCopyPropertyComboCommand;
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] The import org.jboss.ide.eclipse.as.ui.editor.ServerWorkingCopyPropertyComboCommand cannot be resolved
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[55]
> [ERROR] import org.jboss.ide.eclipse.as.ui.editor.ServerWorkingCopyPropertyCommand;
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] The import org.jboss.ide.eclipse.as.ui.editor.ServerWorkingCopyPropertyCommand cannot be resolved
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[221]
> [ERROR] browseDestButton.setLayoutData(UIUtil.createFormData2(0, 5, 100, -5, null, 0, 100, 0));
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] Access restriction: The method createFormData2(Object, int, Object, int, Object, int, Object, int) from the type FormDataUtility is not accessible due to restriction on classpath entry /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-server/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/target/classes
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[223]
> [ERROR] deployFolderText.setLayoutData(UIUtil.createFormData2(0, 5, 100, -5, 0, 0, browseDestButton, -5));
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] Access restriction: The method createFormData2(Object, int, Object, int, Object, int, Object, int) from the type FormDataUtility is not accessible due to restriction on classpath entry /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-server/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/target/classes
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[240]
> [ERROR] ((ServerEditorPartInput) input).getServerCommandManager().execute(
> [ERROR] ^^^^^^^
> [ERROR] The method execute(IUndoableOperation) in the type ServerResourceCommandManager is not applicable for the arguments (OpenShiftServerEditorSection.SetProjectCommand)
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[247]
> [ERROR] ((ServerEditorPartInput) input).getServerCommandManager().execute(new SetOverrideCommand(server));
> [ERROR] ^^^^^^^
> [ERROR] The method execute(IUndoableOperation) in the type ServerResourceCommandManager is not applicable for the arguments (OpenShiftServerEditorSection.SetOverrideCommand)
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[254]
> [ERROR] ((ServerEditorPartInput) input).getServerCommandManager().execute(new SetRemoteCommand(server));
> [ERROR] ^^^^^^^
> [ERROR] The method execute(IUndoableOperation) in the type ServerResourceCommandManager is not applicable for the arguments (OpenShiftServerEditorSection.SetRemoteCommand)
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[260]
> [ERROR] ((ServerEditorPartInput) input).getServerCommandManager().execute(new SetDeployFolderCommand(server));
> [ERROR] ^^^^^^^
> [ERROR] The method execute(IUndoableOperation) in the type ServerResourceCommandManager is not applicable for the arguments (OpenShiftServerEditorSection.SetDeployFolderCommand)
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[303]
> [ERROR] public class SetRemoteCommand extends ServerWorkingCopyPropertyCommand {
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] ServerWorkingCopyPropertyCommand cannot be resolved to a type
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[311]
> [ERROR] public class SetProjectCommand extends ServerWorkingCopyPropertyComboCommand {
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] ServerWorkingCopyPropertyComboCommand cannot be resolved to a type
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[318]
> [ERROR] protected void postOp(int type) {
> [ERROR] ^^^^^^^^^^^^^^^^
> [ERROR] The method postOp(int) of type OpenShiftServerEditorSection.SetProjectCommand must override or implement a supertype method
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[323]
> [ERROR] public class SetDeployFolderCommand extends ServerWorkingCopyPropertyCommand {
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] ServerWorkingCopyPropertyCommand cannot be resolved to a type
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[331]
> [ERROR] public class SetOverrideCommand extends ServerWorkingCopyPropertyButtonCommand {
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] ServerWorkingCopyPropertyButtonCommand cannot be resolved to a type
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[339]
> [ERROR] protected void postOp(int type) {
> [ERROR] ^^^^^^^^^^^^^^^^
> [ERROR] The method postOp(int) of type OpenShiftServerEditorSection.SetOverrideCommand must override or implement a supertype method
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerWizardComposite.java:[273]
> [ERROR] browseDeployFolderButton.setLayoutData(UIUtil.createFormData2(0, 5, 100, -5, null, 0, 100, 0));
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] Access restriction: The method createFormData2(Object, int, Object, int, Object, int, Object, int) from the type FormDataUtility is not accessible due to restriction on classpath entry /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-server/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/target/classes
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerWizardComposite.java:[277]
> [ERROR] deployFolderText.setLayoutData(UIUtil.createFormData2(0, 5, 100, -5, 0, 0, browseDeployFolderButton, -5));
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] Access restriction: The method createFormData2(Object, int, Object, int, Object, int, Object, int) from the type FormDataUtility is not accessible due to restriction on classpath entry /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-server/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/target/classes
> [ERROR] 17 problems (17 errors)
> {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
10 years, 7 months