This is JBoss 4.0.3.

I have an MBean whose attribute is a java.lang.Class

The class "FooClass" is available in a .ear file of course, but it doesn't seem 
to find it when configuring the MBean.

  | 2006-01-04 14:05:40,282 INFO  [ServiceConfigurator] ( )  Problem 
configuring service examle:service=FooService
  | org.jboss.util.NestedRuntimeException: No ClassLoaders found for: 
example.FooClass; - nested throwable: (java.lang.ClassNotFoundException: No 
ClassLoaders found for: 
  | example.FooClass)
  |   at org.jboss.util.propertyeditor.ClassEditor.getValue(ClassEditor.java:38)
  |   at 
org.jboss.system.ServiceConfigurator.parseTextSerialData(ServiceConfigurator.java:542)
  |   at 
org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:311)
  |   at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:442)
  |   at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:153)
  |   at org.jboss.system.ServiceController.install(ServiceController.java:215)

Is there some reason for this, or is this a bug? It seems like ClassEditor uses 
the Thread's scoped classloader.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916466#3916466

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916466


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to