真的很累,把它配好了常常地喘了口气:~
编译源文件: 地址: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文章分类中 |
|