You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2012/01/12 14:31:04 UTC

DO NOT REPLY [Bug 52459] New: tomcat-embedded distribution is missing tomcat-catalina-ha dependencies

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


DO NOT REPLY [Bug 52459] tomcat-embedded distribution is missing tomcat-catalina-ha dependencies

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52459

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Mark Thomas <ma...@apache.org> 2012-01-12 14:00:45 UTC ---
This has already been fixed in r1220296.

-- 
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