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=29259>.
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=29259

Used MX4J 2.0.1 HttpAdpator

           Summary: Used MX4J 2.0.1 HttpAdpator
           Product: Tomcat 5
           Version: 5.0.25
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:AJP
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


After some discussions at the last days to get the jk2.properties mx handler
active for MX4J 2.0.1 working, I have create a patch.

build Tomcat with 2.0.1 or

copy 2.0.1 mx4j.jar at bin/jmx.jar
copy 2.0.1 mx4j-tools.jar at bin/ 

change your systemclasspath at setclasspath script to
set CLASSPATH=%JAVA_HOME%\lib\tools.jar;%BASEDIR%\bin\mx4j-tools.jar


Add jk2.properties now we can configure the Adaptor classes

mx.enabled=true
mx.httpPort=9050
mx.httpHost=localhost

# set Adaptor classes
mx. mx4jHttpAdaptorClassName=mx4j.tools.adaptor.http.HttpAdaptor
mx.mx4jProcessorClassName=mx4j.tools.adaptor.http.XSLTProcessor
mx.mx4jJRMPAdaptorClassName=mx4j.tools.adaptor.rmi.jrmp.JRMPAdaptor 

Also we can configure the HTTPAdpator to the XML Default output with
#mx.mx4jProcessorClassName=mx4j.tools.adaptor.http.DefaultProcessor

with this configuration you can used MX4J 1.1.1
mx. mx4jHttpAdaptorClassName=mx4j.adaptor.http.HttpAdaptor
mx.mx4jProcessorClassName=mx4j.adaptor.http.XSLTProcessor
mx.mx4jJRMPAdaptorClassName=mx4j.adaptor.rmi.jrmp.JRMPAdaptor 

Tested only at Windows xp and Tomcat 5.0.25

regards
Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to