Error Updating Lucee 5 S3 Extension

My server admin indicated that the S3 and MSSQL extensions needed to be
updated. The MSSQL extension updated fine but when I tried to update the S3
extension, an error was thrown. Afterwards, the extension appeared as “Not
Installed”. I tried to install the extension and the following error was
thrown. I’m 99% sure it is the same original error:

Lucee 5.0.0.252 Error (4)
Message Unresolved constraint in bundle s3.extension [86]: Unable to
resolve 86.0: missing requirement [86.0] osgi.wiring.bundle;
(&(osgi.wiring.bundle=org.lucee.httpcomponents.httpcore)(bundle-version>=4.4.4))
Cause org.osgi.framework.BundleException
Stacktrace The Error Occurred in
/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/ext.applications.cfm:
line 101

called from /Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/web.cfm:
line 389
called from /Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/server.cfm:
line 2
Java Stacktrace lucee.runtime.exp.NativeException: Unresolved constraint in
bundle s3.extension [86]: Unable to resolve 86.0: missing requirement
[86.0] osgi.wiring.bundle;
(&(osgi.wiring.bundle=org.lucee.httpcomponents.httpcore)(bundle-version>=4.4.4))
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:130)
at lucee.runtime.osgi.OSGiUtil.start(OSGiUtil.java:687)
at lucee.runtime.osgi.OSGiUtil.startIfNecessary(OSGiUtil.java:647)
at lucee.runtime.osgi.OSGiUtil.loadBundle(OSGiUtil.java:370)
at lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:130)
at
lucee.transformer.library.ClassDefinitionImpl.getClazz(ClassDefinitionImpl.java:73)
at lucee.runtime.config.XMLConfigAdmin.setClass(XMLConfigAdmin.java:6329)
at
lucee.runtime.config.XMLConfigAdmin._updateResourceProvider(XMLConfigAdmin.java:2186)
at
lucee.runtime.config.XMLConfigAdmin._updateResourceProvider(XMLConfigAdmin.java:2158)
at
lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4784)
at
lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4575)
at
lucee.runtime.config.XMLConfigAdmin._updateRHExtension(XMLConfigAdmin.java:4557)
at lucee.runtime.tag.Admin.doUpdateRHExtension(Admin.java:4564)
at lucee.runtime.tag.Admin._doStartTag(Admin.java:708)
at lucee.runtime.tag.Admin.doStartTag(Admin.java:336)
at
ext_applications_cfm184$cf.call(/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/ext.applications.cfm:101)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:893)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:808)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:803)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:794)
at
web_cfm$cf.call(/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/web.cfm:389)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:893)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:808)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:803)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:794)
at
server_cfm$cf.call(/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/server.cfm:2)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:893)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:808)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:803)
at
lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:226)
at
lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2250)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2242)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2210)
at
lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:848)
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:292)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
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 s3.extension [86]: Unable to resolve 86.0: missing requirement
[86.0] osgi.wiring.bundle;
(&(osgi.wiring.bundle=org.lucee.httpcomponents.httpcore)(bundle-version>=4.4.4))
… 63 more

Timestamp 7/14/16 4:19:52 PM UTC
It appears the extension was updated today:

Available version 0.9.4.102
Release Date Jul 14, 2016
Id 17AB52DE-B300-A94B-E058BD978511E39E
This is my environment:

Version Lucee 5.0.0.252
Version Name Velvet http://en.wikipedia.org/wiki/Velvet_(dog)
Release date May 25, 2016
ColdFusion® compatibility version 11.0.07.296330
Configuration File /var/lib/tomcat8/lucee-server/context/lucee-server.xml
OS Linux (4.5.5-x86_64-linode69) 64bit
Servlet Container Apache Tomcat/8.0.32 (Ubuntu)
Java 1.8.0_91 (Oracle Corporation) 64bit
Architecture 64bit

I would update Lucee to 5.0.1.22 because there were problems with 5.0.0.252
not removing jars from uninstalled extensions.On Thursday, July 14, 2016 at 11:37:57 AM UTC-5, Juan Aguilar wrote:

