S3 extension stops working periodically

Hi there,
The previous topic that dealt with this issue (https://dev.lucee.org/t/s3-extension-stops-working/14214/20) no longer comes up. So, I’m going to have another go at this!

OS: Windows Server 2012 R2 (yes, I know, not ideal!)
Java Version: JDK 21.0.2
Tomcat Version: 9
Lucee Version: 6.2.2.91
S3 extension Version: 2.0.3.0

The problem is, after a while, the S3 extension stops working and gives us this error:

Unable to resolve org.lucee.s3.extension [96](R 96.0): missing requirement [org.lucee.s3.extension [96](R 96.0)] osgi.wiring.bundle; (&(osgi.wiring.bundle=org.lucee.aws-java-sdk-s3-all)(bundle-version>=1.12.758)) [caused by: Unable to resolve org.lucee.aws-java-sdk-s3-all [97](R 97.0): missing requirement [org.lucee.aws-java-sdk-s3-all [97](R 97.0)] osgi.wiring.package; (osgi.wiring.package=org.joda.time)] Unresolved requirements: [[org.lucee.s3.extension [96](R 96.0)] osgi.wiring.bundle; (&(osgi.wiring.bundle=org.lucee.aws-java-sdk-s3-all)(bundle-version>=1.12.758))]

Going into the Lucee Administrator and downgrading and then upgrading again fixes the problem and the extension works once more. Until it doesn’t again.

The previous topic indicated that the newest version of Lucee (which is what we’re running, ignoring Snapshots) and the newest version of the S3 extension (which is what we’re running), should fix this.

Do you have any idea how to fix this? It rather knobbles the functionality we need at the most inopportune times!

Hope someone can help,

Mike Horne

1 Like

I’ve found I can programmatically re-install the extension using a “catch” function - literally drop the old version into the deploy folder, wait 15s for it to deploy, then do the same with the new (latest) version and wait for that to deploy. We’ll see how that goes for a stop-gap solution!

We are running into the same problem as well. It seems to happen on a server that might not use the S3 extension as frequently as others. It’s like something is unloading the java classes after a period of unuse?

We’re experiencing the same here too -

|Servlet Container|Apache Tomcat/11.0.12|
|Java|21.0.9 (Amazon.com Inc.) 64bit|
Lucee 6.2.3.35-RC
|OS|Linux (4.14.355-280.652.amzn2.x86_64) 64bit|
|Architecture|64bit|

1 Like