Announcement Announcement Module
Collapse
No announcement yet.
JMX error when deploying Petclinic on Tomcat 4.1.23 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JMX error when deploying Petclinic on Tomcat 4.1.23

    Hi,

    I am trying to deploy the Petclinic sample on Tomcat and am getting the error below. I checked that the JMX class should be on Tomcat's classpath. Any idea on what needs to be configured?

    GRAVE: Context initialization failed
    org.springframework.beans.factory.BeanDefinitionSt oreException: Error registerin
    g bean with name '' defined in ServletContext resource [/WEB-INF/applicationCont
    ext-jdbc.xml]: Class that bean class [org.springframework.jmx.export.assembler.I
    nterfaceBasedMBeanInfoAssembler] depends on not found; nested exception is java.
    lang.NoClassDefFoundError: javax/management/modelmbean/ModelMBeanInfo
    java.lang.NoClassDefFoundError: javax/management/modelmbean/ModelMBeanInfo
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at org.springframework.util.ClassUtils.forName(ClassU tils.java:87)
    at org.springframework.beans.factory.support.BeanDefi nitionReaderUtils.c
    reateBeanDefinition(BeanDefinitionReaderUtils.java :64)

    Thanks for any input

    Jean

  • #2
    It looks like you dont have a JMX implementation on your class path. Check out http://mx4j.sourceforge.net.

    Rob

    Comment

    Working...
    X