My server admin indicated that the S3 and MSSQL extensions needed to be
updated. The MSSQL extension updated fine but when I tried to update the S3
extension, an error was thrown. Afterwards, the extension appeared as “Not
Installed”. I tried to install the extension and the following error was
thrown. I’m 99% sure it is the same original error:

Lucee 5.0.0.252 Error (4)
Message Unresolved constraint in bundle s3.extension [86]: Unable to
resolve 86.0: missing requirement [86.0] osgi.wiring.bundle;
(&(osgi.wiring.bundle=org.lucee.httpcomponents.httpcore)(bundle-version>=4.4.4))
Cause org.osgi.framework.BundleException
Stacktrace The Error Occurred in
/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/ext.applications.cfm:
line 101

called from /Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/web.cfm:
line 389
called from /Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/server.cfm:
line 2
Java Stacktrace lucee.runtime.exp.NativeException: Unresolved constraint
in bundle s3.extension [86]: Unable to resolve 86.0: missing requirement
[86.0] osgi.wiring.bundle;
(&(osgi.wiring.bundle=org.lucee.httpcomponents.httpcore)(bundle-version>=4.4.4))
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:130)
at lucee.runtime.osgi.OSGiUtil.start(OSGiUtil.java:687)
at lucee.runtime.osgi.OSGiUtil.startIfNecessary(OSGiUtil.java:647)
at lucee.runtime.osgi.OSGiUtil.loadBundle(OSGiUtil.java:370)
at lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:130)
at
lucee.transformer.library.ClassDefinitionImpl.getClazz(ClassDefinitionImpl.java:73)
at
lucee.runtime.config.XMLConfigAdmin.setClass(XMLConfigAdmin.java:6329)
at
lucee.runtime.config.XMLConfigAdmin._updateResourceProvider(XMLConfigAdmin.java:2186)
at
lucee.runtime.config.XMLConfigAdmin._updateResourceProvider(XMLConfigAdmin.java:2158)
at
lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4784)
at
lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4575)
at
lucee.runtime.config.XMLConfigAdmin._updateRHExtension(XMLConfigAdmin.java:4557)
at lucee.runtime.tag.Admin.doUpdateRHExtension(Admin.java:4564)
at lucee.runtime.tag.Admin._doStartTag(Admin.java:708)
at lucee.runtime.tag.Admin.doStartTag(Admin.java:336)
at
ext_applications_cfm184$cf.call(/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/ext.applications.cfm:101)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:893)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:808)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:803)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:794)
at
web_cfm$cf.call(/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/web.cfm:389)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:893)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:808)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:803)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:794)
at
server_cfm$cf.call(/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/server.cfm:2)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:893)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:808)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:803)
at
lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:226)
at
lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2250)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2242)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2210)
at
lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:848)
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:292)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
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 s3.extension [86]: Unable to resolve 86.0: missing requirement
[86.0] osgi.wiring.bundle;
(&(osgi.wiring.bundle=org.lucee.httpcomponents.httpcore)(bundle-version>=4.4.4))
… 63 more

Timestamp 7/14/16 4:19:52 PM UTC
It appears the extension was updated today:

Available version 0.9.4.102
Release Date Jul 14, 2016
Id 17AB52DE-B300-A94B-E058BD978511E39E
This is my environment:

Version Lucee 5.0.0.252
Version Name Velvet http://en.wikipedia.org/wiki/Velvet_(dog)
Release date May 25, 2016
ColdFusion® compatibility version 11.0.07.296330
Configuration File /var/lib/tomcat8/lucee-server/context/lucee-server.xml
OS Linux (4.5.5-x86_64-linode69) 64bit
Servlet Container Apache Tomcat/8.0.32 (Ubuntu)
Java 1.8.0_91 (Oracle Corporation) 64bit
Architecture 64bit

Thanks Mark.

I upgraded to 5.0.1.27-SNAPSHOT (not quite certain how to only go through
5.0.1.22) and the error changed:

