missing 5.3.2.50-SNAPSHOT causes lucee not to start

Description

as per https://dev.lucee.org/t/5-3-2-50-snapshot-is-missing/5251

the update process shouldn't be saving the json error message into the patches directory, you can't restart lucee afterwards

Activity

Show:
Michael Offner
March 20, 2019, 3:17 PM

problem is that the update provider fails to extract the lco file from the maven jar and provides the error message instead and lucee then assumes that this is a lco file.
the update provider is already fixedvand should no longer provide invalid files.
in addition, we will add a size check and reject lco files that below a certain size. this will be an update in the lucee.jar (loader) not the core, so updating only the core will not fix this.

Michael Offner
March 20, 2019, 3:40 PM
Zac Spitzer
March 20, 2019, 7:43 PM

Great!

Zac Spitzer
March 25, 2019, 3:08 PM
Edited

just got the following error trying the 5.3.2.58-SNAPSHOT from the 5.3.2.56-SNAPSHOT in the above commit

java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:225)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:130)
at lucee.loader.engine.CFMLEngineFactory._extractCoreIfLoader(CFMLEngineFactory.java:1052)
at lucee.loader.engine.CFMLEngineFactory.extractCoreIfLoader(CFMLEngineFactory.java:1045)
at lucee.runtime.config.XMLConfigAdmin.downloadCore(XMLConfigAdmin.java:3741)
at lucee.runtime.config.XMLConfigAdmin.changeVersionTo(XMLConfigAdmin.java:3652)
at lucee.runtime.tag.Admin.doChangeVersionTo(Admin.java:883)
at lucee.runtime.tag.Admin._doStartTag(Admin.java:824)
at lucee.runtime.tag.Admin.doStartTag(Admin.java:336)
at changeto_cfm$cf.call(/admin/changeto.cfm:9)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:942)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:834)
at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:216)
at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:42)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2409)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2399)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2374)
at lucee.runtime.engine.Request.exe(Request.java:43)
at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1035)
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:981)
at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:102)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)

Assignee

Unassigned

Reporter

Zac Spitzer

Labels

Affects versions

Priority

New
Configure