0

RHEL 6.5 + JBoss EAP 6.

I installed JBoss EAP 6 from the RHEL repos using grouinstall:

# yum groupinstall "JBoss EAP 6"

This seems to have worked fine except that the files for mod_cluster are not actually installed, even though yum say mod_cluster is installed. I've tried reinstalling the entire group, reinstalling just mod_cluster, clearing yum caches etc. Still digging but so far I am at a loss and RHEL support hasn't been helpful as yet.

Michael Hampton
  • 244,070
  • 43
  • 506
  • 972
drumboots
  • 111
  • 5
  • 1
    How did you determine that the files are missing? Compared present files with the list of files that are in the rpm file? If not, please do so. – Sven Jul 11 '14 at 14:59
  • What does `rpm -V mod_cluster` say? – John Jul 11 '14 at 15:01
  • @SvW: Symlinks under $JBOSSHOME are supposed to point to the files under /usr/share/java. The files are not there. I compared with another server I built just prior and the files are there. E.g.,: /usr/share/jbossas/modules/system/layers/base/org/jboss/as/modcluster/main/mod_cluster-container-catalina.jar -> /usr/share/java/mod_cluster-container-catalina.jar but /usr/share/java/mod_cluster-container-catalina.jar does not exist. – drumboots Jul 11 '14 at 15:05
  • @John: rpm -V mod_cluster returns nothing. – drumboots Jul 11 '14 at 15:07
  • What does the output of `rpm -ql mod_cluster` say? Can you see those files in your system? Please don't post this as a comment but edit it into your question so it's readable. – Sven Jul 11 '14 at 15:11
  • On the system where `/usr/share/java/mod_cluster-container-catalina.jar` exists, what does `rpm -qf /usr/share/java/mod_cluster-container-catalina.jar` return? – John Jul 11 '14 at 15:15
  • If you really solved the issue, please add the solution as an answer and accept it later (or voluntary remove the question). – Cristian Ciupitu Jul 11 '14 at 15:39
  • @John: See my update above. Problem system has a subscription to "Red Hat Developer Toolset (for RHEL Server)" which appears to provide a conflicting package named "mod_cluster". – drumboots Jul 11 '14 at 15:40
  • @CristianCiupitu: Just doing some validation and then I'll clean it up. – drumboots Jul 11 '14 at 15:44
  • I don't have the rep to answer my own question immediately ... I have to wait 8 hrs first. In short: This VM included the epel repo which has a conflicting mod_cluster package. I'll provide full details once my 8 hrs is up. – drumboots Jul 11 '14 at 16:06

1 Answers1

0

I believe this is a fault on Red Hat's end. They appear to have two packages named "mod_cluster", one which is part of Apache and one that is part of JBoss (which is just an alias for mod_cluster-native?):

mod_cluster.noarch : JBoss mod_cluster for Apache httpd
mod_cluster-demo.noarch : Sample app for mod_cluster
mod_cluster-native.x86_64 : JBoss mod_cluster for Apache httpd
mod_cluster.x86_64 : Apache HTTP load balancer

"yum groupinstall 'JBoss EAP 6'" is supposed to installed mod_cluster.noarch, not mod_cluster.x86_64.

'rpm -ql' results from this broken system, and the same from a system that works:

# rpm -ql mod_cluster
/etc/httpd/conf.d/mod_cluster.conf
/usr/lib64/httpd/modules/mod_advertise.so
/usr/lib64/httpd/modules/mod_manager.so
/usr/lib64/httpd/modules/mod_proxy_cluster.so
/usr/lib64/httpd/modules/mod_slotmem.so
/usr/share/doc/mod_cluster-1.2.6
/usr/share/doc/mod_cluster-1.2.6/README
/usr/share/doc/mod_cluster-1.2.6/lgpl.txt

