I cannot seem to get this plugin to work.
I have added the following resource in server.xml:
<Resource name="jdbc/myDB"
auth="Container" type="javax.sql.DataSource"
username="userName"
password="password"
driverClassName="net.sourceforge.jtds.jdbc.Driver"
url="jdbc:jtds:sqlserver://myserver:1433;database=MyDb;"
/>
I have used this JNDI Name: java:comp/env/jdbc/myDB
and I get this error in the log:
2013-10-03 06:56:03,531 http-bio-8080-exec-2 ERROR user 416x85x1 vawvqi 10.255.32.85 /secure/QuickCreateIssue!default.jspa [commons.jira.kconfig.PluginConfiguration] Database JNDI >>java:comp/env/jdbc/myDB<<, error obtaining connection
2013-10-03 06:56:03,531 http-bio-8080-exec-2 ERROR user 416x85x1 vawvqi 10.255.32.85 /secure/QuickCreateIssue!default.jspa [databasecf.querydb.impl.QueryDatabaseImpl] Not connected. Possible database misconfiguration ?
2013-10-03 06:56:03,531 http-bio-8080-exec-2 ERROR user 416x85x1 vawvqi 10.255.32.85 /secure/QuickCreateIssue!default.jspa [databasecf.querydb.impl.QueryDatabaseImpl] Could not execute SQL query >>