Lucee 5.0.1.27-SNAPSHOT Error (org.lucee.extension.resource.s3.S3Exception)
Message Request Error: org.jets3t.service.Jets3tProperties cannot be cast
to org.jets3t.service.Jets3tProperties
Cause org.lucee.extension.resource.s3.S3Exception
Stacktrace The Error Occurred in
/home/travis/build/lucee/Lucee/core/src/main/cfml/context/admin/ext.applications.cfm:
line 101

called from /home/travis/build/lucee/Lucee/core/src/main/cfml/context/admin/web.cfm:
line 389
called from /home/travis/build/lucee/Lucee/core/src/main/cfml/context/admin/server.cfm:
line 2
Java Stacktrace lucee.runtime.exp.NativeException: Request Error:
org.jets3t.service.Jets3tProperties cannot be cast to
org.jets3t.service.Jets3tProperties
at org.jets3t.service.S3Service.getBucket(S3Service.java:2002)
at org.lucee.extension.resource.s3.S3.get(S3.java:456)
at org.lucee.extension.resource.s3.S3.exists(S3.java:422)
at org.lucee.extension.resource.s3.S3Resource.exists(S3Resource.java:312)
at
lucee.runtime.config.ConfigWebUtil._getExistingFile(ConfigWebUtil.java:362)
at
lucee.runtime.config.ConfigWebUtil.getExistingResource(ConfigWebUtil.java:350)
at lucee.runtime.MappingImpl.(MappingImpl.java:138)
at
lucee.runtime.config.XMLConfigWebFactory.loadMappings(XMLConfigWebFactory.java:1589)
at
lucee.runtime.config.XMLConfigWebFactory.load(XMLConfigWebFactory.java:445)
at
lucee.runtime.config.XMLConfigWebFactory.reloadInstance(XMLConfigWebFactory.java:329)
at lucee.runtime.config.XMLConfigAdmin._reload(XMLConfigAdmin.java:347)
at
lucee.runtime.config.XMLConfigAdmin._storeAndReload(XMLConfigAdmin.java:323)
at
lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4893)
at
lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4576)
at
lucee.runtime.config.XMLConfigAdmin._updateRHExtension(XMLConfigAdmin.java:4558)
at lucee.runtime.tag.Admin.doUpdateRHExtension(Admin.java:4565)
at lucee.runtime.tag.Admin._doStartTag(Admin.java:708)
at lucee.runtime.tag.Admin.doStartTag(Admin.java:336)
at
ext_applications_cfm184$cf.call(/home/travis/build/lucee/Lucee/core/src/main/cfml/context/admin/ext.applications.cfm:101)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:897)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:812)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:807)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:798)
at
web_cfm$cf.call(/home/travis/build/lucee/Lucee/core/src/main/cfml/context/admin/web.cfm:389)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:897)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:812)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:807)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:798)
at
server_cfm$cf.call(/home/travis/build/lucee/Lucee/core/src/main/cfml/context/admin/server.cfm:2)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:897)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:812)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:807)
at
lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:226)
at
lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2256)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2248)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2216)
at
lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:879)
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:292)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
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.lucee.extension.resource.s3.S3Exception: Request Error:
org.jets3t.service.Jets3tProperties cannot be cast to
org.jets3t.service.Jets3tProperties
… 62 more

Timestamp 7/15/16 3:37:16 PM UTC
However, now the extension appears as installed. I’d note that it’s a
different version from the one I tried to install yesterday:

Installed version 0.9.4.103
Type Full Version
Release Date Jul 15, 2016
Id 17AB52DE-B300-A94B-E058BD978511E39E
So, for kicks, I tried to uninstall (same error).

I restarted Tomcat then tried to install again. This time the installation
occurred without error.

Thanks again for the help.

Juan

P.S. I hadn’t hit post by the time Michael’s reply came through. I’m
leaving this here anyway, just in case.On Thursday, July 14, 2016 at 6:47:18 PM UTC-4, mark wrote:

I would update Lucee to 5.0.1.22 because there were problems with
5.0.0.252 not removing jars from uninstalled extensions.

i’m not sure if i get it right, you still have that error (Request Error:
org.jets3t.service.Jets3tProperties cannot be cast to org.jets3t.service.
Jets3tProperties)?

