<https://dev.lucee.org/t/lucee-5-4-0-65-release-ca...
# lucee
z
s
will check it out locally once it pops up on forgebox!
(release notes updated with line and slug)
s
Can't load the redis driver extension:
Copy code
In the OSGi Bundle with the name [redis.extension] and the version [3.0.0.48] was no class with name [lucee.extension.io.cache.redis.simple.RedisCache] found. lucee.extension.io.cache.redis.simple.RedisCache
(from cfadmin)
Copy code
Unable to resolve redis.extension [64](R 64.0): missing requirement [redis.extension [64](R 64.0)] osgi.wiring.bundle; (&(osgi.wiring.bundle=org.lucee.aws-core)(bundle-version>=1.12.348)) [caused by: Unable to resolve org.lucee.aws-core [68](R 68.0): missing requirement [org.lucee.aws-core [68](R 68.0)] osgi.wiring.package; (osgi.wiring.package=com.fasterxml.jackson.annotation)] Unresolved requirements: [[redis.extension [64](R 64.0)] osgi.wiring.bundle; (&(osgi.wiring.bundle=org.lucee.aws-core)(bundle-version>=1.12.348))]
(from our app) We renamed it from
Redis Driver (BETA)
to
Redis Driver
since that seems to have changed, but no version changes on our side
unless the bundlename changed too
presumably nothing to do with this lucee release, just our build process assuming it knew where to find the extension
can you file a bug?
s
sure can
👍 1
z
FML 🙂
s
happy to be of servic.e 🙂
z
l
@zackster I can't seem to get it started in Commandbox? Getting this in `server.out.txt`:
Copy code
[ERROR] runwar.context: java.lang.reflect.InvocationTargetException
[ERROR] runwar.context: 	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[ERROR] runwar.context: 	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[ERROR] runwar.context: 	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[ERROR] runwar.context: 	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
[ERROR] runwar.context: 	at luceedebug.LuceeTransformer.transform(LuceeTransformer.java:105)
[ERROR] runwar.context: 	at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:246)
[ERROR] runwar.context: 	at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
[ERROR] runwar.context: 	at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:563)
[ERROR] runwar.context: 	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
[ERROR] runwar.context: 	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
[ERROR] runwar.context: 	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.defineClass(BundleWiringImpl.java:2338)
[ERROR] runwar.context: 	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.defineClassParallel(BundleWiringImpl.java:2156)
[ERROR] runwar.context: 	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2090)
[ERROR] runwar.context: 	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1556)
[ERROR] runwar.context: 	at org.apache.felix.framework.BundleWiringImpl.access$300(BundleWiringImpl.java:79)
[ERROR] runwar.context: 	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1976)
[ERROR] runwar.context: 	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
[ERROR] runwar.context: 	at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
[ERROR] runwar.context: 	at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3166)
[ERROR] runwar.context: 	at java.base/java.lang.Class.getMethodsRecursive(Class.java:3307)
[ERROR] runwar.context: 	at java.base/java.lang.Class.getMethod0(Class.java:3293)
[ERROR] runwar.context: 	at java.base/java.lang.Class.getMethod(Class.java:2106)
[ERROR] runwar.context: 	at lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:1468)
[ERROR] runwar.context: 	at lucee.loader.engine.CFMLEngineFactory._getCore(CFMLEngineFactory.java:583)
[ERROR] runwar.context: 	at lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:370)
[ERROR] runwar.context: 	at lucee.loader.engine.CFMLEngineFactory.initEngineIfNecessary(CFMLEngineFactory.java:262)
[ERROR] runwar.context: 	at lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:168)
[ERROR] runwar.context: 	at lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:202)
[ERROR] runwar.context: 	at lucee.loader.servlet.LuceeServlet.init(LuceeServlet.java:42)
[ERROR] runwar.context: 	at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
[ERROR] runwar.context: 	at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:309)
[ERROR] runwar.context: 	at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:145)
[ERROR] runwar.context: 	at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:588)
[ERROR] runwar.context: 	at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:559)
[ERROR] runwar.context: 	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
[ERROR] runwar.context: 	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
[ERROR] runwar.context: 	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
[ERROR] runwar.context: 	at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:601)
[ERROR] runwar.context: 	at runwar.Server.createServletDeployment(Server.java:1350)
[ERROR] runwar.context: 	at runwar.Server.startServer(Server.java:517)
[ERROR] runwar.context: 	at runwar.Start.main(Start.java:51)
[ERROR] runwar.context: Caused by: java.lang.NoClassDefFoundError: luceedebug_shadow/com/google/common/collect/MapMaker
[ERROR] runwar.context: 	at luceedebug.coreinject.DebugManager.<init>(DebugManager.java:278)
[ERROR] runwar.context: 	... 41 more
[ERROR] runwar.context: Caused by: java.lang.ClassNotFoundException: luceedebug_shadow.com.google.common.collect.MapMaker not found by lucee.core [41]
[ERROR] runwar.context: 	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1591)
[ERROR] runwar.context: 	at org.apache.felix.framework.BundleWiringImpl.access$300(BundleWiringImpl.java:79)
[ERROR] runwar.context: 	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1976)
[ERROR] runwar.context: 	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
[ERROR] runwar.context: 	... 42 more
z
That's lucee debug? @David Rogers
l
ahhh... yep, I can get it started on a blank site w/o Lucee debug
d
I got this working over here on 5.4.0.66, interested to know if it's also fixed on your side @leftbower 5.4.0.45->5.4.0.46 was a major change to Felix, from 6 to 7, though it's not clear to me why that broke what did break (additions to osgi bootdelegation no longer getting picked up)
👍 1
l
@David Rogers thanks for the quick response. Compiled the jar with the Luceedebug bleeding edge and I can confirm that Lucee
.66
does now come up! However, I am experiencing some flakiness in the app with it enabled so will need to play around with it to see what's causing what...
d
ah, flakiness is unfortunate. Let me know if you find anything particular and I'll keep an eye out too. If my work moves 5.4.0.66+ then it will get a thorough dogfooding.
z
s
we are able to load our app with the updated snapshot & redis driver.
🎉 1