[jboss-jira] [JBoss JIRA] (WFLY-12487) Include the original cause of deployment failure when trying to find jsf-injection module
Jaikiran Pai (Jira)
issues at jboss.org
Wed Sep 4 10:37:00 EDT 2019
Jaikiran Pai created WFLY-12487:
-----------------------------------
Summary: Include the original cause of deployment failure when trying to find jsf-injection module
Key: WFLY-12487
URL: https://issues.jboss.org/browse/WFLY-12487
Project: WildFly
Issue Type: Enhancement
Components: JSF
Affects Versions: 17.0.1.Final
Reporter: Jaikiran Pai
Assignee: Jaikiran Pai
When processing a JSF deployment, if the user has configured a different vendor/version of JSF implementation to use, then one step involves setting up the (JBoss) modules correctly for such a custom implementation. Details of which are here[1].
If for whatever reason, the module setup isn't correctly done, then the deployment can run into a deployment exception which looks like:
{quote}
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYJSF0016: Failed to inject JSF from slot mojarra-2.2.8.21
at org.jboss.as.jsf.deployment.JSFDependencyProcessor.addJSFInjection(JSFDependencyProcessor.java:156)
at org.jboss.as.jsf.deployment.JSFDependencyProcessor.deploy(JSFDependencyProcessor.java:97)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:176) [wildfly-server-9.0.2.Final.jar:9.0.2.Final]
{quote}
One such example is reported by an user here[2].
That exception stacktrace can be improved a bit if the original cause is included in it, to make it easier to debug such issues.
[1] https://docs.jboss.org/author/display/WFLY/JSF+Configuration#JSFConfiguration-InstallinganewJSFimplementationmanually
[2] https://developer.jboss.org/thread/280549
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
More information about the jboss-jira
mailing list