Difference between revisions of "JIRA"

From Briki
Jump to: navigation, search
(New page: == Configure a new JIRA war instance for mysql and tomcat == * Extract tar.gz file to /opt (eg. /opt/atlassian-jira-enterprise-3.11) * '''sudo cp /media/old/opt/atlassian-jira-enterprise-3...)
 
Line 2: Line 2:
 
* Extract tar.gz file to /opt (eg. /opt/atlassian-jira-enterprise-3.11)
 
* Extract tar.gz file to /opt (eg. /opt/atlassian-jira-enterprise-3.11)
 
* '''sudo cp /media/old/opt/atlassian-jira-enterprise-3.9.1/webapp/WEB-INF/classes/entityengine.xml /opt/atlassian-jira-enterprise-3.11/webapp/WEB-INF/classes/entityengine.xml'''
 
* '''sudo cp /media/old/opt/atlassian-jira-enterprise-3.9.1/webapp/WEB-INF/classes/entityengine.xml /opt/atlassian-jira-enterprise-3.11/webapp/WEB-INF/classes/entityengine.xml'''
* Edit '''/opt/atlassian-jira-enterprise-3.11/webapp/WEB-INF/classes/entityengine.xml''' and change:
+
* Edit ''/opt/atlassian-jira-enterprise-3.11/webapp/WEB-INF/classes/entityengine.xml'' and change:
 
<pre>
 
<pre>
 
     <datasource name="defaultDS" field-type-name="hsql"
 
     <datasource name="defaultDS" field-type-name="hsql"
Line 12: Line 12:
 
</pre>
 
</pre>
 
* '''sudo cp /opt/atlassian-jira-enterprise-3.11/etc/tomcat-5.5-jira.xml  /var/lib/tomcat5.5/conf/Catalina/localhost/jira.xml'''
 
* '''sudo cp /opt/atlassian-jira-enterprise-3.11/etc/tomcat-5.5-jira.xml  /var/lib/tomcat5.5/conf/Catalina/localhost/jira.xml'''
* Edit '''/var/lib/tomcat5.5/conf/Catalina/localhost/jira.xml''', delete the resource named , and replace with:
+
* Edit ''/var/lib/tomcat5.5/conf/Catalina/localhost/jira.xml'', delete the resource named , and replace with:
 
<pre>
 
<pre>
 
<Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"
 
<Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"
Line 20: Line 20:
 
           url="jdbc:mysql://localhost/jira?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=UTF8"/>
 
           url="jdbc:mysql://localhost/jira?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=UTF8"/>
 
</pre>
 
</pre>
 +
* From ''/opt/atlassian-jira-enterprise-3.11'', run '''sudo ./build.sh war'''

Revision as of 11:59, 16 November 2007

Configure a new JIRA war instance for mysql and tomcat

  • Extract tar.gz file to /opt (eg. /opt/atlassian-jira-enterprise-3.11)
  • sudo cp /media/old/opt/atlassian-jira-enterprise-3.9.1/webapp/WEB-INF/classes/entityengine.xml /opt/atlassian-jira-enterprise-3.11/webapp/WEB-INF/classes/entityengine.xml
  • Edit /opt/atlassian-jira-enterprise-3.11/webapp/WEB-INF/classes/entityengine.xml and change:
    <datasource name="defaultDS" field-type-name="hsql"
       schema-name="PUBLIC"

to

    <datasource name="defaultDS" field-type-name="mysql"
  • sudo cp /opt/atlassian-jira-enterprise-3.11/etc/tomcat-5.5-jira.xml /var/lib/tomcat5.5/conf/Catalina/localhost/jira.xml
  • Edit /var/lib/tomcat5.5/conf/Catalina/localhost/jira.xml, delete the resource named , and replace with:
<Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"
          username="jira"
          password="jira"
          driverClassName="com.mysql.jdbc.Driver"
          url="jdbc:mysql://localhost/jira?autoReconnect=true&useUnicode=true&characterEncoding=UTF8"/>
  • From /opt/atlassian-jira-enterprise-3.11, run sudo ./build.sh war