Bug 1001535
Summary: | JarClassLoader warning are displayed after starting s-ramp cli | ||
---|---|---|---|
Product: | [JBoss] JBoss Fuse Service Works 6 | Reporter: | Stefan Bunciak <sbunciak> |
Component: | DT Governance | Assignee: | Stefan Bunciak <sbunciak> |
Status: | MODIFIED --- | QA Contact: | Matej Melko <mmelko> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.0 | CC: | eric.wittmann, ldimaggi, soa-p-jira |
Target Milestone: | ER3 | ||
Target Release: | FUTURE | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
If you launch the S-RAMP command line interface via s-ramp.sh, you will see a JarClassLoader warning. This is because both commons-beanutils and commons-collections are included in the JAR file for the command line interface and the commons-beanutils library includes the FastHashMap class causing a classname conflict. This warning has no impact on product operation for users and can be ignored.
|
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: | |
Embargoed: |
Description
Stefan Bunciak
2013-08-27 08:59:02 UTC
The issue here is that commons-beanutils *and* commons-collections are both included in the CLI JAR. This is problematic because commons-beanutils (for some reason) includes the FastHashMap class (with the same package name!). It's a naughty Apache project... This seems like a productization problem (I think) because the s-ramp community CLI build doesn't include commons-beanutils.jar *or* commons-collections.jar! See output below: [ewittman@condor 1001535]$ ls s-ramp-shell-0.3.0.Final.jar s-ramp-shell-0.3.0.Final-redhat-1.jar [ewittman@condor 1001535]$ unzip -l s-ramp-shell-0.3.0.Final.jar | grep commons 354491 07-17-2013 08:33 lib/commons-configuration-1.8.jar 284220 07-17-2013 08:33 lib/commons-lang-2.6.jar 60686 07-17-2013 08:33 lib/commons-logging-1.1.1.jar 241367 07-17-2013 08:33 lib/commons-compress-1.4.1.jar 58160 07-17-2013 08:33 lib/commons-codec-1.4.jar 185140 07-17-2013 08:33 lib/commons-io-2.4.jar [ewittman@condor 1001535]$ unzip -l s-ramp-shell-0.3.0.Final-redhat-1.jar | grep commons 314120 08-02-2013 10:17 lib/commons-configuration-1.6-redhat-2.jar 600258 08-02-2013 10:17 lib/commons-collections-3.2.1-redhat-2.jar 287477 08-02-2013 10:17 lib/commons-lang-2.6-redhat-2.jar 233203 08-02-2013 10:17 lib/commons-beanutils-1.8.3-redhat-2.jar 271729 08-02-2013 10:17 lib/commons-compress-1.5-redhat-1.jar 22183 08-02-2013 10:17 lib/istack-commons-runtime-2.6.1-redhat-2.jar 65085 08-02-2013 10:17 lib/commons-codec-1.4-redhat-2.jar 175256 08-02-2013 10:17 lib/commons-io-2.1-redhat-2.jar *** Bug 1018268 has been marked as a duplicate of this bug. *** Good news - I think the change to using the platform BOM may have taken care of this bug. It needs to be re-tested with ER7. |