Bug 1102014

Summary: Strange state of the Windows and Solaris mod_cluster 1.2.8.Final build for EWS 2.1.0.ER1
Product: [JBoss] JBoss Enterprise Web Server 2 Reporter: Michal Karm Babacek <mbabacek>
Component: mod_clusterAssignee: Mladen Turk <mturk>
Status: CLOSED EOL QA Contact: Michal Karm Babacek <mbabacek>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 2.1.0CC: bperkins, jclere, jdoyle, lfuka, mbabacek, pslavice, rhusar, rsvoboda
Target Milestone: ER03   
Target Release: 2.1.0   
Hardware: Unspecified   
OS: Other   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously in JBoss Enterprise Web Server, the Microsoft Windows and Oracle Solaris logs display an incorrect version of the mod_cluster (<replaceable>${project.version}</replaceable>). This is now fixed in JBoss Enterprise Web Server 2.1 where the logs on Microsoft Windows and Oracle Solaris display the correct mod_cluster versions.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-13 08:03:12 UTC 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:
Bug Depends On:    
Bug Blocks: 1101977, 1102012    

Description Michal Karm Babacek 2014-05-28 10:56:08 UTC
Guys, this is very weird:

RHEL Tomcat6/7 logs show correctly loading mod_cluster version:

{code}
May 28, 2014 6:18:34 AM org.jboss.modcluster.ModClusterService init
INFO: MODCLUSTER000001: Initializing mod_cluster version 1.2.8.Final-redhat-1
May 28, 2014 6:18:34 AM org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl start
INFO: MODCLUSTER000032: Listening to proxy advertisements on /224.0.5.79:65009
{code}

whereas Windows builds show:

{code}
INFO: MODCLUSTER000001: Initializing mod_cluster version ${project.version}
May 28, 2014 12:12:41 PM org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl start
INFO: MODCLUSTER000032: Listening to proxy advertisements on /224.0.7.222:43294
May 28, 2014 12:12:41 PM org.apache.coyote.http11.Http11AprProtocol init
{code}

I think that this is definitely weird, there shouldn't be both tomcat6 and tomcat7 mod_cluster libs in _both_ tomcat installations at the same time:

{code}
unzip -ljboss-ews-application-servers-2.1.0-ER1-win6.x86_64.zip | grep mod | grep -v doc
DEPENDENCIES: httpd-2.2.26-4, httpd-2.2.26-4, jakarta-commons-daemon-1.0.15-4, jakarta-commons-daemon-1.0.15-4, jboss-logging-3.1.2-3.GA_redhat_1, jboss-logging-3.1.2-3.GA_redhat_1, mod_cluster-1.2.8-1.Final_redhat_1, mod_cluster-1.2.8-1.Final_redhat_1, op
    58057  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-catalina-1.2.8.Final-redhat-1-sources.jar
    60235  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-catalina-1.2.8.Final-redhat-1.jar
    58057  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-catalina-sources.jar
    29170  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-catalina-standalone-1.2.8.Final-redhat-1-sources.jar
    34714  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-catalina-standalone-1.2.8.Final-redhat-1.jar
    29170  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-catalina-standalone-sources.jar
    34714  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-catalina-standalone.jar
    60235  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-catalina.jar
    35072  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-jbossweb-1.2.8.Final-redhat-1-sources.jar
    35464  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-jbossweb-1.2.8.Final-redhat-1.jar
    35072  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-jbossweb-sources.jar
    31301  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-spi-1.2.8.Final-redhat-1-sources.jar
    28444  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-spi-1.2.8.Final-redhat-1.jar
    31301  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-spi-sources.jar
    28444  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-spi.jar
    33914  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-tomcat6-1.2.8.Final-redhat-1-sources.jar
    33409  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-tomcat6-1.2.8.Final-redhat-1.jar
    33914  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-tomcat6-sources.jar
    33409  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-tomcat6.jar
    34133  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-tomcat7-1.2.8.Final-redhat-1-sources.jar
    33876  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-tomcat7-1.2.8.Final-redhat-1.jar
    34133  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-container-tomcat7-sources.jar
   126887  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-core-1.2.8.Final-redhat-1-sources.jar
   138874  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-core-1.2.8.Final-redhat-1.jar
   126887  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-core-sources.jar
   138874  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-6.0.39/lib/mod_cluster-core.jar
    58057  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-catalina-1.2.8.Final-redhat-1-sources.jar
    60235  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-catalina-1.2.8.Final-redhat-1.jar
    58057  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-catalina-sources.jar
    29170  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-catalina-standalone-1.2.8.Final-redhat-1-sources.jar
    34714  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-catalina-standalone-1.2.8.Final-redhat-1.jar
    29170  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-catalina-standalone-sources.jar
    34714  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-catalina-standalone.jar
    60235  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-catalina.jar
    35072  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-jbossweb-1.2.8.Final-redhat-1-sources.jar
    35464  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-jbossweb-1.2.8.Final-redhat-1.jar
    35072  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-jbossweb-sources.jar
    31301  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-spi-1.2.8.Final-redhat-1-sources.jar
    28444  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-spi-1.2.8.Final-redhat-1.jar
    31301  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-spi-sources.jar
    28444  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-spi.jar
    33914  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-tomcat6-1.2.8.Final-redhat-1-sources.jar
    33409  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-tomcat6-1.2.8.Final-redhat-1.jar
    33914  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-tomcat6-sources.jar
    34133  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-tomcat7-1.2.8.Final-redhat-1-sources.jar
    33876  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-tomcat7-1.2.8.Final-redhat-1.jar
    34133  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-tomcat7-sources.jar
    33876  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-container-tomcat7.jar
   126887  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-core-1.2.8.Final-redhat-1-sources.jar
   138874  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-core-1.2.8.Final-redhat-1.jar
   126887  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-core-sources.jar
   138874  05-15-2014 04:19   jboss-ews-2.1/share/apache-tomcat-7.0.52/lib/mod_cluster-core.jar
{code}

