Bugs item #634990, was opened at 2002-11-07 16:24
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=634990&group_id=22866
Category: JBossMX
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Yuriy Khabarov (thundcat)
>Assigned to: Adrian Brock (ejort)
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: The Best Geek Holiday Gifts!
Time is running out! Thinkgeek.com has the coolest gifts for
your favorite geek. Let your fingers do the typing. Visit Now.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development