show lucee loader version on overview page

Description

I just tried updating to 5.3.5.5 from 5.3.5.3, somehow the .lco file ended up being 0 bytes

I had to delete the 0 byte .lco file to get things working again.

My loader version was 5.2.7.63, this might be fixed in a later loader version but I'm not sure.

Anyway it would be good to show the lucee loader version on the overview page

11-Sep-2019 09:54:02.526 SEVERE [lucee-localhost-httpd-confl576-startStop-1] org.apache.catalina.core.StandardContext.loadOnStartup Servlet [CFMLServlet] in web application [] threw load() exception java.util.zip.ZipException: zip file is empty 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.osgi.BundleLoader.loadBundles(BundleLoader.java:62) at lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:382) at lucee.loader.engine.CFMLEngineFactory.initEngineIfNecessary(CFMLEngineFactory.java:276) at lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:172) at lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:210) at lucee.loader.servlet.CFMLServlet.init(CFMLServlet.java:42) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1144) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:983) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4978) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5290) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:629) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) 11-Sep-2019 09:54:02.541 SEVERE [lucee-localhost-httpd-confl576-startStop-1] org.apache.catalina.core.StandardContext.loadOnStartup Servlet [RestServlet] in web application [] threw load() exception java.util.zip.ZipException: zip file is empty 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.osgi.BundleLoader.loadBundles(BundleLoader.java:62) at lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:382) at lucee.loader.engine.CFMLEngineFactory.initEngineIfNecessary(CFMLEngineFactory.java:276) at lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:172) at lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:210) at lucee.loader.servlet.RestServlet.init(RestServlet.java:42) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1144) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:983) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4978) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5290) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:629) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

Attachments

1
  • 12 Nov 2020, 12:19 pm

Activity

Show:

Zac Spitzer 14 April 2021 at 20:17

fixed a crash if you click the web tab from the service update page

https://github.com/lucee/Lucee/commit/b80325b5dc88baab7ce89719800f4efe9dadd198

Pothys - MitrahSoft 2 March 2021 at 10:35

This issue was solved from the latest lucee build 6.0.0.59-SNAPSHOT onwards. So I mark this as deployed.

Pothys - MitrahSoft 4 February 2021 at 13:53
Edited

, I've added a fix for this ticket. Now jar path and patches path shows in lucee update page. And I added a cfadmin action=getLoaderInfo which returns the loader version (api), lucee version number, and the path to the jar file. Also, remove the unwanted line in the admin.java
https://github.com/lucee/Lucee/blob/6.0/core/src/main/java/lucee/runtime/tag/Admin.java#L793

Pull Request: https://github.com/lucee/Lucee/pull/1173

Zac Spitzer 20 January 2021 at 23:56

if the directory placeholders don’t provide the path for the loader, lets add a new cfadmin method, getLoaderInfo which returns the loader version (api), lucee version number and path to the jar file. aka a supercharged version of getMinVersion method

Fixed

Details

Assignee

Reporter

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Fix versions

Affects versions

Priority

Created 11 September 2019 at 08:05
Updated 27 April 2022 at 17:07
Resolved 2 March 2021 at 10:35

Flag notifications