Hi, Im trying to deploy a Mbean in a web app. When I create the MBean, the next exception is throwed:
javax.management.ReflectionException: null nested exception is java.lang.ClassNotFoundException: es.tid.puzzle.framework.jmx.agente.ControladorServicios java.lang.ClassNotFoundException: es.tid.puzzle.framework.jmx.agente.ControladorServicios at mx4j.server.DefaultClassLoaderRepository.loadClassFromRepository(DefaultClas sLoaderRepository.java:99) at mx4j.server.DefaultClassLoaderRepository.loadClassWithout(DefaultClassLoader Repository.java:33) at mx4j.server.DefaultClassLoaderRepository.loadClass(DefaultClassLoaderReposit ory.java:28) at mx4j.server.MX4JMBeanServer.createMBean(MX4JMBeanServer.java:697) at mx4j.server.MX4JMBeanServer.createMBean(MX4JMBeanServer.java:689) But the class is present. I tried to change the jar, putting it in shared/lib or in common/lib, pero its the same. The only solution is to put the jar into classpath definition in catalina.bat, but I prefer not to touch the tomcat classpath. ¿how can I do it? TIA José Luis