Setting

Description

Name

A meaningful name that will help you to identify this JIRA server amongst your list of directory servers. Examples:

  • JIRA
  • Example Company JIRA

Datasource Location

The JNDI name of the JIRA datasource configured in your application server. Example:
java:comp/env/jdbc/YourJiraDatasource

In JIRA standalone distributions (using the default application server, Tomcat 6) you can construct the datasource location as follows:

  1. Open your <jira_install>/conf/server.xml file in a text editor.
  2. Look for the database setup section in that file. It looks something like this:

    <Resource auth="Container"
    driverClassName="com.mysql.jdbc.Driver"
    maxActive="20"
    name="*jdbc/JiraDS*"
    password="jirauser"
    type="javax.sql.DataSource"
    url="jdbc:mysql://localhost/jiradb?useUnicode=true&characterEncoding=UTF8"
    username="jirauser"
    validationQuery="select 1"/>
    
  3. Copy the above lines (the 'Resource' section) and paste it to your Confluence's server.xml file (located at <confluence_install>/conf/server.xml), under the Context path. This will then expose the value of the name attribute as the JNDI resource locator.
  4. Copy the JNDI name from the name parameter. In this example, the datasource location is:
    java:comp/env/jdbc/JiraDS
  • No labels