Multiple Jira instances on the same Tomcat 6 server?

I have a feeling this is a stupid question, but I can't find the answer anywhere ...

I need to deploy 2 Jira instances on the same Tomcat server, I can't figure out how to pass the jira.home property the documentation says I need: -

Add a web context property named "jira.home" - This property is set in different files depending on your application server. For example, for Tomcat (and therefore JIRA Standalone), you will need to configure the server.xml file. For other application servers, you may need to customize the web.xml file or set "context parameter" options in the application server deployment UI, and so on. Please note, if you specified the JIRA home in jira-application.properties (i.e. the recommended method), it will override your web context property.

I was hoping this would work.

<Context jira.home="d:/jira/data" path="" docBase="D:\Jira\atlassian-jira-enterprise-4.1\dist-tomcat\tomcat-6\atlassian-jira-4.1.war" debug="0">
    <Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"
            username="sa"
            password="*****"
            driverClassName="net.sourceforge.jtds.jdbc.Driver"
            url="jdbc:jtds:sqlserver://*****:1433/jira41_519;user=****;password=****"
        />

    <Resource name="UserTransaction" auth="Container" type="javax.transaction.UserTransaction"
    factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/>
    <Manager pathname=""/>

</Context>

      

Any ideas?

+2


a source to share


1 answer


ah-ha! That's what I was looking for!



<Parameter name="jira.home" value="d:/jira/dataResearch" override="false"/>

      

+2


a source







All Articles