[JBoss JIRA] (JBDS-3021) Snowdrop Sportsclub example can't be deployed via JBDS 8
by Tomas Repel (JIRA)
Tomas Repel created JBDS-3021:
---------------------------------
Summary: 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] (JBIDE-17218) [compilation]fix openshift build
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17218?page=com.atlassian.jira.plugi... ]
Rob Stryker commented on JBIDE-17218:
-------------------------------------
Replaced missing classes, have as.ui re-export packages of superclasses now to ensure no access restriction. Let me know if it builds now.
> [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
>
> 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
[JBoss JIRA] (JBIDE-15897) Make all relevant OpenShift Explorer actions available from Server Adapter
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15897?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-15897:
-------------------------------------
Labels: server_adapter (was: )
> Make all relevant OpenShift Explorer actions available from Server Adapter
> --------------------------------------------------------------------------
>
> Key: JBIDE-15897
> URL: https://issues.jboss.org/browse/JBIDE-15897
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Reporter: Max Rydahl Andersen
> Labels: server_adapter
> Fix For: 4.2.0.Beta2
>
> Attachments: explorer-context-menu.png, explorer-context-menu.png, server-adapter-context-menu.png, server-adapter-context-menu.png
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> JBIDE-11841 was done earlier but only added the missing actions - when new actions are added we tend to forget to add them.
> Explorer:
> !explorer-context-menu.png!
> Server adapter:
> !server-adapter-context-menu.png!
> We should make it so these actions (when relevant) gets added to both places (openshift explorer / server adapter) and optimally also available in an OpenShift context menu on a project.
> Meaning you don't have to navigate to explorer view constantly.
--
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-15897) Server Adapter Context Menu: make all relevant OpenShift Explorer actions available from Server Adapter
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15897?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-15897:
-------------------------------------
Summary: Server Adapter Context Menu: make all relevant OpenShift Explorer actions available from Server Adapter (was: Make all relevant OpenShift Explorer actions available from Server Adapter)
> Server Adapter Context Menu: make all relevant OpenShift Explorer actions available from Server Adapter
> -------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-15897
> URL: https://issues.jboss.org/browse/JBIDE-15897
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Reporter: Max Rydahl Andersen
> Labels: server_adapter
> Fix For: 4.2.0.Beta2
>
> Attachments: explorer-context-menu.png, explorer-context-menu.png, server-adapter-context-menu.png, server-adapter-context-menu.png
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> JBIDE-11841 was done earlier but only added the missing actions - when new actions are added we tend to forget to add them.
> Explorer:
> !explorer-context-menu.png!
> Server adapter:
> !server-adapter-context-menu.png!
> We should make it so these actions (when relevant) gets added to both places (openshift explorer / server adapter) and optimally also available in an OpenShift context menu on a project.
> Meaning you don't have to navigate to explorer view constantly.
--
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-16885) Embed wizard: Can provide "Code Anything" without url, should not be able to
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16885?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-16885:
-------------------------------------
Original Estimate: 2 days
Remaining Estimate: 2 days
> Embed wizard: Can provide "Code Anything" without url, should not be able to
> ----------------------------------------------------------------------------
>
> Key: JBIDE-16885
> URL: https://issues.jboss.org/browse/JBIDE-16885
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.2.0.Beta1
> Reporter: Marián Labuda
> Assignee: Andre Dietisheim
> Labels: embed_wizard
> Fix For: 4.2.0.Beta2
>
> Attachments: wrong_button_accessibility.png, wrong_button_accessibility.png, wrong_button_accessibility2.png, wrong_button_accessibility2.png
>
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
> In the wizard to edit the embeddable cartridges there is "Code Anything" cartridge which requires URL of cartridge. If user just selects and does not check this cartridge, it is not possible to hit the OK button (see attached screen wrong_button_accessibility).
> Also if user check this cartridge but select another one without providing URL to the Code anything cartridge, it is possible to hit the OK button (it should not be - see attached screenshot wrong_button_accessibility2.)
--
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-15897) Make all relevant OpenShift Explorer actions available from Server Adapter
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15897?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-15897:
-------------------------------------
Original Estimate: 1 day
Remaining Estimate: 1 day
> Make all relevant OpenShift Explorer actions available from Server Adapter
> --------------------------------------------------------------------------
>
> Key: JBIDE-15897
> URL: https://issues.jboss.org/browse/JBIDE-15897
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Reporter: Max Rydahl Andersen
> Fix For: 4.2.0.Beta2
>
> Attachments: explorer-context-menu.png, explorer-context-menu.png, server-adapter-context-menu.png, server-adapter-context-menu.png
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> JBIDE-11841 was done earlier but only added the missing actions - when new actions are added we tend to forget to add them.
> Explorer:
> !explorer-context-menu.png!
> Server adapter:
> !server-adapter-context-menu.png!
> We should make it so these actions (when relevant) gets added to both places (openshift explorer / server adapter) and optimally also available in an OpenShift context menu on a project.
> Meaning you don't have to navigate to explorer view constantly.
--
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