MichaOn Fri, Jul 15, 2016 at 6:05 PM, Juan Aguilar <@Juan_Aguilar> wrote:

Thanks Mark.

I upgraded to 5.0.1.27-SNAPSHOT (not quite certain how to only go through
5.0.1.22) and the error changed:

Lucee 5.0.1.27-SNAPSHOT Error (org.lucee.extension.resource.s3.S3Exception)
Message Request Error: org.jets3t.service.Jets3tProperties cannot be cast
to org.jets3t.service.Jets3tProperties
Cause org.lucee.extension.resource.s3.S3Exception
Stacktrace The Error Occurred in
/home/travis/build/lucee/Lucee/core/src/main/cfml/context/admin/ext.applications.cfm:
line 101

called from /home/travis/build/lucee/Lucee/core/src/main/cfml/context/admin/web.cfm:
line 389
called from /home/travis/build/lucee/Lucee/core/src/main/cfml/context/admin/server.cfm:
line 2
Java Stacktrace lucee.runtime.exp.NativeException: Request Error:
org.jets3t.service.Jets3tProperties cannot be cast to
org.jets3t.service.Jets3tProperties
at org.jets3t.service.S3Service.getBucket(S3Service.java:2002)
at org.lucee.extension.resource.s3.S3.get(S3.java:456)
at org.lucee.extension.resource.s3.S3.exists(S3.java:422)
at
org.lucee.extension.resource.s3.S3Resource.exists(S3Resource.java:312)
at
lucee.runtime.config.ConfigWebUtil._getExistingFile(ConfigWebUtil.java:362)
at
lucee.runtime.config.ConfigWebUtil.getExistingResource(ConfigWebUtil.java:350)
at lucee.runtime.MappingImpl.(MappingImpl.java:138)
at
lucee.runtime.config.XMLConfigWebFactory.loadMappings(XMLConfigWebFactory.java:1589)
at
lucee.runtime.config.XMLConfigWebFactory.load(XMLConfigWebFactory.java:445)
at
lucee.runtime.config.XMLConfigWebFactory.reloadInstance(XMLConfigWebFactory.java:329)
at lucee.runtime.config.XMLConfigAdmin._reload(XMLConfigAdmin.java:347)
at
lucee.runtime.config.XMLConfigAdmin._storeAndReload(XMLConfigAdmin.java:323)
at
lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4893)
at
lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4576)
at
lucee.runtime.config.XMLConfigAdmin._updateRHExtension(XMLConfigAdmin.java:4558)
at lucee.runtime.tag.Admin.doUpdateRHExtension(Admin.java:4565)
at lucee.runtime.tag.Admin._doStartTag(Admin.java:708)
at lucee.runtime.tag.Admin.doStartTag(Admin.java:336)
at
ext_applications_cfm184$cf.call(/home/travis/build/lucee/Lucee/core/src/main/cfml/context/admin/ext.applications.cfm:101)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:897)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:812)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:807)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:798)
at
web_cfm$cf.call(/home/travis/build/lucee/Lucee/core/src/main/cfml/context/admin/web.cfm:389)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:897)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:812)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:807)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:798)
at
server_cfm$cf.call(/home/travis/build/lucee/Lucee/core/src/main/cfml/context/admin/server.cfm:2)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:897)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:812)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:807)
at
lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:226)
at
lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2256)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2248)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2216)
at
lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:879)
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:292)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
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.lucee.extension.resource.s3.S3Exception: Request Error:
org.jets3t.service.Jets3tProperties cannot be cast to
org.jets3t.service.Jets3tProperties
… 62 more

Timestamp 7/15/16 3:37:16 PM UTC
However, now the extension appears as installed. I’d note that it’s a
different version from the one I tried to install yesterday:

Installed version 0.9.4.103
Type Full Version
Release Date Jul 15, 2016
Id 17AB52DE-B300-A94B-E058BD978511E39E
So, for kicks, I tried to uninstall (same error).

I restarted Tomcat then tried to install again. This time the installation
occurred without error.

Thanks again for the help.

Juan

P.S. I hadn’t hit post by the time Michael’s reply came through. I’m
leaving this here anyway, just in case.

