Bug 778755 (SOA-1210) - Duplicated classes inside jars.
Summary: Duplicated classes inside jars.
Keywords:
Status: CLOSED WONTFIX
Alias: SOA-1210
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: EAP
Version: 4.3 CP01
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.3 CP02
Assignee: nwallace
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-06 08:19 UTC by Pavel Macik
Modified: 2009-08-28 07:22 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
SOA platform 4.3.0 CP01 CR3
Last Closed: 2009-08-28 07:22:49 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBPAPP-1751 0 None None None Never
Red Hat Issue Tracker SOA-1210 0 None None None Never

Description Pavel Macik 2009-03-06 08:19:14 UTC
Date of First Response: 2009-03-06 10:30:58
project_key: SOA

There are following classes present in jars twice:

jbossorg-eula.txt
jbossorg-eula.txt
org/jboss/tm/JBossXATerminator.class
org/jboss/tm/LastResource.class
org/jboss/tm/TransactionDemarcationSupport.class
org/jboss/tm/TransactionLocal.class
org/jboss/tm/TransactionLocalDelegate.class
org/jboss/tm/TransactionLocalDelegateImpl$TransactionLocalSynchronization.class
org/jboss/tm/TransactionLocalDelegateImpl.class
org/jboss/tm/TransactionManagerFactory.class
org/jboss/tm/TransactionManagerLocator.class
org/jboss/tm/TransactionPropagationContextFactory.class
org/jboss/tm/TransactionPropagationContextImporter.class
org/jboss/tm/TransactionPropagationContextUtil.class
org/jboss/tm/TransactionTimeoutConfiguration.class
org/jboss/tm/TxUtils.class
org/jboss/tm/XAExceptionFormatter.class
org/jboss/tm/usertx/client/ServerVMClientUserTransaction$UserTransactionStartedListener.class
org/jboss/tm/usertx/client/ServerVMClientUserTransaction.class
org/jboss/classloading/spi/DelegatingClassLoader.class
org/jboss/classloading/spi/RealClassLoader.class
org/jboss/crypto/digest/DigestCallback.class
org/jboss/crypto/digest/SHAInterleave.class
org/jboss/crypto/digest/SHAReverseInterleave.class
org/jboss/security/SecurityActions$SystemPropertyAction$1$1.class
org/jboss/security/SecurityActions$SystemPropertyAction$1.class
org/jboss/security/SecurityActions$SystemPropertyAction$2.class
org/jboss/security/SecurityActions$SystemPropertyAction.class
org/jboss/security/SecurityActions.class
org/jboss/security/plugins/DefaultLoginConfig.class
org/jboss/ejb/plugins/cmp/jdbc/WrappedStatement.class
built_using_java_1.5
built_using_java_1.5
dtd/XMLSchema.dtd
dtd/datatypes.dtd
org/jboss/invocation/InvocationType.class
org/jboss/metadata/XmlLoadable.class
schema/j2ee_1_4.xsd
schema/j2ee_jaxrpc_mapping_1_1.xsd
schema/j2ee_web_services_1_1.xsd
schema/j2ee_web_services_client_1_1.xsd
schema/javaee_5.xsd
schema/javaee_web_services_1_2.xsd
schema/javaee_web_services_client_1_2.xsd
schema/xml.xsd
org/jboss/ejb3/util/Debugger.class
org/jboss/mq/server/jmx/Queue.class
org/jboss/mq/server/jmx/QueueMBean.class
org/jboss/mq/server/jmx/Topic.class
org/jboss/mq/server/jmx/TopicMBean.class

Comment 1 Pavel Macik 2009-03-06 08:37:47 UTC
The jar is seamfp/lib/test/jboss-embeded-all.jar

Files jbossorg-eula.txt  and built_using_java_1.5 are present in the jar even 3 times (that is why they are listed twice).

Comment 2 Pavel Macik 2009-03-06 10:16:49 UTC
I found another duplicate files..
In the seamfp/lib/test/thirdparty-all.jar:

META-INF/LICENSE.txt
META-INF/NOTICE.txt


Comment 3 Pavel Macik 2009-03-06 14:36:25 UTC
Link: Added: This issue related JBPAPP-1751


Comment 4 trev 2009-03-06 15:30:58 UTC
This will have to be fixed in the next SEAM FP. Neil when we get the FP for the next release can you check it for duplicates please. dist-diff will help identify jars with potential problems. 

Comment 5 nwallace 2009-03-09 09:35:57 UTC
Ok, so this'll be a good test for the work from https://jira.jboss.org/jira/browse/SOA-836

Comment 6 Pavel Macik 2009-03-09 10:02:44 UTC
I written a groovy script that searches given dir (command line parameter) recursively for all jars and searches for duplicate files in each jar (on the same position). If the dir is not provided, the dir where the sctipt is executed is used instead.

The script can be found at 

https://svn.devel.redhat.com/repos/jboss-soa/trunk/qa/classchecker/src/org/jboss/soa/classchecker/find_duplicates.groovy

I used the script to gain the reported results.



Comment 7 nwallace 2009-06-08 11:16:41 UTC
This should be fixed in EAP 4.3 CP05FP01

Comment 8 nwallace 2009-06-25 11:09:25 UTC
Should've resolved this with my last comment as we'll not fix this ourselves as it's in hand within the expected eap fp.

Comment 9 Jiri Pechanec 2009-08-28 07:22:49 UTC
Verified in CR3


Note You need to log in before you can comment on or make changes to this bug.