useBodyEncodingForURI="true"
Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/
--><Connector port="8080"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
debug="0" connectionTimeout="20000"
disableUploadTimeout="true" useBodyEncodingForURI="true"/>
<!-- NOTE: If NOT using hsqldb, delete the next two parameters -->
<!-- Give unused connections 4 secs before eviction. -->
minEvictableIdleTimeMillis
4000
<!-- Check for evictions every 5 secs. -->
timeBetweenEvictionRunsMillis
5000
修改后的jira.xml文件如下:14. 启动tomcat,敲入http://.../jira,应该就能看到JIRA的配置向导了
Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/
--><!--
A sample configuration file for Tomcat 4.1.x and 5.0
Customize the docBase attribute, drop in your $CATALINA_HOME/webapps/ (4.1.x) or
$CATALINA_HOME/conf/Catalina/localhost/ (5.0) directory and restart Tomcat.
Note the JOTM dependencies; you'll need to copy various jars to Tomcat's common/lib/ directory.
See http://www.atlassian.com/software/jira/docs/latest/servers/tomcat41.html for details.-->
<Context path="/jira" docBase="C:usrApacheTomcat5webappsjira" debug="0">
<Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/JiraDS">
<parameter>
<name>driverClassNamename>
<!-- NOTE: if you change the database type, you will need to change it in WEB-INF/classes/entityengine.xml -->
<value>com.mysql.jdbc.Drivervalue>
parameter>
<parameter>
<name>urlname>
<value>jdbc:mysql://localhost/jiradb?autoReconnect=true&useUnicode=true&characterEncoding=UTF8&mysqlEncoding=utf8value>
parameter>
<parameter>
<name>usernamename>
<value>jirauservalue>
parameter>
<parameter>
<name>passwordname>
<value>mypasswordvalue>
parameter>
<parameter>
<name>factoryname>
<value>org.apache.commons.dbcp.BasicDataSourceFactoryvalue>
parameter>
ResourceParams>
<Resource name="UserTransaction" auth="Container" type="javax.transaction.UserTransaction"/>
<ResourceParams name="UserTransaction">
<parameter>
<name>factoryname>
<value>org.objectweb.jotm.UserTransactionFactoryvalue>
parameter>
<parameter>
<name>jotm.timeoutname>
<value>60value>
parameter>
ResourceParams>Context>
(全文完)
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/16629/viewspace-78740/ ,如需转载,请注明出处,否则将追究法律责任。