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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,959 views 19 22
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