Plugin issue after upgrade to jira 6

We have an in house developed plugin that connects to a database in another server to pull data for a custom field.

In jira5 the database connection info for this plugin was located in server.xml in the following format

<Resource
name="jdbc/CustomPlugDS"
auth="Container"
type="javax.sql.DataSource"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://192.168.0.112/ClientListDB"
username="roaccess"
password="9519wj84"
minEvictableIdleTimeMillis="4000"
timeBetweenEvictionRunsMillis="5000"
maxActive="20"/>

After updating to jira 6 that connection info wasnt migrated, and I have no idea where to specify it, any ideas?

1 answer

customisations are not copied while migrating so you need to manually copy the this code to server.xml which will be located at ..../JIRA/conf/server.xml

i suggest to don't public your username and password for public :)

I'll try that, and dont worry, that username/pass is bogus :)

did you restarted after made changes on server.xml?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

140 views 1 17
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you