On Thursday, July 14, 2016 at 6:47:18 PM UTC-4, mark wrote:

I would update Lucee to 5.0.1.22 because there were problems with
5.0.0.252 not removing jars from uninstalled extensions.


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/95b8f392-4059-4194-91d3-63528ff336f7%40googlegroups.com
https://groups.google.com/d/msgid/lucee/95b8f392-4059-4194-91d3-63528ff336f7%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

Hi Juan

i know what the problem is and we will fix it, can you please raise a
ticket for it (http://issues.lucee.org)?
There is a simply work around that should solve the problem:

  • download the following files:

http://snapshot.lucee.org/rest/update/provider/download/org.lucee.httpcomponents.httpcore/4.4.4

http://snapshot.lucee.org/rest/update/provider/download/org.lucee.httpcomponents.httpclient/4.5.2

http://snapshot.lucee.org/rest/update/provider/download/org.lucee.httpcomponents.httpmime/4.5.2

  • copy the files to /lucee-server/bundles

then you should be able to install.
Will solve this asap.

MichaOn Thu, Jul 14, 2016 at 6:37 PM, Juan Aguilar <@Juan_Aguilar> wrote:

My server admin indicated that the S3 and MSSQL extensions needed to be
updated. The MSSQL extension updated fine but when I tried to update the S3
extension, an error was thrown. Afterwards, the extension appeared as “Not
Installed”. I tried to install the extension and the following error was
thrown. I’m 99% sure it is the same original error:

Lucee 5.0.0.252 Error (4)
Message Unresolved constraint in bundle s3.extension [86]: Unable to
resolve 86.0: missing requirement [86.0] osgi.wiring.bundle;
(&(osgi.wiring.bundle=org.lucee.httpcomponents.httpcore)(bundle-version>=4.4.4))
Cause org.osgi.framework.BundleException
Stacktrace The Error Occurred in
/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/ext.applications.cfm:
line 101

called from /Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/web.cfm:
line 389
called from /Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/server.cfm:
line 2
Java Stacktrace lucee.runtime.exp.NativeException: Unresolved constraint
in bundle s3.extension [86]: Unable to resolve 86.0: missing requirement
[86.0] osgi.wiring.bundle;
(&(osgi.wiring.bundle=org.lucee.httpcomponents.httpcore)(bundle-version>=4.4.4))
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:130)
at lucee.runtime.osgi.OSGiUtil.start(OSGiUtil.java:687)
at lucee.runtime.osgi.OSGiUtil.startIfNecessary(OSGiUtil.java:647)
at lucee.runtime.osgi.OSGiUtil.loadBundle(OSGiUtil.java:370)
at lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:130)
at
lucee.transformer.library.ClassDefinitionImpl.getClazz(ClassDefinitionImpl.java:73)
at
lucee.runtime.config.XMLConfigAdmin.setClass(XMLConfigAdmin.java:6329)
at
lucee.runtime.config.XMLConfigAdmin._updateResourceProvider(XMLConfigAdmin.java:2186)
at
lucee.runtime.config.XMLConfigAdmin._updateResourceProvider(XMLConfigAdmin.java:2158)
at
lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4784)
at
lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4575)
at
lucee.runtime.config.XMLConfigAdmin._updateRHExtension(XMLConfigAdmin.java:4557)
at lucee.runtime.tag.Admin.doUpdateRHExtension(Admin.java:4564)
at lucee.runtime.tag.Admin._doStartTag(Admin.java:708)
at lucee.runtime.tag.Admin.doStartTag(Admin.java:336)
at
ext_applications_cfm184$cf.call(/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/ext.applications.cfm:101)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:893)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:808)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:803)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:794)
at
web_cfm$cf.call(/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/web.cfm:389)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:893)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:808)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:803)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:794)
at
server_cfm$cf.call(/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/server.cfm:2)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:893)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:808)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:803)
at
lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:226)
at
lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2250)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2242)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2210)
at
lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:848)
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:292)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
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 s3.extension [86]: Unable to resolve 86.0: missing requirement
[86.0] osgi.wiring.bundle;
(&(osgi.wiring.bundle=org.lucee.httpcomponents.httpcore)(bundle-version>=4.4.4))
… 63 more

Timestamp 7/14/16 4:19:52 PM UTC
It appears the extension was updated today:

Available version 0.9.4.102
Release Date Jul 14, 2016
Id 17AB52DE-B300-A94B-E058BD978511E39E
This is my environment:

Version Lucee 5.0.0.252
Version Name Velvet http://en.wikipedia.org/wiki/Velvet_(dog)
Release date May 25, 2016
ColdFusion® compatibility version 11.0.07.296330
Configuration File /var/lib/tomcat8/lucee-server/context/lucee-server.xml
OS Linux (4.5.5-x86_64-linode69) 64bit
Servlet Container Apache Tomcat/8.0.32 (Ubuntu)
Java 1.8.0_91 (Oracle Corporation) 64bit
Architecture 64bit


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/1d5dbeab-d50f-426c-b845-a33dcdb7e13b%40googlegroups.com
https://groups.google.com/d/msgid/lucee/1d5dbeab-d50f-426c-b845-a33dcdb7e13b%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

i have updated the extension, it should work now without this workaround.

MichaOn Fri, Jul 15, 2016 at 5:51 PM, Michael Offner <@Michael_Offner> wrote:

Hi Juan

i know what the problem is and we will fix it, can you please raise a
ticket for it (http://issues.lucee.org)?
There is a simply work around that should solve the problem:

  • download the following files:

http://snapshot.lucee.org/rest/update/provider/download/org.lucee.httpcomponents.httpcore/4.4.4

http://snapshot.lucee.org/rest/update/provider/download/org.lucee.httpcomponents.httpclient/4.5.2

http://snapshot.lucee.org/rest/update/provider/download/org.lucee.httpcomponents.httpmime/4.5.2

  • copy the files to /lucee-server/bundles

then you should be able to install.
Will solve this asap.

Micha

On Thu, Jul 14, 2016 at 6:37 PM, Juan Aguilar <@Juan_Aguilar> wrote:

My server admin indicated that the S3 and MSSQL extensions needed to be
updated. The MSSQL extension updated fine but when I tried to update the S3
extension, an error was thrown. Afterwards, the extension appeared as “Not
Installed”. I tried to install the extension and the following error was
thrown. I’m 99% sure it is the same original error:

Lucee 5.0.0.252 Error (4)
Message Unresolved constraint in bundle s3.extension [86]: Unable to
resolve 86.0: missing requirement [86.0] osgi.wiring.bundle;
(&(osgi.wiring.bundle=org.lucee.httpcomponents.httpcore)(bundle-version>=4.4.4))
Cause org.osgi.framework.BundleException
Stacktrace The Error Occurred in
/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/ext.applications.cfm:
line 101

called from /Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/web.cfm:
line 389
called from /Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/server.cfm:
line 2
Java Stacktrace lucee.runtime.exp.NativeException: Unresolved constraint
in bundle s3.extension [86]: Unable to resolve 86.0: missing requirement
[86.0] osgi.wiring.bundle;
(&(osgi.wiring.bundle=org.lucee.httpcomponents.httpcore)(bundle-version>=4.4.4))
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:130)
at lucee.runtime.osgi.OSGiUtil.start(OSGiUtil.java:687)
at lucee.runtime.osgi.OSGiUtil.startIfNecessary(OSGiUtil.java:647)
at lucee.runtime.osgi.OSGiUtil.loadBundle(OSGiUtil.java:370)
at lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:130)
at
lucee.transformer.library.ClassDefinitionImpl.getClazz(ClassDefinitionImpl.java:73)
at
lucee.runtime.config.XMLConfigAdmin.setClass(XMLConfigAdmin.java:6329)
at
lucee.runtime.config.XMLConfigAdmin._updateResourceProvider(XMLConfigAdmin.java:2186)
at
lucee.runtime.config.XMLConfigAdmin._updateResourceProvider(XMLConfigAdmin.java:2158)
at
lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4784)
at
lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4575)
at
lucee.runtime.config.XMLConfigAdmin._updateRHExtension(XMLConfigAdmin.java:4557)
at lucee.runtime.tag.Admin.doUpdateRHExtension(Admin.java:4564)
at lucee.runtime.tag.Admin._doStartTag(Admin.java:708)
at lucee.runtime.tag.Admin.doStartTag(Admin.java:336)
at
ext_applications_cfm184$cf.call(/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/ext.applications.cfm:101)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:893)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:808)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:803)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:794)
at
web_cfm$cf.call(/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/web.cfm:389)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:893)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:808)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:803)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:794)
at
server_cfm$cf.call(/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/server.cfm:2)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:893)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:808)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:803)
at
lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:226)
at
lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2250)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2242)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2210)
at
lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:848)
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:292)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
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 s3.extension [86]: Unable to resolve 86.0: missing requirement
[86.0] osgi.wiring.bundle;
(&(osgi.wiring.bundle=org.lucee.httpcomponents.httpcore)(bundle-version>=4.4.4))
… 63 more

