Plugin issue after upgrade to jira 6

Dyego Souza do Carmo February 9, 2014

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

0 votes
RambanamP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 9, 2014

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 :)

Dyego Souza do Carmo February 9, 2014

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

Dyego Souza do Carmo February 9, 2014

Still doesnt work, I'll try to use https://marketplace.atlassian.com/plugins/org.deblauwe.jira.plugin.database-values-plugininstead of our custom plugin.

RambanamP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 9, 2014

did you restarted after made changes on server.xml?

Suggest an answer

Log in or Sign up to answer