tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Luis Martínez-Avial <jlma...@tid.es>
Subject MBean/Tomcat ClassNotFound
Date Wed, 09 Aug 2006 07:53:59 GMT
Hi,

I’m 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 it’s 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

 

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message