I have set up a scheduler service to call a class within my .WAR file which sits in the /default/deploy folder.
It works great except?
during startup, JBoss reports that it cannot yet find user class.
I assume it?s because the startup has not deployed my WAR file yet.
After wading through your forums, I found two workarounds:
1) after startup completes, simply ?touch? the scheduler-service.xml file and the scheduler starts correctly.
2) create a my-scheduler-service.xml in the /deploy/deploy.last folder
Is there a more appropriate way to get the ?startup? dependencies set up correctly.
Here?s the contents of my /default//deploy/scheduler-service.xml
attribute name="InitialStartDate">08/15/05 5:00 AM
Classes/libs within a .war are supposed to be isolated (invisible) to other deployments. So, I would repack things as an .ear, and put the common .jar files in a shared class path.