一.按照我前两个文章已经安装好了confluence与 jira,现在 将D:confluenceconfluence-3.4.5目录下的 confluence复制到 D:jiraatlassian-jira-enterprise-4.2.4目录下
  二.修改D:jiraatlassian-jira-enterprise-4.2.4confserver.xml
  再 <Host name="localhost"  里面追加
  Xml代码  收藏代码
  <Context path="/wiki" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">
  <!-- Logger is deprecated in Tomcat 5.5. Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties -->
  <Manager pathname="" />
  </Context>
  至此app集成完成
  三.MySql的集成
  在wiki的context
  里加入
  Xml代码  收藏代码
  <Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"
  username="root"
  password="0"
  driverClassName="com.mysql.jdbc.Driver"
  url="jdbc:mysql://localhost/jiradb?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=UTF8"/>
  参考资料http://confluence.atlassian.com/display/CONF34/Delegate+user+management+to+use+JIRA+logins
  找到/confluence/WEB-INF/classes下的 osuser.xml 文件
  注释掉 一下代码
  Xml代码  收藏代码
  <provider class="bucket.user.providers.CachingCredentialsProvider">
  <property name="chain.classname">com.opensymphony.user.provider.hibernate.HibernateCredentialsProvider</property>
  <property name="chain.configuration.provider.class">bucket.user.BucketHibernateConfigProvider</property>
  </provider>
  <provider class="bucket.user.providers.CachingAccessProvider">
  <property name="chain.classname">com.opensymphony.user.provider.hibernate.HibernateAccessProvider</property>
  <property name="chain.configuration.provider.class">bucketuser.BucketHibernateConfigProvider</property>
  </provider>
  <provider class="bucket.user.providers.CachingProfileProvider">
  <property name="chain.classname">com.opensymphony.user.provider.hibernate.HibernateProfileProvider</property>
  <property name="chain.configuration.provider.class">bucket.user.BucketHibernateConfigProvider</property>
  </provider>
  反注释 以下代码块
  Xml代码  收藏代码
  <provider class="bucket.user.providers.CachingCredentialsProvider">
  <property name="chain.classname">com.atlassian.confluence.user.providers.jira.JiraJdbcCredentialsProvider</property>
  <property name="chain.datasource">java:comp/env/jdbc/JiraDS</property>
  </provider>
  <provider class="bucket.user.providers.CachingAccessProvider">
  <property name="chain.classname">com.atlassian.confluence.user.providers.jira.JiraJdbcAccessProvider</property>
  <property name="chain.datasource">java:comp/env/jdbc/JiraDS</property>
  </provider>
  <provider class="bucket.user.providers.CachingProfileProvider">
  <property name="chain.classname">com.atlassian.confluence.user.providers.jira.JiraJdbcProfileProvider</property>
  <property name="chain.datasource">java:comp/env/jdbc/JiraDS</property>
  <property name="chain.configuration.provider.class">bucket.user.BucketHibernateConfigProvider</property>
  </provider>