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

           Summary: Wrong class name in
                    org/apache/catalina/cluster/tcp/mbeans-descriptors.xml
           Product: Tomcat 5
           Version: 5.5.14
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P3
         Component: Catalina:Cluster
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


This bug is found in 5.5.15!!

In file org/apache/catalina/cluster/tcp/mbeans-descriptors.xml there is a class
section:
      <parameter name="message"
                 description="replication message"
                 type="org.apache.catalina..cluster.ClusterMessage"/>

So, org.apache.catalina..cluster.ClusterMessage should be replaced
with org.apache.catalina.cluster.ClusterMessage 

Without this fix there is an exception like below:
11:33:06 main [org.apache.catalina.cluster.tcp.SimpleTcpCluster]: INFO  Cluster
is about to start
11:33:07 main [org.apache.catalina.cluster.tcp.SimpleTcpCluster]: ERROR Cannot
instantiate ModelMBean of class org.apache.commons.modeler.BaseModelMBean
javax.management.MBeanException: Cannot instantiate ModelMBean of class
org.apache.commons.modeler.BaseModelMBean
        at 
org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:430)
        at
org.apache.catalina.cluster.tcp.SimpleTcpCluster.getManagedBean(SimpleTcpCluster.java:1340)
        at
org.apache.catalina.cluster.tcp.SimpleTcpCluster.registerMBeans(SimpleTcpCluster.java:1289)
        at
org.apache.catalina.cluster.tcp.SimpleTcpCluster.start(SimpleTcpCluster.java:732)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1002)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:821)
        at
fi.gtech.esi.player.channel.util.EmbeddedTomcat.start(EmbeddedTomcat.java:186)
        at
fi.gtech.esi.player.channel.mgmt.Management.startComponent(Management.java:306)
        at 
fi.gtech.esi.player.channel.mgmt.Management.start(Management.java:204)
        at 
fi.gtech.esi.player.channel.mgmt.Management.start(Management.java:129)
        at fi.gtech.esi.player.channel.mgmt.Management.main(Management.java:117)
Caused by: java.lang.IllegalArgumentException: Not a valid Java type name:
org.apache.catalina..cluster.ClusterMessage
        at 
javax.management.MBeanInfo.mustBeValidJavaTypeName(MBeanInfo.java:470)
        at 
javax.management.MBeanParameterInfo.<init>(MBeanParameterInfo.java:58)
        at
org.apache.commons.modeler.ParameterInfo.createParameterInfo(ParameterInfo.java:175)
        at
org.apache.commons.modeler.OperationInfo.createOperationInfo(OperationInfo.java:251)
        at
org.apache.commons.modeler.ManagedBean.createMBeanInfo(ManagedBean.java:480)
        at 
org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:424)

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to