Hide Forgot
project_key: SOA See: https://jira.jboss.org/jira/browse/JBAS-7528 If the <property name="scanEnabled">true</property> is omitted, or is set to false, the exception is not raised. If it is set to true, this exception is raised: 13:09:24,038 ERROR [AbstractKernelController] Error installing to Configured: name=HDScanner state=Instantiated java.lang.RuntimeException: Error configuring property: scanEnabled for HDScanner
Attachment: Added: server.log
Link: Added: This issue depends JBAS-7528
The same exception is raised if the server is booted with the property set to false and then set to true while the server is running. 13:29:10,895 ERROR [AbstractKernelController] Error installing to Configured: name=HDScanner state=Instantiated java.lang.RuntimeException: Error configuring property: scanEnabled for HDScanner
Link: Added: This issue is a dependency of JBQA-2973
Writer: Added: dlesage
Thi smbean is AS4 specific: <!-- An mbean for hot deployment/undeployment of archives. --> <mbean code="org.jboss.deployment.scanner.URLDeploymentScanner" name="jboss.deployment:type=DeploymentScanner,flavor=URL"> ... <attribute name="ScanPeriod">5000</attribute> <attribute name="ScanEnabled">False</attribute> ... </mbean> ======================================== In 5.1, removing server/server-profile/deploy/hdscanner-jboss-beans.xml disables hotdeploy
Temporarily reopening to update release note info.
Release Notes Docs Status: Added: Documented as Resolved Issue Release Notes Text: Added: https://issues.jboss.org/browse/JBAS-7528 Setting HDScanner's scanEnabled attribute to true via XML caused an null-pointer exception because the setter logic relied on the fact that the class's create method had already been called. To fix this issues, a test case for the HDScanner has been added. As a result, users will no longer encounter this null-pointer exception.