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 2005/03/22 22:24:54 UTC

DO NOT REPLY [Bug 34139] New: - org.apache.catalina.realm.RealmBase.main() requires JMX and log4j

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34139>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34139

           Summary: org.apache.catalina.realm.RealmBase.main() requires JMX
                    and log4j
           Product: Tomcat 5
           Version: 5.5.7
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: dtiller@captechventures.com


The Tomcat 5.5 documentation states that catalina.jar is the only jar required
on the classpath to run org.apache.catalina.realm.RealmBase.main. (See
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#Digested%20Passwords)

UNDER 5.0.28:
If run with only catalina.jar, you get:

Exception in thread "main" java.lang.NoClassDefFoundError:
javax/management/MBeanRegistration

Adding the $TOMCAT_HOME/bin/jmx.jar to the classpath fixes this exception, but
then you get:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/logging/LogFactory

Adding $TOMCAT_HOME/bin/commons-logging-api.jar permits the program to run properly.

UNDER 5.5.7:
No jar distributed with Tomcat 5.5.7 contains
javax/management/MBeanRegistration. If you add 5.0.28's jmx.jar and 5.5.7's
commons-logging-api.jar, it works.

Please correct the documentation (which is incorrect for Tomcat 5.5) and perhaps
include JMX.jar with the latest distribution.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org