Bug 1126423 - [tomcat6] duplicate jars in tomcat6/bin
Summary: [tomcat6] duplicate jars in tomcat6/bin
Alias: None
Product: JBoss Enterprise Web Server 2
Classification: JBoss
Component: tomcat6
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: CR02
: 2.1.0
Assignee: Weinan Li
QA Contact: Pavel Slavicek
Depends On:
TreeView+ depends on / blocked
Reported: 2014-08-04 12:13 UTC by Michal Haško
Modified: 2019-06-13 08:00 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously in JBoss Enterprise Web Server, duplicated JAR files were unexpected available in the Red Hat Enterprise Linux 6 ZIP files for Tomcat. This issue is fixed in JBoss Enterprise Web Server 2.1 and the duplicated files are now removed.
Clone Of:
Last Closed: 2019-06-13 08:00:59 UTC
Type: Bug

Attachments (Terms of Use)

Description Michal Haško 2014-08-04 12:13:58 UTC
There are duplicate identical jars in the rhel zips tomcat6 directory:
8e67ff0e3427bf7563bb600e06077f53  tomcat6/bin/commons-daemon.jar
8e67ff0e3427bf7563bb600e06077f53  tomcat6/bin/commons-daemon-eap6.jar

but only one in tomcat7 directory:
8e67ff0e3427bf7563bb600e06077f53  tomcat7/bin/commons-daemon.jar

The rpm will probably needs fixing too, because in tomcat6 rpm is:

but in tomcat7 rpm:

Comment 1 Libor Fuka 2014-08-04 12:23:13 UTC
Solaris zips:
share/tomcat7/bin -> no commons-daemon.jar file

Windows zips:
share/tomcat7/bin -> no commons-daemon.jar file

If i remember this jar file is used by daemon.sh script. This script is referencing commons-daemon.jar file.

Comment 2 Weinan Li 2014-08-04 13:10:54 UTC
I've checked tc6 and tc7 rpms:

In tomcat6 el6 rpm:


In tomcat7 el6 rpm: 


Win/Sol are borrowed from el6 rpms so it can explain the situation on Win/Sol.

For the 8e67ff0e3427bf7563bb600e06077f53  tomcat6/bin/commons-daemon.jar
I've checked tomcat6 zip:

[weli@dhcp-66-78-87 rpms]$ find . | grep commons-daemon

@Dave, could you please help to uniform this in both tc6 and tc7?

Comment 3 Libor Fuka 2014-08-04 13:16:01 UTC
commons-daemon.jar is placed in tomcatX/lib directory for Solaris 
There is not commons-daemon.jar for Windows

Comment 4 Libor Fuka 2014-08-04 13:23:09 UTC
Mladen should you also comment it ?

Comment 7 Weinan Li 2014-08-05 07:02:39 UTC
Verified from tomcat6-6.0.41-5_patch_02.ep6.el6:

rpm2cpio.pl tomcat6-6.0.41-5_patch_02.ep6.el6.noarch.rpm | cpio -idv
$ find . | grep commons

rpm2cpio.pl tomcat6-zip-6.0.41-5_patch_02.ep6.el6.noarch.rpm | cpio -idv


$ unzip -l ./usr/share/java/jbossas-fordev/tomcat6-6.0.41.zip | grep commons-daemon
    29443  10-01-13 21:26   apache-tomcat-6.0.41/bin/commons-daemon.jar

Comment 8 Vaclav Tunka 2014-08-05 12:52:28 UTC
We had a discussion with Libor on the topic and after figuring out all the details, we decided no changes are necessary for Windows & Solaris.

Comment 9 Libor Fuka 2014-08-07 06:40:14 UTC
Its fixed in all CR3 zips except RHEL5 tomcat.

Comment 10 Weinan Li 2014-08-07 09:18:49 UTC
Check tomcat6-6.0.41-6_patch_02.ep6.el5. In Rpm:

$ find . | grep commons

In Zip:


@Dave, please help to fix this in tomcat6 el5.

Comment 11 Weinan Li 2014-08-07 11:47:50 UTC
After rechecking the tomcat6 builds are fine, the problem is in jboss-ews zip bundle, let me fix it.

Comment 12 Libor Fuka 2014-08-08 13:52:55 UTC
Verified on MS Windows/Solaris and RHEl...
waitting for rpm verification.....

Comment 13 Michal Haško 2014-08-08 19:00:13 UTC

Comment 14 Mandar Joshi 2014-08-10 07:26:11 UTC
Added Doc Text.

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