rpm package `mod_cluster-tomcat6` on RHEL6 install jar in wrong path
Issue
- mod_cluster from RPM installs in a different directory. We installed EAP 5.1.2 from RHN, and tried to install mod_cluster also. EAP is installed in
/var/lib/jbossas
. Mod_cluster should be installed in $JOSS_HOME/server/$PROFILE/deploy, but found it to be in/usr/share/java/
. No symlinks seem to be defined for mapping this path to EAP, so EAP will not be able to find mod_cluster.
Is this the standard behaviour? If so, should symlinks be manually created? (not advisable). - Running
yum install tomcat6 mod_cluster-tomcat6 -y
under RHEL 6.2 (64-bit) results inmod_cluster
JARs being installed in wrong path/usr/share/tomcat6/lib/lib
results in aClassNotFoundException
WARNING: Catalina.start using conf/server.xml:
org.xml.sax.SAXParseException; systemId: file:///usr/share/tomcat6/conf/server.xml; lineNumber: 33; columnNumber: 116; Error at (33, 116: org.jboss.modcluster.ModClusterListener
Caused by: java.lang.ClassNotFoundException: org.jboss.modcluster.ModClusterListener
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
Environment
- Tomcat 6.0
- modcluster 1.0.10-3.2.GA
- Red Hat Network (RHN)
- JBoss Enterprise Application Platform (EAP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.