Bug 1112157

Summary: (document then close/notabug) tomcat7: ClassNotFoundException: org.apache.catalina.ha.ClusterRuleSet
Product: [JBoss] JBoss Enterprise Web Server 2 Reporter: Michal Karm Babacek <mbabacek>
Component: tomcat7Assignee: Jean-frederic Clere <jclere>
Status: CLOSED EOL QA Contact: Michal Karm Babacek <mbabacek>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.1.0CC: jclere, jdoyle, jstefl, lfuka, mbabacek, myarboro, pslavice, rmaucher, rsvoboda
Target Milestone: ---   
Target Release: 2.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
JBoss Enterprise Web Server does not support catalina-ha.jar file. When Tomcat7 is unzipped with default configuration, a <literal>ClassNotFoundException: org.apache.catalina.ha.ClusterRuleSet</literal> exception is dispalyed in the Tomcat7 catalina.out. This is a known issue in JBoss Enterprise Web Server 2.1 and no workaround exists for this problem.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-13 08:12:19 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:

Description Michal Karm Babacek 2014-06-23 08:57:37 UTC
Hi guys,
I've noticed this ClassNotFoundException on a clean startup, default configuration, just after unzip on Tomcat 7 in EWS 2.1.0.ER3. Is it cool? I don't think so, comparing it to the Tomcat 6 behaviour.
At the moment, it's confirmed on RHEL7, I'll be able to comment on additional platforms presently.


Tomcat 6

Jun 23, 2014 4:48:22 AM org.apache.catalina.startup.ClusterRuleSetFactory getClusterRuleSet
INFO: Unable to find a cluster rule set in the classpath. Will load the default rule set.
Jun 23, 2014 4:48:22 AM org.apache.catalina.startup.ClusterRuleSetFactory getClusterRuleSet
INFO: Unable to find a cluster rule set in the classpath. Will load the default rule set.


Tomcat 7

Jun 23, 2014 4:49:43 AM org.apache.catalina.startup.Catalina addClusterRuleSet
INFO: Cluster RuleSet not found due to [java.lang.ClassNotFoundException: org.apache.catalina.ha.ClusterRuleSet]. Cluster configuration disabled.
Jun 23, 2014 4:49:43 AM org.apache.catalina.startup.Catalina addClusterRuleSet
INFO: Cluster RuleSet not found due to [java.lang.ClassNotFoundException: org.apache.catalina.ha.ClusterRuleSet]. Cluster configuration disabled.


Ideas?

Comment 1 Libor Fuka 2014-06-23 10:11:19 UTC
catalina-ha.jar is not supported in EWS.

Comment 2 Michal Karm Babacek 2014-06-23 10:17:18 UTC
Exactly, it's never been. But whey does it result in CNFE on Tomcat7?

Comment 3 Rémy Maucherat 2014-06-25 10:21:47 UTC
The only difference is that the logging now gives some partial details on the reason why the cluster config is disabled, but obviously the same loading "error" occurs.

Comment 4 Jean-frederic Clere 2014-06-27 12:07:51 UTC
Document that as a known issue as we remove the cluster class because we don't support clustering in tomcat in EWS-2.1.

Comment 6 Libor Fuka 2014-08-19 11:12:22 UTC
documented in release notes as known issue.