RHEL has it right:

{code}
    60235  05-14-2014 14:03   jboss-ews-2.1/tomcat6/lib/mod_cluster-container-catalina.jar
   138874  05-14-2014 14:03   jboss-ews-2.1/tomcat6/lib/mod_cluster-core.jar
    33409  05-14-2014 14:03   jboss-ews-2.1/tomcat6/lib/mod_cluster-container-tomcat6.jar
    34714  05-14-2014 14:03   jboss-ews-2.1/tomcat6/lib/mod_cluster-container-catalina-standalone.jar
    28444  05-14-2014 14:03   jboss-ews-2.1/tomcat6/lib/mod_cluster-container-spi.jar
    33876  05-14-2014 14:03   jboss-ews-2.1/tomcat7/lib/mod_cluster-container-tomcat7.jar
    60235  05-14-2014 14:03   jboss-ews-2.1/tomcat7/lib/mod_cluster-container-catalina.jar
   138874  05-14-2014 14:03   jboss-ews-2.1/tomcat7/lib/mod_cluster-core.jar
    34714  05-14-2014 14:03   jboss-ews-2.1/tomcat7/lib/mod_cluster-container-catalina-standalone.jar
    28444  05-14-2014 14:03   jboss-ews-2.1/tomcat7/lib/mod_cluster-container-spi.jar
{code}

Comment 1 Michal Karm Babacek 2014-05-28 22:07:37 UTC
Solaris zips posses the same issue.

Comment 3 Weinan Li 2014-06-03 06:44:11 UTC
Hi Mladen, could you please help to check this? Thanks!

Comment 4 Mladen Turk 2014-06-03 06:57:56 UTC
Think I found the problem.
There are just to many symlinks in upstream RHEL's mod_cluster build. Anyhow I applied some workaround, so hope it's gonna be OK now.

Comment 5 Michal Karm Babacek 2014-06-27 11:51:01 UTC
ON_QA...

Comment 6 Michal Karm Babacek 2014-06-27 11:51:37 UTC
...and VERIFIED.  EWS 2.1.0.ER3

Comment 7 Mandar Joshi 2014-08-11 12:57:18 UTC
Removing this bz from EWS 2.1 release notes.

Setting the requires_doc_text flag to -