jira(war) linux+oracle10g的部署

真的很累,把它配好了常常地喘了口气:~
编译源文件:
地址:http://confluence.atlassian.com/display/JIRA/Installing+JIRA+on+Tomcat+6.0

在$JIRA_INSTALL/edit-webapp/WEB-INF/classes/-application.properties
设置jira.home放置war文件。

$JIRA_INSTALL/edit-webapp/WEB-INF/classes/entityengine.xml

oracle:
<Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"
2.
username=" _[enter db username]"_
3.
password= _"[enter db password]"_
4.
driverClassName="oracle.jdbc.driver.OracleDriver"
5.
url="jdbc:oracle:thin:@localhost:1521:jiradb"
6.
connectionProperties="SetBigStringTryClob=true"
7.
maxActive="20"/>

tomcat server.xml
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" URIEncoding="UTF-8"/>
添加setenv.sh
export CATALINA_OPTS="$CATALINA_OPTS -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true"


需要下载ojdbc14.jar文件http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/见附件
放在tomcat的lib下

需要解压一些通用包到lib下 见附件

在conf/Catalina/localhost/jira.xml
<!--
A sample configuration file for Tomcat 6
Customize the docBase attribute, drop in your $CATALINA_HOME/conf/Catalina/localhost/jira.xml
Note the JOTM dependencies; you'll need to copy various jars to Tomcat's common/lib/ directory.
-->
<Context path="/jira" docBase="/usr/local/apache-tomcat-6.0.20/webapps/atlassian-jira-enterprise-3.13.5/dist-tomcat/tomcat-6/atlassian-jira-3.13.5.war" debug="0">

<!-- NOTE: If you use a database other than hsqldb:
* delete the minEvictableIdleTimeMillis and timeBetweenEvictionRunsMillis attributes
* change the database type in atlassian-jira/WEB-INF/classes/entityengine.xml
-->
<Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"
username="jirauser"
password="jirauser"
driverClassName="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@192.168.1.207:1521:orcl"
connectionProperties="SetBigStringTryClob=true"
maxActive="20"/>

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

</Context>

oracle配置在oracle文章分类中
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值