Database Custom Field plugin database connection

Moshe Hazan March 13, 2016

Hi All,

I am using JIRA 7.1 with MSSQL DB, when trying to add the following to context.xml in order to extract data out of the DB with sil script JIRA is not mounting (UI not service ) when i revert back context.xml  JIRA works.

Not sure if its issue with Syntax or wrong driver.

<Resource name=Optitexdb
          auth=Container
type=javax.mssql.DataSource
          username=sa
          password=******
          driverClassName=com.mssql.jdbc.Driver
          jdbc:jtds:sqlserver://optitexdb:14333/Jira

 

1 answer

0 votes
Павел August 1, 2016

Try it

<Resource name="YourName"
auth="Container"
type="javax.sql.DataSource"
username="user"
password="password"
driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
url="jdbc:sqlserver://adress:port(1433);DatabaseName=nameDB"/>

Suggest an answer

Log in or Sign up to answer