JBoss Deployment Failure due to 'Resource-ref jdbc JiraDS Found in jboss-web.xml but Not in web.xml'
Unable to render {include} The included page could not be found.
Symptoms
Jira Application deployment fails, client requests return HTTP status code 404 Not Found
. The following appears in the atlassian-jira.log
:
16:00:10,226 ERROR [MainDeployer] Could not initialise deployment: file:/opt/jboss-4.2.3.GA/server/default/deploy/jira.war/
org.jboss.deployment.DeploymentException: Failed to parse WEB-INF/jboss-web.xml; - nested throwable: (org.jboss.deployment.DeploymentException: resource-ref jdbc/JiraDS found in jboss-web.xml but not in web.xml)
Cause
The JNDI name for the DataSource connection pool has been declared in the container deployment descriptor but there is no matching resource-ref
element in the WEb-INF/web.xml
.
Resolution
Refer to the following article on How to Configure the Jira DataSource on JBoss. Make sure to check for spelling mistakes.
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.