...
- Make sure you have the SQL driver in JIRA_INSTALLHOME/lib directory. The driver should be proper one for the type of the database you want to use.
Open JIRA_INSTALLHOME/conf/context.xml file with your favorite text editor. Enter your data source, for instance, between the existing <Context> tags copy the following content:
Code Block title Example for HSQLDB <Resource name="TestDB" auth="Container" type="javax.sql.DataSource" username="sa" password="" driverClassName="org.hsqldb.jdbcDriver" url="jdbc:hsqldb:/tmp/somedb;create=true;" />
- Restart Jira.
...