Results 1 to 2 of 2

Thread: JMX error when deploying Petclinic on Tomcat 4.1.23

  1. #1
    Join Date
    Aug 2004
    Posts
    15

    Default 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. #2
    Join Date
    Aug 2004
    Location
    Southampton, UK
    Posts
    826

    Default

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

    Rob
    Rob Harrop
    Lead Engineer, dm Server
    SpringSource
    http://www.springsource.com

    Co-Author - Pro Spring

Similar Threads

  1. Replies: 4
    Last Post: Jun 15th, 2005, 04:47 PM
  2. Replies: 1
    Last Post: Mar 8th, 2005, 10:10 AM
  3. Replies: 2
    Last Post: Jan 1st, 2005, 01:15 PM
  4. Replies: 3
    Last Post: Oct 28th, 2004, 05:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •