Lucee.jar v4.5.to 5.1+ Upgrade Java Errors

Attempted the update by following instructions as noted.

Downloaded latest jar from download area, and pasted into:

_Lucee\lib\ext_ folder. Renamed the jar to “lucee.jar” and set original as “lucee.jar.bak”

Attempted Lucee\startup.bat and the cmd window opened and the startup ran, however was unsuccessful. A number of java exceptions were noted.

Please see following snippet for perhaps insight into how to fix (first error hit in the log):

 org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/frameworks]]
        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:714)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1069)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1719)
        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:318)
        at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:244)
        at org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1855)
        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:117)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5095)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        ... 10 more

Note, I rolled back to the original lucee.jar and was able to successfully return to v4.5.

Though regarding the 5.1 lucee.jar, it appears it has other dependencies that should be updated as well in the original jar set of v4.5?

Did you delete the old lucee jars?

Here are step by step instructions.

Regards
Christoph

Hi there,

Did you get to the bottom of this? I’m having exactly the same issues.

Steps taken to install V5.2.1.9:

  • delete jars from lucee/lib (retaining lucee-server and license folder)
  • place lucee-5.2.1.9.jar in lucee/lib folder and rename to lucee.jar
  • delete lucee-int.jar from lucee/tomcat/lib folder

Thanks

i simply did a clean reinstall which worked.

Meh.

I’d hoped that wouldn’t be necessary.

Thanks for replying