Timestamp 7/14/16 4:19:52 PM UTC
It appears the extension was updated today:

Available version 0.9.4.102
Release Date Jul 14, 2016
Id 17AB52DE-B300-A94B-E058BD978511E39E
This is my environment:

Version Lucee 5.0.0.252
Version Name Velvet http://en.wikipedia.org/wiki/Velvet_(dog)
Release date May 25, 2016
ColdFusion® compatibility version 11.0.07.296330
Configuration File /var/lib/tomcat8/lucee-server/context/lucee-server.xml
OS Linux (4.5.5-x86_64-linode69) 64bit
Servlet Container Apache Tomcat/8.0.32 (Ubuntu)
Java 1.8.0_91 (Oracle Corporation) 64bit
Architecture 64bit


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/1d5dbeab-d50f-426c-b845-a33dcdb7e13b%40googlegroups.com
https://groups.google.com/d/msgid/lucee/1d5dbeab-d50f-426c-b845-a33dcdb7e13b%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

I’m still seeing the same issue that Juan was seeing.

I am running Lucee 5.1.0.34 with S3 Resource Extension 0.9.4.105. When I
attempted to do something like: FileRead(“S3://bucket_name/file.ext”); I
am still seeing the error: Request Error:
org.jets3t.service.Jets3tProperties cannot be cast to
org.jets3t.service.Jets3tProperties

The error goes away after I upgrade the 3 jar files that Micha posted and
restart Lucee. This leads me to believe the fix hasn’t made it’s way into
the current stable release (or part of the extension, whichever is more
appropriate) as I assume having to replace jar files isn’t part of the
desired “design” of Lucee?

Anyway, I just wanted to let everyone know the “workaround” is still
required in order to use S3.

Cheers,On Friday, July 15, 2016 at 8:51:47 AM UTC-7, Micha wrote:

Hi Juan

i know what the problem is and we will fix it, can you please raise a
ticket for it (http://issues.lucee.org)?
There is a simply work around that should solve the problem:

  • download the following files:

http://snapshot.lucee.org/rest/update/provider/download/org.lucee.httpcomponents.httpcore/4.4.4

http://snapshot.lucee.org/rest/update/provider/download/org.lucee.httpcomponents.httpclient/4.5.2

http://snapshot.lucee.org/rest/update/provider/download/org.lucee.httpcomponents.httpmime/4.5.2

  • copy the files to /lucee-server/bundles

then you should be able to install.
Will solve this asap.

Micha

On Thu, Jul 14, 2016 at 6:37 PM, Juan Aguilar <jeag...@gmail.com <javascript:>> wrote:

My server admin indicated that the S3 and MSSQL extensions needed to be
updated. The MSSQL extension updated fine but when I tried to update the S3
extension, an error was thrown. Afterwards, the extension appeared as “Not
Installed”. I tried to install the extension and the following error was
thrown. I’m 99% sure it is the same original error:

Lucee 5.0.0.252 Error (4)
Message Unresolved constraint in bundle s3.extension [86]: Unable to
resolve 86.0: missing requirement [86.0] osgi.wiring.bundle;
(&(osgi.wiring.bundle=org.lucee.httpcomponents.httpcore)(bundle-version>=4.4.4))
Cause org.osgi.framework.BundleException
Stacktrace The Error Occurred in
/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/ext.applications.cfm:
line 101

called from /Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/web.cfm:
line 389
called from /Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/server.cfm:
line 2
Java Stacktrace lucee.runtime.exp.NativeException: Unresolved constraint
in bundle s3.extension [86]: Unable to resolve 86.0: missing requirement
[86.0] osgi.wiring.bundle;
(&(osgi.wiring.bundle=org.lucee.httpcomponents.httpcore)(bundle-version>=4.4.4))
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:130)
at lucee.runtime.osgi.OSGiUtil.start(OSGiUtil.java:687)
at lucee.runtime.osgi.OSGiUtil.startIfNecessary(OSGiUtil.java:647)
at lucee.runtime.osgi.OSGiUtil.loadBundle(OSGiUtil.java:370)
at lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:130)
at
lucee.transformer.library.ClassDefinitionImpl.getClazz(ClassDefinitionImpl.java:73)
at
lucee.runtime.config.XMLConfigAdmin.setClass(XMLConfigAdmin.java:6329)
at
lucee.runtime.config.XMLConfigAdmin._updateResourceProvider(XMLConfigAdmin.java:2186)
at
lucee.runtime.config.XMLConfigAdmin._updateResourceProvider(XMLConfigAdmin.java:2158)
at
lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4784)
at
lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4575)
at
lucee.runtime.config.XMLConfigAdmin._updateRHExtension(XMLConfigAdmin.java:4557)
at lucee.runtime.tag.Admin.doUpdateRHExtension(Admin.java:4564)
at lucee.runtime.tag.Admin._doStartTag(Admin.java:708)
at lucee.runtime.tag.Admin.doStartTag(Admin.java:336)
at
ext_applications_cfm184$cf.call(/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/ext.applications.cfm:101)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:893)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:808)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:803)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:794)
at
web_cfm$cf.call(/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/web.cfm:389)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:893)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:808)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:803)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:794)
at
server_cfm$cf.call(/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/server.cfm:2)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:893)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:808)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:803)
at
lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:226)
at
lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2250)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2242)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2210)
at
lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:848)
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:292)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
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 s3.extension [86]: Unable to resolve 86.0: missing requirement
[86.0] osgi.wiring.bundle;
(&(osgi.wiring.bundle=org.lucee.httpcomponents.httpcore)(bundle-version>=4.4.4))
… 63 more

