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 21714] New: - MX4J mx4j.adaptor.http.HttpAdaptor is not loaded
Date Fri, 18 Jul 2003 16:12:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21714>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21714

MX4J mx4j.adaptor.http.HttpAdaptor is not loaded

           Summary: MX4J mx4j.adaptor.http.HttpAdaptor is not loaded
           Product: Tomcat 4
           Version: Nightly Build
          Platform: All
               URL: http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-
                    connectors/jk/java/org/apache/jk/common/JkMX.java.diff?r
                    1=1.11&r2=1.12&diff_format=h
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Connector:Coyote JK 2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: dims@yahoo.com


Need to check for the whole class ("mx4j.adaptor.http.HttpAdaptor") and not
"mx4j.adaptor.http". See diff below :

Index: JkMX.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/common/JkMX.java,v
retrieving revision 1.12
diff -d -u -b -B -w -u -r1.12 JkMX.java
--- JkMX.java   2 Jun 2003 01:22:32 -0000       1.12
+++ JkMX.java   18 Jul 2003 15:24:29 -0000
@@ -112,7 +112,7 @@
     public void loadAdapter() throws IOException {
         boolean adapterLoaded = false;

-        if (classExists("mx4j.adaptor.http")) {
+        if (classExists("mx4j.adaptor.http.HttpAdaptor")) {
             try {
                 serverName = new ObjectName("Http:name=HttpAdaptor");
                 mserver.createMBean("mx4j.adaptor.http.HttpAdaptor",
serverName, null);

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


Mime
View raw message