开发者

Multiple Jira instances on a single Tomcat 6 server?

开发者 https://www.devze.com 2022-12-27 12:50 出处:网络
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 asingle Tomcat server, I can\'t figure out how to pass in the jira.home proper

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 asingle Tomcat server, I can't figure out how to pass in the jira.home property The documentation says I need to:-

Add a web context property called 'jira.home' — this property is set in different files depending on your application server. For example, for Tomcat (and therefore for JIRA Standalone), you will need to configure the server.xml file. For other application servers you may need to configure the web.xml file, or set 'Context parameter' options on the deployment UI of the application server, etc. Note that If you have specified a JIRA home in jira-application.properties (ie. the recommended method), it will override your web context property.

I was hoping something like 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.trans开发者_JAVA技巧action.UserTransaction"
    factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/>
    <Manager pathname=""/>

</Context>

Any ideas??


ah ha! This is what I was looking for!

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

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号