分享

linux+oracle10g的部署

 krrish 2010-03-26
真的很累,把它配好了常常地喘了口气:~
编译源文件:
地址:http://confluence./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条评论

    发表

    请遵守用户 评论公约

    类似文章 更多