JIRA Fails to Deploy on WebSphere due to Missing JNDI ResourceRef

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 deployment fails and the application is unavailable. JIRA is not populating the database schema. The logs indicate query failures.

Cause

The JNDI Datasource object is not published in the application namespace, and there is a missing entry in WEB-INF/web.xml.

Resolution

Uncomment the following block in WEB-INF/web.xml:


    <!-- resource references -->
    <!-- Uncomment for WebSphere
    <resource-ref>
        <description>Database for JIRA</description>
        <res-ref-name>jdbc/JiraDS</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>SERVLET</res-auth>
        <res-sharing-scope>Unshareable</res-sharing-scope>
    </resource-ref>
    Uncomment for WebSphere -->

Last modified on Feb 23, 2016

Was this helpful?

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