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