Bug 1012734

Summary: ordermgmt/app demo does not work
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Jiri Pechanec <jpechane>
Component: ExamplesAssignee: Nick Cross <ncross>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Sedlacek <jsedlace>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: atangrin, oskutka, soa-p-jira
Target Milestone: ER4   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jiri Pechanec 2013-09-27 04:16:16 UTC
The ordermgmt/app cannot be executed. The are at least two issues
1) The pom files disable tests. OrderClient is in test directory so when a user runs mvn exec:java then he gets CNFE
2) If manually overriden and tests are built then there are missing dependencies as there is another CNFE

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
        at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.NoClassDefFoundError: org/switchyard/component/test/mixins/http/HTTPMixIn
        at org.overlord.rtgov.quickstarts.demos.orders.OrdersClient.main(OrdersClient.java:51)
        ... 6 more
Caused by: java.lang.ClassNotFoundException: org.switchyard.component.test.mixins.http.HTTPMixIn
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 7 more

Comment 1 Jiri Pechanec 2013-09-27 05:03:59 UTC
This issue blocks almost all RTGov QS

Comment 2 Gary Brown 2013-09-27 08:40:36 UTC
The test client runs as expected in the rtgov product branch. So I believe this is as a result of the productisation changes - possibly tests are normally disabled by default, and therefore the supporting switchyard test classes were not included in the list of dependencies.

Reassigning to prod team.

Comment 3 Nick Cross 2013-09-30 16:45:09 UTC
Should be fixed in the next ER4. Tests are no longer disabled

Comment 6 Jiri Pechanec 2013-10-08 07:45:21 UTC
Verified in ER4 04-Oct-2013 04:44