xebialabs / xl-docker-images

Docker images for XL Release and XL Deploy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xl-release mssql database issue

seekjp opened this issue · comments

Hi,

When MS SQL Server is used as the database the container is failing to start with below issue. Seems to be issue with the jdbc version of the driver used.
-rw-rw-r-- 1 root root 825389 Jul 21 13:52 mssql-jdbc-6.2.2.jre8.jar
$ pwd
/opt/xebialabs/db-libs

2020-08-06 16:34:10.207 [main] {} INFO c.x.xlrelease.service.FolderService - Creating folder Samples & Tutorials with id Applications/FolderSamplesAndTutorials
2020-08-06 16:34:11.406 [main] {} WARN o.s.w.c.s.XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceStarter': Invocation of init method failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: PreparedStatementCallback; SQL [SELECT
rel.CI_UID,
rel.RELEASE_ID,
rel.SECURITY_UID,
f.FOLDER_PATH,
f.FOLDER_ID,
rel.RISK_SCORE,
rel.TOTAL_RISK_SCORE,
d.CONTENT,
rel.SCM_DATA,
rel.PLANNED_DURATION,
rel.IS_OVERDUE_NOTIFIED
FROM XLR_RELEASES rel
INNER JOIN XLR_RELEASES_DATA d ON rel.CI_UID = d.CI_UID
INNER JOIN XLR_FOLDERS f ON f.CI_UID = rel.FOLDER_CI_UID
WHERE rel.RELEASE_ID = ?]; This operation is not supported.; nested exception is java.sql.SQLFeatureNotSupportedException: This operation is not supported.
2020-08-06 16:34:11.410 [main] {} INFO c.x.x.r.j.impl.ReportExecutorService - Shutting down thread pool 'report'

@seekjp Still facing this issue?