I have deployed Jar file with my classes, and I have a JBoss scheduler service defined in my deploy directory.
When I copy a new Jar file to deploy a new version of my application, the scheduler seems to execute old code. It's like the schedule classloader is holding onto references to the old code. The only way I've figured out how to fix this is to restart JBoss, which is obviously not desirable. Is there any way around this? Here is how my schedule is setup: | <mbean code="org.jboss.varia.scheduler.Scheduler" name=":service=ScoFTP"> | <attribute name="StartAtStartup">true</attribute> | <attribute name="SchedulableClass">com.lvlomas.erp.scheduler.ScoTenderConfirmationProcessor</attribute> | <attribute name="SchedulableArguments"></attribute> | <attribute name="SchedulableArgumentTypes"></attribute> | <attribute name="InitialStartDate">0</attribute> | <attribute name="SchedulePeriod">50000</attribute> | <attribute name="InitialRepetitions">-1</attribute> | <attribute name="FixedRate">true</attribute> | </mbean> | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118778#4118778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118778 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
