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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

64 views 0 5
Read article

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