[jboss-jira] [JBoss JIRA] Created: (JBAS-7604) HDScanner start() ignores config property scanEnabled
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Thu Jan 7 18:53:30 EST 2010
HDScanner start() ignores config property scanEnabled
-----------------------------------------------------
Key: JBAS-7604
URL: https://jira.jboss.org/jira/browse/JBAS-7604
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: ProfileService
Affects Versions: JBossAS-6.0.0.M1, JBossAS-5.1.0.GA
Reporter: Brian Stansberry
Assignee: Scott M Stark
The setter for the scanEnabled property does not cache the value, it only uses it to cancel an already-started scheduled task. If the setter is called during bean configuration, there is no scheduled task, the setter essentially becomes a no-op, and when start() is called the task is scheduled.
Effect is the only way to disable HDScanner via configuration is to remove the deployment; you can't leave it deployed but configure whether it is enabled (e.g. with a system property).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list