На главную страницу сайта Teamlead
Базы знаний Teamlead
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<Context path="" docBase="${catalina.home}/atlassian-jira" reloadable="false"> <Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource" username="jirauser" password="123" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost/jiramedit?useUnicode=true&characterEncoding=UTF8" maxActive="20" validationQuery="select 1"/> <!-- NOTE: When a database server reboots or their is a network failure all the connections in the * connection pool are broken and normally this requires a Application Server reboot. If you include the * parameter validationQuery="{QUERY FOR YOUR DB HERE} as show below a new connection is created to replace it. * For more information see http://confluence.atlassian.com/display/JIRA/Surviving+Connection+Closures * * validationQuery="Select 1" --> <!-- 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="UserTransaction" auth="Container" type="javax.transaction.UserTransaction" factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/> <Manager pathname=""/> </Context> |
...