We are on version 5.3.10.63-SNAPSHOT, and we’re trying to upgrade the Oracle driver from 12.0.1.0 to 19.2.0.0000. No matter what we try, we always get the following error (the number 66 and 66.0 can vary and change):
lucee.runtime.exp.NativeException: Unresolved constraint in bundle org.lucee.oracle [66]: Unable to resolve 66.0: missing requirement [66.0] osgi.ee; (&(osgi.ee=JavaSE)(version=10)) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4097) at org.apache.felix.framework.Felix.startBundle(Felix.java:2114) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:977) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:964) at lucee.loader.osgi.BundleUtil.start(BundleUtil.java:135) at lucee.loader.osgi.BundleUtil.start(BundleUtil.java:133) at lucee.runtime.osgi.OSGiUtil._start(OSGiUtil.java:1266) at lucee.runtime.osgi.OSGiUtil._startIfNecessary(OSGiUtil.java:1219) at lucee.runtime.osgi.OSGiUtil._loadBundle(OSGiUtil.java:526) at lucee.runtime.osgi.OSGiUtil.loadBundle(OSGiUtil.java:504) at lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:153) at lucee.transformer.library.ClassDefinitionImpl.getClazz(ClassDefinitionImpl.java:110) at lucee.runtime.config.XMLConfigAdmin.setClass(XMLConfigAdmin.java:6695) at lucee.runtime.config.XMLConfigAdmin._updateJDBCDriver(XMLConfigAdmin.java:1803) at lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:5040) at lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4701) at lucee.runtime.config.XMLConfigAdmin._updateRHExtension(XMLConfigAdmin.java:4683) at lucee.runtime.tag.Admin.doUpdateRHExtension(Admin.java:4343) at lucee.runtime.tag.Admin._doStartTag(Admin.java:768) at lucee.runtime.tag.Admin.doStartTag(Admin.java:355) at ext_applications_cfm184$cf.call(/admin/ext.applications.cfm:81) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1017) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:940) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:921) at web_cfm$cf.call(/admin/web.cfm:492) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1017) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:940) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:921) at server_cfm$cf.call(/admin/server.cfm:2) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1017) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:940) at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:219) at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:44) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2485) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2470) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2441) at lucee.runtime.engine.Request.exe(Request.java:45) at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1216) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1162) at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:102) at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:798) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1434) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle org.lucee.oracle [66]: Unable to resolve 66.0: missing requirement [66.0] osgi.ee; (&(osgi.ee=JavaSE)(version=10)) … 63 more
We are moving our Oracle from 12c to 19c, and whatever articles we found concerning this do not seem to work.
@harry.devine Can you please mention your java version?
For me, updating the oracle Database version 12.1.0.2 to 19.12.0.0000 with java 11, it was successfully updated. But It throws the same error with java 8.
OpenJDK 64-Bit Server VM (build 25.342-b07, mixed mode)
[root@server1 ~]#cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.9 (Maipo)
I believe that the Java version is the highest that Red Hat supports in 7.9 and 8.6. We try to not use outside repositories to ensure that everything is uniform across our systems.
OpenJDK 64-Bit Server VM (Red_Hat-11.0.16.0.8-1.el7_9) (build 11.0.16+8-LTS, mixed mode, sharing)
However, when I try to install the Oracle 19.12.0.0000 again, I still get the same error:
Unresolved constraint in bundle org.lucee.oracle [59]: Unable to resolve 59.0: missing requirement [59.0] osgi.ee; (&(osgi.ee=JavaSE)(version=10))
lucee.runtime.exp.NativeException: Unresolved constraint in bundle org.lucee.oracle [59]: Unable to resolve 59.0: missing requirement [59.0] osgi.ee; (&(osgi.ee=JavaSE)(version=10)) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4097) at org.apache.felix.framework.Felix.startBundle(Felix.java:2114) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:977) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:964) at lucee.loader.osgi.BundleUtil.start(BundleUtil.java:135) at lucee.loader.osgi.BundleUtil.start(BundleUtil.java:133) at lucee.runtime.osgi.OSGiUtil._start(OSGiUtil.java:1227) at lucee.runtime.osgi.OSGiUtil._startIfNecessary(OSGiUtil.java:1180) at lucee.runtime.osgi.OSGiUtil.startIfNecessary(OSGiUtil.java:1175) at lucee.runtime.osgi.OSGiUtil._loadBundle(OSGiUtil.java:551) at lucee.runtime.osgi.OSGiUtil.loadBundle(OSGiUtil.java:503) at lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:155) at lucee.transformer.library.ClassDefinitionImpl.getClazz(ClassDefinitionImpl.java:110) at lucee.runtime.config.XMLConfigAdmin.setClass(XMLConfigAdmin.java:6611) at lucee.runtime.config.XMLConfigAdmin._updateJDBCDriver(XMLConfigAdmin.java:1799) at lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:5003) at lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4692) at lucee.runtime.config.XMLConfigAdmin._updateRHExtension(XMLConfigAdmin.java:4674) at lucee.runtime.tag.Admin.doUpdateRHExtension(Admin.java:4344) at lucee.runtime.tag.Admin._doStartTag(Admin.java:767) at lucee.runtime.tag.Admin.doStartTag(Admin.java:355) at ext_applications_cfm184$cf.call(/admin/ext.applications.cfm:81) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1015) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:938) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:919) at web_cfm$cf.call(/admin/web.cfm:492) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1015) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:938) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:919) at server_cfm$cf.call(/admin/server.cfm:2) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1015) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:938) at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:219) at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:44) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2482) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2468) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2439) at lucee.runtime.engine.Request.exe(Request.java:45) at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1198) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1144) at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:102) at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:798) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1434) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle org.lucee.oracle [59]: Unable to resolve 59.0: missing requirement [59.0] osgi.ee; (&(osgi.ee=JavaSE)(version=10)