[jboss-jira] [JBoss JIRA] (AS7-5635) Changing the package of a class containing an @Schedule method does not remove previously scheduled method
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Wed Sep 26 01:55:34 EDT 2012
[ https://issues.jboss.org/browse/AS7-5635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721652#comment-12721652 ]
jaikiran pai commented on AS7-5635:
-----------------------------------
Kevin, thanks for reporting this. This is actually a known issue which is being tracked here AS7-4694. I'll mark this one as a duplicate of that other issue.
> Changing the package of a class containing an @Schedule method does not remove previously scheduled method
> ----------------------------------------------------------------------------------------------------------
>
> Key: AS7-5635
> URL: https://issues.jboss.org/browse/AS7-5635
> Project: Application Server 7
> Issue Type: Bug
> Components: EJB
> Affects Versions: 7.1.0.Final
> Reporter: Kevin Hooke
> Assignee: jaikiran pai
> Priority: Minor
>
> If you have a class deployed in a war with a method annotated with @Schedule, if you change the package of the class and redeploy, the server attempts to execute the scheduled method in the previous version of the class.
> It looks like there's some metadata saved to the \standalone\data\timer-service-data\ dir that does not get cleaned up. Deleting the dir that matching the webapp modified and then restarting appears to fix the issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list