Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  • в файле jira-application.properties обновляем путь к папке Program Files\Atlassian\Aplication Data, если он изменился.
  • в файле server.xml обновляем настройки подключения к базе данных, порты и хосты, если они изменились.
    Code Block
    langxml
    titleПример настроек контекста для базы MySQL
    langxml
    <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&amp;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>
    

...