I have been trying to upgrade 4.5.2.018 due to a function that will through an error on any later version. I spun up a new virtual and started with the same version of Lucee/MuraCMS/Mysql which I imported the database to this new virtual. Once I verified that everything was working on 4.5.2.018, I then started the upgrade process of only Lucee. Through the web admin I was able to upgrade to 4.5.5.006 without any issues. When I tested this to make sure things worked, I then followed the instructions below to try and upgrade Lucee 4.5.5.006 to Lucee 5.0.1.85
The instructions looked easy which I entered the /opt/lucee/tomcat/lib directory and rm -rf *.jar (To Remove all jar files)
I then updated the setenv.sh file to remove the lucee-inst.jar file as noted within the documentation.
[mod_cfml] Starting mod_cfml version: 1.1.05
16-Feb-2017 09:14:32.602 INFO [127.0.0.1-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /opt/lucee/tomcat/webapps/ROOT
16-Feb-2017 09:14:32.685 SEVERE [127.0.0.1-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[127.0.0.1].StandardContext[]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1816)
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:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: URI scheme is not "file"
at java.io.File.<init>(File.java:421)
at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:317)
at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:244)
at org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1872)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1119)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:771)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:305)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5080)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 10 more
16-Feb-2017 09:14:32.686 SEVERE [127.0.0.1-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Error deploying web application directory /opt/lucee/tomcat/webapps/ROOT
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[127.0.0.1].StandardContext[]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:729)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1816)
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:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
16-Feb-2017 09:14:32.687 INFO [127.0.0.1-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /opt/lucee/tomcat/webapps/ROOT has finished in 84 ms