Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Jetty/Howto/Deploy 3rd Party Products/JIRA"

Line 5: Line 5:
  
 
== How to Deploy JIRA ==
 
== How to Deploy JIRA ==
 
 
These instructions have been tested against:
 
These instructions have been tested against:
 
 
{| class="jetty-table"
 
{| class="jetty-table"
 
|-
 
|-
Line 14: Line 12:
 
| 7.0.0.RC1 || 3.13.4 || 2.5 / 2.1 || 1.5 || Atomikos 3.5.5 / HSQLDB 1.8.0.5
 
| 7.0.0.RC1 || 3.13.4 || 2.5 / 2.1 || 1.5 || Atomikos 3.5.5 / HSQLDB 1.8.0.5
 
|}
 
|}
 +
 +
== Steps ==
 +
=== Prepare the JIRA Web Application ===
 +
Start from the JIRA Standalone Distribution, and:
 +
* Copy <tt>$JIRA/common/lib/hsqldb-1.8.0.5.jar</tt> to <tt>$JETTY/lib/ext/hsqldb/hsqldb-1.8.0.5.jar</tt> (create the directories as needed)
 +
* Copy <tt>$JIRA/atlassian-jira</tt> to <tt>$JETTY/contexts-available/atlassian-jira</tt>
 +
* Modify <tt>$JETTY/contexts-available/atlassian-jira/WEB-INF/web.xml</tt>:
 +
** add a <tt>resource-ref</tt> element for the datasource <blockquote>    <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>
 +
</blockquote>
 +
** add

Revision as of 11:07, 21 July 2009


How to Deploy JIRA

These instructions have been tested against:

Jetty JIRA Servlet / JSP JVM Transaction Manager / DataSource
7.0.0.RC1 3.13.4 2.5 / 2.1 1.5 Atomikos 3.5.5 / HSQLDB 1.8.0.5

Steps

Prepare the JIRA Web Application

Start from the JIRA Standalone Distribution, and:

  • Copy $JIRA/common/lib/hsqldb-1.8.0.5.jar to $JETTY/lib/ext/hsqldb/hsqldb-1.8.0.5.jar (create the directories as needed)
  • Copy $JIRA/atlassian-jira to $JETTY/contexts-available/atlassian-jira
  • Modify $JETTY/contexts-available/atlassian-jira/WEB-INF/web.xml:
    • add a resource-ref element for the datasource
      <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>
    • add

Back to the top