We are not sure where to look next. We are getting the following error on the Kepler Database Custom Field Plugin: Error rendering 'databaseinput'. Please contact your JIRA administrators.
Here are the details:
<?xml version='1.0' encoding='utf-8'?> <Context> --> <WatchedResource>WEB-INF/web.xml</WatchedResource> <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource> <Resource name="JIRACustomTables" auth="Container" type="javax.sql.DataSource" username="username" password="password" driverClassName="net.sourceforge.jtds.jdbc.Driver" url="jdbc:jtds:sqlserver://1.1.1.1:1433/JIRACustomTables" /> </Context>
We are really at a loss as to what to check next. We are looking for guidance on next steps.
Hi Eric,
You will need to upgrade the jdbc driver, the Microsoft JDBC Drivers 4.2 for SQL Server should resolve your problem.
Best regards,
Alex
I spent hours researching this. The clue was in @Alexandru Geageac comment to upgrade to MS JDBC drivers. Since JIRA 7 uses Tomcat 8 I kept failing because the wrong jar was being loaded. so for Tomcat 8 JIRA 7 download and copy Microsoft's "sqljdbc4.jar" file into the JIRA \lib directory.
Then change your JIRA conf\context.xml connection as follows, substituting for your own CONNECTION_NAME, USERNAME, PASSWORD, SERVER, PORT, and DATABASE_NAME. Be sure to use the semi-colons in the url string:
<Resource name="CONNECTION_NAME" auth="Container" type="javax.sql.DataSource" username="USERNAME" password="PASSWORD" driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver" url="jdbc:sqlserver://SERVER:PORT;DatabaseName=DATABASE_NAME"/>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did this require a restart for the changes to take place?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yup, you should restart the JIRA instance...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dan thank you for pointing to the right direction, I had to use sqljdbc42.jar instead for JIRA 7.1.7
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you tell me where you found this file? Every time I try to download it from MSFT, I get directed the 4 version instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Fantastic resolution Dan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.