tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52459] New: tomcat-embedded distribution is missing tomcat-catalina-ha dependencies
Date Thu, 12 Jan 2012 13:31:04 GMT
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: dev@tomcat.apache.org
        ReportedBy: bernd.huber@orbiz.com
    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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message