MSSQL ext missing OSGI dependency org.bouncycastle.jce.provider

Description

[java] [script] Manually installing extension /home/runner/work/extension-jdbc-mssql/extension-jdbc-mssql/dist/org.lucee.mssql-8.4.1.jre8.lex
[java] [script] {"Extended_Info":"","Message":"Unable to resolve org.lucee.mssql [51](R 51.0): missing requirement [org.lucee.mssql [51](R 51.0)] osgi.wiring.package; (osgi.wiring.package=org.bouncycastle.jce.provider) Unresolved requirements: [[org.lucee.mssql [51](R 51.0)] osgi.wiring.package; (osgi.wiring.package=org.bouncycastle.jce.provider)]","Detail":"","additional":[],"TagContext":[],"ErrorCode":"0","type":"org.osgi.framework.BundleException","StackTrace":"lucee.runtime.exp.NativeException: Unable to resolve org.lucee.mssql [51](R 51.0): missing requirement [org.lucee.mssql [51](R 51.0)] osgi.wiring.package; (osgi.wiring.package=org.bouncycastle.jce.provider) Unresolved requirements: [[org.lucee.mssql [51](R 51.0)] osgi.wiring.package; (osgi.wiring.package=org.bouncycastle.jce.provider)]

https://github.com/lucee/extension-jdbc-mssql/runs/4977947331?check_suite_focus=true#step:10:152

this is found due to the github actions now testing with only lucee light and no other extensions

Environment

None

Activity

Show:

Zac Spitzer 11 March 2022 at 19:04

has 1 less

Michael Offner 11 March 2022 at 18:16

this jars have a lot of dependecies

Michael Offner 11 March 2022 at 18:14

actually this is also goog news, the changes do work. we no longer have the exception about “org.bouncycastle.jce.provider“.

now it compains about org.bouncycastle.openssl and this is a different jar. so the mapping does work.

Same for version 9

Zac Spitzer 11 March 2022 at 14:07

8.4.1.jre8 still throws an exception

 [java]    [script] WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
     [java]    [script] lucee.runtime.exp.NativeException: Unable to resolve org.lucee.mssql [51](R 51.0): missing requirement [org.lucee.mssql [51](R 51.0)] osgi.wiring.package; (osgi.wiring.package=org.bouncycastle.openssl) Unresolved requirements: [[org.lucee.mssql [51](R 51.0)] osgi.wiring.package; (osgi.wiring.package=org.bouncycastle.openssl)]
     [java]    [script]         at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
     [java]    [script]         at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
     [java]    [script]         at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
     [java]    [script]         at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
     [java]    [script]         at lucee.loader.osgi.BundleUtil.start(BundleUtil.java:112)
     [java]    [script]         at lucee.loader.osgi.BundleUtil.start(BundleUtil.java:108)
     [java]    [script]         at lucee.runtime.osgi.OSGiUtil._start(OSGiUtil.java:1223)

and 9.4.1.jre16

  [java]    [script] WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
     [java]    [script] lucee.runtime.exp.NativeException: Unable to resolve org.lucee.mssql [51](R 51.0): missing requirement [org.lucee.mssql [51](R 51.0)] osgi.wiring.package; (osgi.wiring.package=com.microsoft.aad.msal4j) Unresolved requirements: [[org.lucee.mssql [51](R 51.0)] osgi.wiring.package; (osgi.wiring.package=com.microsoft.aad.msal4j)]
     [java]    [script]         at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
     [java]    [script]         at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
     [java]    [script]         at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
     [java]    [script]         at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
     [java]    [script]         at lucee.loader.osgi.BundleUtil.start(BundleUtil.java:112)
     [java]    [script]         at lucee.loader.osgi.BundleUtil.start(BundleUtil.java:108)
     [java]    [script]         at lucee.runtime.osgi.OSGiUtil._start(OSGiUtil.java:1223)
     [java]    [script]         at lucee.runtime.osgi.OSGiUtil._startIfNecessary(OSGiUtil.java:1176)
     [java]    [script]         at lucee.runtime.osgi.OSGiUtil.startIfNecessary(OSGiUtil.jav

Michael Offner 11 March 2022 at 13:43

please give this a try

Unresolved

Details

Assignee

Reporter

Priority

Fix versions

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

Created 31 January 2022 at 14:51
Updated 5 July 2024 at 13:33