[jboss-user] [Beginners Corner] - Varia Scheduler cannot find class at startup
do-not-reply at jboss.com
Tue Sep 16 20:06:21 EDT 2008
I have seen this before and created a work-around. I have since changed my deployment layout (due to EJB3/Seam) and now my work-around does not work.
The SchedulableClass is inside a jar that is inside an ear. How do I tell where to find the class?
Here is my kludge that used to work. It touches the xml config file which causes JBoss to reload it (after the ear loaded and class is available).
* KLUDGE: could not get dependency to work for scheduler service, cause it to reload config
private void touchScheduler()
String deployDir=System.getProperty("jboss.server.home.dir") + fileSep + "deploy" + fileSep;
File f = new File(deployDir + "scheduler-service.xml");
catch (Exception ex)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176957#4176957
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176957
More information about the jboss-user