MSSQL JDBC driver newer than 7.0 cannot be installed

Description

MSSQL JDBC driver 7.0.0 installs fine. Trying to install either 7.2.0 or 7.2.1 results in:

Unable to resolve com.microsoft.sqlserver.mssql-jdbc [52](R 52.0): missing requirement [com.microsoft.sqlserver.mssql-jdbc [52](R 52.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.6.0)(

(version>=2.0.0)))]

Environment

Lucee 5.3.2.63. (also tested 5.3.2.74-RC)

Activity

Michael Offner 12 August 2019 at 12:58

we updated all 7.x mssql drivers

Zac Spitzer 2 August 2019 at 11:31

It’s working for me with Lucee 5.3.4.22-SNAPSHOT too (win10)

Leon Miller-Out 30 July 2019 at 13:59

mssql-jdbc 7.2.2.jre8 installed correctly for me on Lucee 5.3.3.54-SNAPSHOT.

Pothys - MitrahSoft 30 July 2019 at 06:29

Hi ,

Now, Again I checked it. The MSSQL driver updated successfully without any error. I think the issue was fixed right now. Could you please check it.

Michael Offner 19 July 2019 at 17:26

problem is this version come with a new way to activate jdbc drivers via OSGi that is very specific to Microsoft and not supported with Felix.

we need to rewrite the Manifest of the jars in question and make the impart packages

  • org.osgi.framework

  • org.osgi.service.jdbc

and disable the activator

 

Fixed

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Affects versions

Created 9 May 2019 at 15:17
Updated 6 May 2021 at 06:59
Resolved 12 August 2019 at 12:58