I am using JBoss3.0.4. I have deployed an application where a servlet registers a classloader mbean with the MBeanServer. This classloader contains the url for the archive that has some ModelMBeans. Now when I try to load the model MBean through the DefaultLoaderRepository.loadClass method a ClassNotFoundException is thrown. This same code is working properly in JBoss3.0.0 version.
Other than this generally I would like to know when does a classloader gets stored in the DefaultLoaderRepository.