Menu

#19 Tomcat 5.0.18

open
nobody
5
2004-03-06
2004-03-04
No

Hi,
I am trying to use mc4j with tomcat 5.0.18. I followed
the instruction on the web, but when I try to connect
mcj4 to tomcat I have this error:

unable to connect to server at [rmi://localhost:1099].
Server is not running at the specified port.

What am I missing?

Thanks for your help

Discussion

  • Greg Hinkle

    Greg Hinkle - 2004-03-04

    Logged In: YES
    user_id=773314

    Most likely, the mx4j adaptor for tomcat is not being
    started. Can you look at the startup output from tomcat to
    see if there are any problems. You should see something like
    the following:

    Mar 3, 2004 4:27:38 PM org.apache.jk.common.JkMX loadAdapter
    INFO: Creating Naming:name=rmiregistry
    Mar 3, 2004 4:27:39 PM org.apache.jk.common.JkMX loadAdapter
    INFO: Creating Adaptor:protocol=jrmp on host localhost at
    port 1099
    Mar 3, 2004 4:27:39 PM org.apache.jk.common.JkMX init

     
  • Luca Zanolin

    Luca Zanolin - 2004-03-05

    Logged In: YES
    user_id=917971

    I checked the logs of tomcat and I found only the last line
    that you mentioned, that is

    Mar 3, 2004 4:27:39 PM org.apache.jk.common.JkMX init

    As far as I can guess, my tomcat does not creating an
    rmiregistry.. do I need to change something on the server.xml?

     
  • Greg Hinkle

    Greg Hinkle - 2004-03-06
    • summary: Tomcat --> Tomcat 5.0.18
     
  • Greg Hinkle

    Greg Hinkle - 2004-03-06

    Logged In: YES
    user_id=773314

    If the adaptor is not starting up, you should see a lines like:
    INFO: className [mx4j.tools.naming.NamingService] does
    not exist
    WARNING: No adaptors were loaded but mx.enabled was defined.

    This means that tomcat is not finding the mx4j adaptor
    library (mx4j-tools.jar)

    Make sure to download the mx4j libraries. They must be
    version 1.1.1 and you must include the mx4j.jar and
    mx4j-tools.jar in the common/lib directory.

    If you see the following:
    SEVERE: MX4j RMI adapter not loaded:
    javax.management.RuntimeErrorException: Error thrown in
    operation start

    It means the mx4j-tools.jar has been found, but the mx4j.jar
    is not there.

     
  • Luca Zanolin

    Luca Zanolin - 2004-03-08

    Logged In: YES
    user_id=917971

    Hi,
    I checked and I have the right jar in the right place and
    from the output of tomcat I cannot see any relevant message.

    Thus, I restarted from scratch and :
    1)I installed a new instance of Tomcat 5.0.18

    2)I removed the three jmx*.jar file from the common/lib
    directory

    3)I added the two mx4j jar files mx4j-tools and mx4j-jmx into
    the common/lib directory

    4)I change the file j2k.properties in the directory /conf and I
    add the following lines
    mx.enabled=true
    mx.port=1099
    mx.jrmpPort=1099
    mx.jrmpHost=localhost

    5)Change the Catalina.bat and add the following
    CATALINA_OPTS for setting the Log4J level

    set CATALINA_OPTS=%CATALINA_OPTS% -
    Dmx4j.log.priority=debug

    Please note, that these are the only things that I did and I dit
    not change any other configuration file.

    Thus, when I start tomcat, JMX does not work and I am not
    able to connect tomcat with MC4J.

    Below you can find the output of Tomcat and the file
    j2k.properties.

    I really appreciate your help :)

    Finding MBeanServer with ID: null
    MBeanServer(s) found: []
    Creating MBeanServer...
    Using default Reflection MBeanInvoker for MBean
    JMImplementation:type=MBeanServe
    rInterceptorConfigurator,
    mx4j.server.ReflectedMBeanInvoker@136a43c
    Using default Reflection MBeanInvoker for MBean
    JMImplementation:interceptor=con
    textclassloader, mx4j.server.ReflectedMBeanInvoker@19ce060
    Using default Reflection MBeanInvoker for MBean
    JMImplementation:interceptor=not
    ificationwrapper, mx4j.server.ReflectedMBeanInvoker@c09554
    Using default Reflection MBeanInvoker for MBean
    JMImplementation:interceptor=sec
    urity, mx4j.server.ReflectedMBeanInvoker@56f631
    Using default Reflection MBeanInvoker for MBean
    JMImplementation:interceptor=inv
    oker, mx4j.server.ReflectedMBeanInvoker@476128
    Using default Reflection MBeanInvoker for MBean
    JMImplementation:type=MBeanServe
    rDelegate, mx4j.server.ReflectedMBeanInvoker@1359c1b
    MBeanServer mx4j.server.MBeanServerImpl@1a28362 created
    successfully
    MBeanServer mx4j.server.MBeanServerImpl@1a28362
    registered successfully
    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@4cbc
    e562

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@cf31
    32b4

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@3fe6
    6ce4

    08-Mar-2004 16:04:08
    org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on port 8080
    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@3fe6
    6ce4

    08-Mar-2004 16:04:08 org.apache.catalina.startup.Catalina
    load
    INFO: Initialization processed in 2421 ms
    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@5593
    45f0

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@c86a
    1d61

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@aba5
    95b9

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@77c4
    e77d

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@6343
    0350

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@d72d
    a7af

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@d72d
    a7af

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@d72d
    a7af

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@d72d
    a7af

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@aa95
    4fc1

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@aa95
    4fc1

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@aa95
    4fc1

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@aa95
    4fc1

    08-Mar-2004 16:04:09
    org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@adb5
    453e

    08-Mar-2004 16:04:09
    org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.0.18
    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@f524
    5715

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@a2d5
    94e
    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@81da
    8c86

    08-Mar-2004 16:04:09
    org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@f524
    5715

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@6c79
    6c32

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@5958
    f73b

    08-Mar-2004 16:04:09
    org.apache.catalina.core.StandardHost getDeployer
    INFO: Create Host deployer for direct deployment ( non-jmx )
    08-Mar-2004 16:04:09
    org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL
    file:C:\tomcat\conf\Catalina\loc
    alhost\admin.xml
    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@9d41
    fcbd

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@1978
    19cc

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@f524
    5715

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@7593
    3df0

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@27a9
    b24e

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@f1be
    c355

    08-Mar-2004 16:04:10
    org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings',
    returnNull=tru
    e
    08-Mar-2004 16:04:10
    org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing,
    config='org.apache.struts.action.ActionResources', returnNul
    l=true
    08-Mar-2004 16:04:11
    org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing,
    config='org.apache.webapp.admin.ApplicationResources', retur
    nNull=true
    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@94e1
    06dd

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@c86a
    1d61

    08-Mar-2004 16:04:14
    org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL
    file:C:\tomcat\conf\Catalina\loc
    alhost\balancer.xml
    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@9d41
    fcbd

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@1978
    19cc

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@7593
    3df0

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@f1be
    c355

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@94e1
    06dd

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@c86a
    1d61

    08-Mar-2004 16:04:14
    org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL
    file:C:\tomcat\conf\Catalina\loc
    alhost\manager.xml
    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@9d41
    fcbd

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@1978
    19cc

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@7593
    3df0

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@badb
    5d6d

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@f1be
    c355

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@94e1
    06dd

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@c86a
    1d61

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@54f9
    153d

    08-Mar-2004 16:04:15
    org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /jsp-
    examples from URL file:C:\ tomcat\webapps\jsp-examples
    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@9d41
    fcbd

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@1978
    19cc

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@7593
    3df0

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@27a9
    b24e

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@f1be
    c355

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@94e1
    06dd

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@c86a
    1d61

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@aba5
    95b9

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@aba5
    95b9

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@aba5
    95b9

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@aba5
    95b9

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@aba5
    95b9

    08-Mar-2004 16:04:15
    org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path from URL
    file:C:\tomcat\webapp
    s\ROOT
    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@9d41
    fcbd

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@1978
    19cc

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@7593
    3df0

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@f1be
    c355

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@94e1
    06dd

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@c86a
    1d61

    08-Mar-2004 16:04:15
    org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /servlets-
    examples from URL fil
    e:C:\tomcat\webapps\servlets-examples
    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@9d41
    fcbd

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@1978
    19cc

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@7593
    3df0

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@27a9
    b24e

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@f1be
    c355

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@94e1
    06dd

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@c86a
    1d61

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@aba5
    95b9

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@aba5
    95b9

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@aba5
    95b9

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@aba5
    95b9

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@aba5
    95b9

    08-Mar-2004 16:04:16
    org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /tomcat-
    docs from URL file:C:\t
    omcat\webapps\tomcat-docs
    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@9d41
    fcbd

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@1978
    19cc

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@7593
    3df0

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@f1be
    c355

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@94e1
    06dd

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@82f4
    59ae

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@c86a
    1d61

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@df94
    9fdd

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@31c7
    380d

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@19c8
    b8ec

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@c40a
    137
    08-Mar-2004 16:04:16
    org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on port 8080
    Adding notification listener:
    mx4j.server.interceptor.NotificationListenerMBeanS
    erverInterceptor$ListenerWrapper@8aeed0, filter: null,
    handback: null
    Filters - Handbacks for this listener:
    [javax.management.NotificationBroadcaster
    Support$FilterHandbackPair@e5355f]
    Notification listener added successfully
    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@e2c2
    4088

    Sending notifications...
    Listener is:
    mx4j.server.interceptor.NotificationListenerMBeanServerInte
    rceptor$ListenerWrapper@8aeed0
    Filters - Handback for this listener:
    [javax.management.NotificationBroa
    dcasterSupport$FilterHandbackPair@e5355f]
    Filter is: null filter, enabled: true
    Handback is: null
    Sending notification
    [source=JMImplementation:type=MBeanServerDe
    legate, message=, sequence=225,
    type=JMX.mbean.registered, time=1078761856755, d
    ata=null][Catalina:type=Mapper]
    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@31c7
    380d

    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@b2c8
    42bd

    Sending notifications...
    Listener is:
    mx4j.server.interceptor.NotificationListenerMBeanServerInte
    rceptor$ListenerWrapper@8aeed0
    Filters - Handback for this listener:
    [javax.management.NotificationBroa
    dcasterSupport$FilterHandbackPair@e5355f]
    Filter is: null filter, enabled: true
    Handback is: null
    Sending notification
    [source=JMImplementation:type=MBeanServerDe
    legate, message=, sequence=226,
    type=JMX.mbean.registered, time=1078761856911, d
    ata=null][Catalina:type=JkWorkerEnv]
    Sending notifications...
    Listener is:
    mx4j.server.interceptor.NotificationListenerMBeanServerInte
    rceptor$ListenerWrapper@8aeed0
    Filters - Handback for this listener:
    [javax.management.NotificationBroa
    dcasterSupport$FilterHandbackPair@e5355f]
    Filter is: null filter, enabled: true
    Handback is: null
    Sending notification
    [source=JMImplementation:type=MBeanServerDe
    legate, message=, sequence=227,
    type=JMX.mbean.registered, time=1078761856926, d
    ata=null]
    [Catalina:type=protocolHandler,className=org.apache.jk.serv
    er.JkCoyoteH
    andler]
    08-Mar-2004 16:04:17 org.apache.jk.common.ChannelSocket
    init
    INFO: JK2: ajp13 listening on /0.0.0.0:8009
    Finding MBeanServer with ID: null
    MBeanServer(s) found:
    [mx4j.server.MBeanServerImpl@1a28362]
    Finding MBeanServer with ID: null
    MBeanServer(s) found:
    [mx4j.server.MBeanServerImpl@1a28362]
    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@ffdaf
    088

    Sending notifications...
    Listener is:
    mx4j.server.interceptor.NotificationListenerMBeanServerInte
    rceptor$ListenerWrapper@8aeed0
    Filters - Handback for this listener:
    [javax.management.NotificationBroa
    dcasterSupport$FilterHandbackPair@e5355f]
    Filter is: null filter, enabled: true
    Handback is: null
    Sending notification
    [source=JMImplementation:type=MBeanServerDe
    legate, message=, sequence=228,
    type=JMX.mbean.registered, time=1078761857083, d
    ata=null]
    [Catalina:type=RequestProcessor,worker=http8080,name=Http
    Request0]
    08-Mar-2004 16:04:17 org.apache.jk.common.JkMX init
    INFO: Registering the JMX hierarchy for Log4J
    Dynamic MBeanInfo is:
    javax.management.MBeanInfo@d0373658
    log4j:WARN No appenders could be found for logger
    (org.apache.log4j.jmx.Hierarch
    yDynamicMBean).
    log4j:WARN Please initialize the log4j system properly.
    Sending notifications...
    Listener is:
    mx4j.server.interceptor.NotificationListenerMBeanServerInte
    rceptor$ListenerWrapper@8aeed0
    Filters - Handback for this listener:
    [javax.management.NotificationBroa
    dcasterSupport$FilterHandbackPair@e5355f]
    Filter is: null filter, enabled: true
    Handback is: null
    Sending notification
    [source=JMImplementation:type=MBeanServerDe
    legate, message=, sequence=229,
    type=JMX.mbean.registered, time=1078761857161, d
    ata=null][log4j:hierarchy=default]
    Dynamic MBeanInfo is:
    javax.management.MBeanInfo@849013e9
    Sending notifications...
    Listener is:
    mx4j.server.interceptor.NotificationListenerMBeanServerInte
    rceptor$ListenerWrapper@8aeed0
    Filters - Handback for this listener:
    [javax.management.NotificationBroa
    dcasterSupport$FilterHandbackPair@e5355f]
    Filter is: null filter, enabled: true
    Handback is: null
    Sending notification
    [source=JMImplementation:type=MBeanServerDe
    legate, message=, sequence=230,
    type=JMX.mbean.registered, time=1078761857161, d
    ata=null][log4j:logger=root]
    Adding notification listener:
    org.apache.log4j.jmx.LoggerDynamicMBean@1474e45, f
    ilter: javax.management.NotificationFilterSupport@63a721,
    handback: null
    Filters - Handbacks for this listener:
    [javax.management.NotificationBroadcaster
    Support$FilterHandbackPair@719f1f]
    Notification listener added successfully
    08-Mar-2004 16:04:17 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=15/250
    config=C:\tomcat\conf\jk2.properties
    Adding notification listener:
    mx4j.server.interceptor.NotificationListenerMBeanS
    erverInterceptor$ListenerWrapper@ae4646, filter: null,
    handback: null
    Filters - Handbacks for this listener:
    [javax.management.NotificationBroadcaster
    Support$FilterHandbackPair@187b287]
    Notification listener added successfully
    Sending notifications...
    Listener is:
    mx4j.server.interceptor.NotificationListenerMBeanServerInte
    rceptor$ListenerWrapper@ae4646
    Filters - Handback for this listener:
    [javax.management.NotificationBroa
    dcasterSupport$FilterHandbackPair@187b287]
    Filter is: null filter, enabled: true
    Handback is: null
    Sending notification
    [source=JMImplementation:type=MBeanServerDe
    legate, message=, sequence=231,
    type=JMX.mbean.unregistered, time=1078761857223,
    data=null][Catalina:type=Mapper]
    Listener is:
    mx4j.server.interceptor.NotificationListenerMBeanServerInte
    rceptor$ListenerWrapper@8aeed0
    Filters - Handback for this listener:
    [javax.management.NotificationBroa
    dcasterSupport$FilterHandbackPair@e5355f]
    Filter is: null filter, enabled: true
    Handback is: null
    Sending notification
    [source=JMImplementation:type=MBeanServerDe
    legate, message=, sequence=231,
    type=JMX.mbean.unregistered, time=1078761857223,
    data=null][Catalina:type=Mapper]
    Dynamic MBeanInfo is:
    javax.management.modelmbean.ModelMBeanInfoSupport@e2c2
    4088

    Sending notifications...
    Listener is:
    mx4j.server.interceptor.NotificationListenerMBeanServerInte
    rceptor$ListenerWrapper@ae4646
    Filters - Handback for this listener:
    [javax.management.NotificationBroa
    dcasterSupport$FilterHandbackPair@187b287]
    Filter is: null filter, enabled: true
    Handback is: null
    Sending notification
    [source=JMImplementation:type=MBeanServerDe
    legate, message=, sequence=232,
    type=JMX.mbean.registered, time=1078761857239, d
    ata=null][Catalina:type=Mapper]
    Listener is:
    mx4j.server.interceptor.NotificationListenerMBeanServerInte
    rceptor$ListenerWrapper@8aeed0
    Filters - Handback for this listener:
    [javax.management.NotificationBroa
    dcasterSupport$FilterHandbackPair@e5355f]
    Filter is: null filter, enabled: true
    Handback is: null
    Sending notification
    [source=JMImplementation:type=MBeanServerDe
    legate, message=, sequence=232,
    type=JMX.mbean.registered, time=1078761857239, d
    ata=null][Catalina:type=Mapper]
    08-Mar-2004 16:04:17 org.apache.catalina.startup.Catalina
    start
    INFO: Server startup in 8313 ms

    j2k.properties files:

    ## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE
    TOMCAT IS STOPED
    ## WHEN YOU EDIT THE FILE.

    ## COMMENTS WILL BE _LOST_

    ## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

    # Set the desired handler list
    # handler.list=apr,request,channelJni
    #
    # Override the default port for the socketChannel
    # channelSocket.port=8019
    # Default:
    # channelUnix.file=${jkHome}/work/jk2.socket
    # Just to check if the the config is working
    # shm.file=${jkHome}/work/jk2.shm

    # In order to enable jni use any channelJni directive
    # channelJni.disabled = 0
    # And one of the following directives:

    # apr.jniModeSo=/opt/apache2/modules/mod_jk2.so

    # If set to inprocess the mod_jk2 will Register natives itself
    # This will enable the starting of the Tomcat from mod_jk2
    # apr.jniModeSo=inprocess

    mx.enabled=true
    mx.port=1099
    mx.jrmpPort=1099
    mx.jrmpHost=localhost

     
  • Greg Hinkle

    Greg Hinkle - 2004-03-09

    Logged In: YES
    user_id=773314

    I just don't get those log messages. It looks like it is
    skipping right over the section where it would output either
    success or failure of loading the adaptor. I don't see why
    that would happen given your configuration.

    Perhaps you should send a message off to the Tomcat list to
    see if they have any ideas.

     
  • Luca Zanolin

    Luca Zanolin - 2004-03-09

    Logged In: YES
    user_id=917971

    Last question: could you please send me your configuration
    files (that is the conf directory of Tomcat)?

    Thanks

     
  • Greg Hinkle

    Greg Hinkle - 2004-03-09

    Gregs Working 5.0.18 tomcat conf

     
  • Greg Hinkle

    Greg Hinkle - 2004-03-09

    Logged In: YES
    user_id=773314

    I'm attaching a zip of my base tomcat conf with the
    documented changes. This is currently working for me on 5.0.18.

     
  • Luca Zanolin

    Luca Zanolin - 2004-03-10

    Logged In: YES
    user_id=917971

    At the end I was able to make MX4J/MC4J working : )

    I followed all the instructions on the web, but MX4J/MC4J
    were not working. The reasons are:
    - I was running other web servers at the same time
    (i.e., the other web servers have not jmx enable)
    - The tomcat directory contains spaces

    This should sounds as odd reasons.. I know but if I stop all
    the other web servers and change the directory name of
    Tomcat everything is working perfectly : )

    Thanks for your help ghinkl !

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.