Bugs item #634990, was opened at 2002-11-07 14:24
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=634990&group_id=22866

Category: JBossMX
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Yuriy Khabarov (thundcat)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problem with MBeans loading by MLET

Initial Comment:
JBoss 3.0.2

java.lang.ClassCastException in:

file \jboss-
all\jmx\src\main\javax\management\loading\MLet.java

   public Class loadClass(String name, boolean resolve) 
throws ClassNotFoundException

Looks like

         UnifiedLoaderRepository ulr = 
(UnifiedLoaderRepository)
LoaderRepository.getDefaultLoaderRepository();
         return ulr.loadClass(name, resolve, 
Thread.currentThread().getContextClassLoader());

should be changed to 

         LoaderRepository ulr = 
LoaderRepository.getDefaultLoaderRepository();
         return ulr.loadClass(name, resolve, 
Thread.currentThread().getContextClassLoader());

Because of 
ServerConstants.UNIFIED_LOADER_REPOSITORY_CL
ASS and System.getProperty
(ServerConstants.LOADER_REPOSITORY_CLASS_PR
OPERTY)
equals
"org.jboss.mx.loading.UnifiedLoaderRepository2"
not 
"org.jboss.mx.loading.UnifiedLoaderRepository"

if I'm wrong please reply. Thank you

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=634990&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to