[jboss-jira] [JBoss JIRA] (WFLY-1323) Log extension module loading errors other than ModuleNotFoundException at ERROR
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Wed May 8 11:03:53 EDT 2013
Brian Stansberry created WFLY-1323:
--------------------------------------
Summary: Log extension module loading errors other than ModuleNotFoundException at ERROR
Key: WFLY-1323
URL: https://issues.jboss.org/browse/WFLY-1323
Project: WildFly
Issue Type: Task
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 8.0.0.Alpha1
ExtensionAddHandler is converting all ModuleLoadExceptions to OFE, which means they only get logged at DEBUG post-boot.
This can be more precise -- a ModuleNotFoundException is likely a user error (wrong module name) and thus should get the current treatment. But other ModuleLoadExceptions likely indicate some issue with the server installation and deserve ERROR level logging. Solution is to wrap those in a RuntimeException instead of an OFE.
--
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