JBoss Deployment Failure due to 'Resource-ref jdbc JiraDS Has No Valid JNDI Binding'

Still need help?

The Atlassian Community is here for you.

Ask the community

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.
Logs report the following errors:


16:13:20,294 ERROR [MainDeployer] Could not start deployment: file:/opt/jboss-4.2.3.GA/server/default/deploy/jira.war/
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: resource-ref: jdbc/JiraDS has no valid JNDI binding. Check the jboss-web/resource-ref.)

Cause

The JNDI name for the DataSource connection pool has been declared in the web application deployment descriptor WEB-INF/web.xml but there is no matching resource-ref element in the container specific descriptor WEB-INF/jboss-web.xml.

Resolution

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.