[jboss-user] [Management, JMX/JBoss] - ClassNotFound: JBoss Scheduler Service

eelgueta do-not-reply at jboss.com
Wed Aug 8 14:26:23 EDT 2007


Hi All,

I'm trying to implement a Scheduler-compatible class as per instructions on http://www.huihoo.org/jboss/online_manual/3.0/ch13s58.html.

I'm getting a ClassNotFoundException at startup:
2007-08-07 15:40:35,997 DEBUG [org.jboss.system.ServiceConfigurator]
  | SchedulableClass set to my.package.MyClass in jboss:service=Scheduler
  | 2007-08-07 15:40:35,997 INFO  [org.jboss.varia.scheduler.Scheduler] Failed to find: my.package.MyClass
  | java.lang.ClassNotFoundException: No ClassLoaders found for: my.package.MyClass
  | 	at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
  | 	at
  | org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:514)
  | 	at
  | org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
  | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | 	at...

My ear-deployer.xml already is set to no isolation for the classloaders (http://wiki.jboss.org/wiki/Wiki.jsp?page=Scheduler):
<?xml version="1.0" encoding="UTF-8"?>
  | <server>
  |    <mbean code="org.jboss.deployment.EARDeployer"
  |       name="jboss.j2ee:service=EARDeployer">
  |       <attribute name="Isolated">false</attribute>
  |       <attribute name="CallByValue">false</attribute>
  |       <attribute name="EnablelibDirectoryByDefault">true</attribute>
  |    </mbean>
  | </server>

My class is inside an ejb3 package.

Any hint, much appreciated.

Edo.

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

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



More information about the jboss-user mailing list