5.3.2.50-SNAPSHOT is missing


#1

don’t try to update to the latest snapshot, the following 1k json file is dumped in the patches directory

{"message":"The version 5.3.2.50-SNAPSHOT is not available.","detail":"http://oss.sonatype.org/content/repositories/snapshots/org/lucee/lucee/5.3.2.50-SNAPSHOT/lucee-5.3.2.50-20190311.201702-1.jar:200 OK","type":"error"}

and then lucee crashes if you restart the service, removing the json file allows lucee to start again.

I don’t think the update process should save this json file into the patches folder?

bug filed https://luceeserver.atlassian.net/browse/LDEV-2179

HTTP Status 500 – Internal Server Error

Type Exception Report

Message java.util.zip.ZipException: error in opening zip file

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

javax.servlet.ServletException: java.util.zip.ZipException: error in opening zip file lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:401) lucee.loader.engine.CFMLEngineFactory.initEngineIfNecessary(CFMLEngineFactory.java:276) lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:172) lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:210) lucee.loader.servlet.CFMLServlet.init(CFMLServlet.java:42) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:479) org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1468) org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.lang.Thread.run(Thread.java:748)

Root Cause

java.util.zip.ZipException: error in opening zip file java.util.zip.ZipFile.open(Native Method) java.util.zip.ZipFile.<init>(ZipFile.java:225) java.util.zip.ZipFile.<init>(ZipFile.java:155) java.util.jar.JarFile.<init>(JarFile.java:166) java.util.jar.JarFile.<init>(JarFile.java:130) lucee.loader.osgi.BundleLoader.loadBundles(BundleLoader.java:62) lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:382) lucee.loader.engine.CFMLEngineFactory.initEngineIfNecessary(CFMLEngineFactory.java:276) lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:172) lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:210) lucee.loader.servlet.CFMLServlet.init(CFMLServlet.java:42) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:479) org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1468) org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.lang.Thread.run(Thread.java:748)


#2

fixed