Hello,
I'm trying to test the "Database Custom Field" plugin and I get error :
2013-01-28 10:39:54,251 ajp-bio-8009-exec-8 ERROR administrateur 639x31x1 15m2yon 172.26.3.20 /secure/QuickEditIssue!default.jspa [commons.jira.kconfig.PluginConfiguration] Database JNDI >>Referentiel<<, error obtaining connection
I've tried first with an Oracle Database and I got the same error. Here are the resources configured in context.xml :
<Context>
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<Resource name="testOracle"
auth="Container" type="javax.sql.DataSource"
username="MyUser"
password="MyPassword"
driverClassName="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@DBServerIP:1522:DBtest"
connectionProperties="SetBigStringTryClob=true"
/>
<Resource name="testMySQL"
auth="Container" type="javax.sql.DataSource"
username="MyUser"
password="MyPassword"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://DBServerIP:3306/referentiel"
/>
</Context>
Of course, I've created database users and granted them the SELECT privilege on the source database/table.
In "Database(JNDI name)" field of "Kepler parameters for all plugins" page, I've put the "Resource name" configured in context.xml.
Any idea ?