https://issues.apache.org/bugzilla/show_bug.cgi?id=52459
Bug #: 52459
Summary: tomcat-embedded distribution is missing
tomcat-catalina-ha dependencies
Product: Tomcat 7
Version: 7.0.23
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Packaging
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
i want to use the latest "tomcat-embed" binary-distribution that can be
downloaded on your page from http://tomcat.apache.org/download-70.cgi
The following code has worked in tomcat-embed 7.0.16:
Catalina catalina = new Catalina();
catalina.setAwait(true);
catalina.setUseShutdownHook(true);
catalina.load();
But with the current release 7.0.23 the code will bring the following error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/catalina/ha/ClusterRuleSet
at
org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:375)
at org.apache.catalina.startup.Catalina.load(Catalina.java:491)
This is because the class "org.apache.catalina.startup.Catalina" has now a
hardcoded dependency to the class "org.apache.catalina.ha.ClusterRuleSet" which
is not provided within the "tomcat-embed" binary-distribution.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]