Database Custom Field plugin DB configuration Context.xml creation

Installed the plugin on jira 5.1.8

in my Jira Home directory the \conf directory wasn't existing (normal?)

I created it and then created a file context.xml in it.

File content :

<Resource name="testDB"
      auth="Container" type="javax.sql.DataSource"
      username="****"
      password="****"
      driverClassName="net.sourceforge.jtds.jdbc.Driver"
      url="jdbc:jtds:sqlserver://MSR-UAT-DB01"
 />

I'm getting :

[commons.jira.kconfig.PluginConfiguration] Database JNDI >>testDB<< is not defined

in my catalina logs.

So I understand the conf/context.xml should go somewhere else I did not understood.

Any help would be greatly appreciated.

Michel

3 answers

1 accepted

OK the file was somewhere else on my installation. I don't know why. Anyway File found, edited, restarted jira. All works. Thanks

The conf directory should already exist in your Jira installation folder, next to atlassian-jira and bin folders.

I too face the same problem. i created a conf folder and added conext.xml and created a lib folder and added ojdbc14.jar. Still i am getting the error [commons.jira.kconfig.PluginConfiguration] Database JNDI >>testDB<< is not defined

please any one help me to sort it out, urgent!!!

You do not have to create the conf folder and the context.xml file. They should already be present in the Jira installation directory, as I mentioned above.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,305 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot