When I tried to update the mssql driver from 7.4.1.jre8 to 8.4.1.jre8, I got the error:
Unable to resolve org.lucee.mssql [65](R 65.0): missing requirement [org.lucee.mssql [65](R 65.0)] osgi.wiring.package; (osgi.wiring.package=org.bouncycastle.jce.provider) Unresolved requirements: [[org.lucee.mssql [65](R 65.0)] osgi.wiring.package; (osgi.wiring.package=org.bouncycastle.jce.provider)]
As it turned out the error only occurs, when the pdf extension is uninstalled. It contains a dependency (Required Bundle) to bouncycastle.prov which is probably missing in the mssql bundle.
Reproduce
- Install/Downgrade extension: Microsoft SQL Server 7.4.1.jre8
- Uninstall: PDF Extension
- Update extension: Microsoft SQL Server 8.4.1.jre8
Fix
- Install: PDF Extension
- Update extension: Microsoft SQL Server 8.4.1.jre8
Resources
osgi-bundle-pdfbox/pom.xml at master · lucee/osgi-bundle-pdfbox · GitHub
osgi-bundle-mssql/pom.xml at master · lucee/osgi-bundle-mssql · GitHub
Dependency docs
https://mvnrepository.com/artifact/com.microsoft.sqlserver/mssql-jdbc/7.4.1.jre8
https://mvnrepository.com/artifact/com.microsoft.sqlserver/mssql-jdbc/8.4.1.jre8