# rpm -ql mod_cluster
/etc/maven/fragments/mod_cluster
/usr/share/java/mod_cluster-container-catalina-1.2.6.Final-redhat-1-sources.jar
/usr/share/java/mod_cluster-container-catalina-1.2.6.Final-redhat-1.jar
/usr/share/java/mod_cluster-container-catalina-sources.jar
/usr/share/java/mod_cluster-container-catalina-standalone-1.2.6.Final-redhat-1-sources.jar
/usr/share/java/mod_cluster-container-catalina-standalone-1.2.6.Final-redhat-1.jar
/usr/share/java/mod_cluster-container-catalina-standalone-sources.jar
/usr/share/java/mod_cluster-container-catalina-standalone.jar
/usr/share/java/mod_cluster-container-catalina.jar
/usr/share/java/mod_cluster-container-jbossweb-1.2.6.Final-redhat-1-sources.jar
/usr/share/java/mod_cluster-container-jbossweb-1.2.6.Final-redhat-1.jar
/usr/share/java/mod_cluster-container-jbossweb-sources.jar
/usr/share/java/mod_cluster-container-jbossweb.jar
/usr/share/java/mod_cluster-container-spi-1.2.6.Final-redhat-1-sources.jar
/usr/share/java/mod_cluster-container-spi-1.2.6.Final-redhat-1.jar
/usr/share/java/mod_cluster-container-spi-sources.jar
/usr/share/java/mod_cluster-container-spi.jar
/usr/share/java/mod_cluster-container-tomcat6-1.2.6.Final-redhat-1-sources.jar
/usr/share/java/mod_cluster-container-tomcat6-1.2.6.Final-redhat-1.jar
/usr/share/java/mod_cluster-container-tomcat6-sources.jar
/usr/share/java/mod_cluster-container-tomcat6.jar
/usr/share/java/mod_cluster-container-tomcat7-1.2.6.Final-redhat-1-sources.jar
/usr/share/java/mod_cluster-container-tomcat7-1.2.6.Final-redhat-1.jar
/usr/share/java/mod_cluster-container-tomcat7-sources.jar
/usr/share/java/mod_cluster-container-tomcat7.jar
/usr/share/java/mod_cluster-core-1.2.6.Final-redhat-1-sources.jar
/usr/share/java/mod_cluster-core-1.2.6.Final-redhat-1.jar
/usr/share/java/mod_cluster-core-sources.jar
/usr/share/java/mod_cluster-core.jar
/usr/share/maven2/poms/JPP-mod_cluster-container-catalina-standalone.pom
/usr/share/maven2/poms/JPP-mod_cluster-container-catalina.pom
/usr/share/maven2/poms/JPP-mod_cluster-container-jbossweb.pom
/usr/share/maven2/poms/JPP-mod_cluster-container-spi.pom
/usr/share/maven2/poms/JPP-mod_cluster-container-tomcat6.pom
/usr/share/maven2/poms/JPP-mod_cluster-container-tomcat7.pom
/usr/share/maven2/poms/JPP-mod_cluster-container.pom
/usr/share/maven2/poms/JPP-mod_cluster-core.pom
/usr/share/maven2/poms/JPP-mod_cluster-parent.pom

Background:

Two RHEL 6.5 VMs were built to run JBoss EAP in Domain mode, one system as a domain controller / master and the other as slave. These systems are working fine.

A third VM was added to function as a second slave. The template used to install this system was different from that used for the first two. In particular, the template used for this system included the "epel" (Fedora) repo. The two other VMs do not have this repo.

In all cases JBoss was installed as follows:

# yum groupinstall "JBoss EAP 6"

This groupinstall will install the package "mod_cluster". The epel repo has a mod_cluster package (mod_cluster.x86_64) that conflicts with the mod_cluster package in the JBoss EAP repo (jb-eap-6-for-rhel-6-server-rpms - mod_cluster.noarch / mod_cluster-native.x86_64).

Removing the epel repo solves the issue. In my case, I had the third VM rebuilt to match the first two.

Michael Hampton
  • 244,070
  • 43
  • 506
  • 972
drumboots
  • 111
  • 5