Timestamp 7/14/16 4:19:52 PM UTC
It appears the extension was updated today:

Available version 0.9.4.102
Release Date Jul 14, 2016
Id 17AB52DE-B300-A94B-E058BD978511E39E
This is my environment:

Version Lucee 5.0.0.252
Version Name Velvet http://en.wikipedia.org/wiki/Velvet_(dog)
Release date May 25, 2016
ColdFusion® compatibility version 11.0.07.296330
Configuration File /var/lib/tomcat8/lucee-server/context/lucee-server.xml
OS Linux (4.5.5-x86_64-linode69) 64bit
Servlet Container Apache Tomcat/8.0.32 (Ubuntu)
Java 1.8.0_91 (Oracle Corporation) 64bit
Architecture 64bit


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>
.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/1d5dbeab-d50f-426c-b845-a33dcdb7e13b%40googlegroups.com
https://groups.google.com/d/msgid/lucee/1d5dbeab-d50f-426c-b845-a33dcdb7e13b%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

I upgrade Lucee from 5.1.0 to the latest 5.1.1.65

try to install S3 resource Extension, it shows Request Error:
org.jets3t.service.Jets3tProperties cannot be cast to
org.jets3t.service.Jets3tProperties

those following files are in the bundles folder

http://snapshot.lucee.org/rest/update/provider/download/org.lucee.httpcomponents.httpcore/4.4.4
http://snapshot.lucee.org/rest/update/provider/download/org.lucee.httpcomponents.httpclient/4.5.2

http://snapshot.lucee.org/rest/update/provider/download/org.lucee.httpcomponents.httpmime/4.5.2

Thanks

Allen