Help updating 4.5 to 5 please

Hi,

I am updating Lucee 4.5.5.006 final to lucee-5.2.5.20.jar , windows server 2012, Tomcat 8, Java 1.8.0_144
I am a bit confused about where to put the jar file to update.

The update document says:

  1. Add the lucee-5.x.x.xxx.jar you downloaded to the “lib” directory in your existing Lucee install.

But I have either:

E:\Lucee\jars
Which is full of jars, including a lucee.jar (modified 05/02/2015)
No, lib folder in here

Or
E:\Lucee\lucee-server\context\lib
Which has no files in. This context folder also contains the lucee-server.xml

Or
E:\tomcat\lib
Which has lots of jars but contains all the tomcat stuff so seems unlikely it goes here.

Is it E:\Lucee\lucee-server\context\lib it needs to go in, or somewhere else?

Many thanks

You should have a folder E:\Lucee\lib

1 Like

Replace the old jar in E:\Lucee\lib .

1 Like

I’m afraid I don’t have a folder E:\Lucee\Lib
Should I create it? and put it in there.
This is the Lucee Folder structure I have:

Does anyone have any further advice on this please, i’d really like to get it updated, especially with the new stable version just released.

Thanks

It looks like you’ve got some kind of non-standard set up there. How was it installed originally?

I don’t recall seeing a jars folder in any of my previous Railo or Lucee installations. Also where is Tomcat installed? Can’t see it in your screenshot.

My advice would be to do a fresh install if that’s possible. There’s a windows installer which makes sure everything is in the right place.

I personally have never managed to get the upgrade process to work correctly. Are you able to uninstall then install a version 5?

I’ve inherited it, so I don’t know the exact method, but it was Railo, upgraded to Lucee, then has been getting automatic updates of minor installations.

Both Tomcat and Java are in seperate folder structures, presumably to make them easier to update, and that has been the case. The screen shot is just the “Lucee” install

WebApps are all on a seperate drive

I understand that a fresh install may be optimum, but It’s a production system containing several different sites, so i’m not keen to reinstall, especially as I can’t replicate the system locally.

Are there any paths \ files that should be relative to the Lucee\lib directory that I can either search for or reveal programatically that would help define where I should put the update in my scenario? Or is there anything in the admin that can help define this?

Not sure if it helps but key files seem to be in the following locations:

Configuration File: E:\Lucee\lucee-server\context\lucee-server.xml
lucee.jar: E:\Lucee\jars
version: E:\Lucee\lucee-server\context\version

The version file contains the code: 4.5.5.006-final-1485509741000
Which matches the version listed in my administrator, and was updated shortly after the release date of that patch on the 03/02/2017

There is an empty /lib folder in the same location as the version file:
E:\Lucee\lucee-server\context\lib

I also have an E:\Lucee\lucee-server\patches\ folder
Which has .ico files for all the 4.5 patches
But this has no \lib siblings or children

bump again (Sorry)

Hi All,

I’m following this up, because I still haven’t managed to get this updated.

In the instructions on: Upgrading from Lucee 4.5 :: Lucee Documentation

it says:

“4. Remove all other JARs in the same directory, however do not remove the directory “lucee-server” (or “railo-server”) if that directory is present, this is the case with default installations. Please note you must remove the JARs, DO NOT simply rename them.”

Can anyone give an example of names of any jar files that might be in the folder, so I can narrow down where it might be?

Tim,

have you tried to install a fresh lucee 5 and, then, copying code and settings?
You could try this on a virtual machine or aws instance?

Best,
Bilal

Looking at the jars in an old Lucee 4.5.5.006 war file, here’s a list of what I see. Your jars may not match this exactly, but it should give you an idea.

You might also think about hiring someone who can help you figure out your upgrade. There’s a million ways Lucee can be installed just due to the nature of how flexible servlet containers are so it’s difficult for anyone to really provide much help here without just seeing what’s on your file system.

I also know you don’t want to hear this, but the current situation you have with a server of which you have no knowledge, no control, and are terrified to replace it is a bad thing. Setting up a new instance of a server should not be scary, hard, or even time consuming and if it is, you’re either not equipped to do your job or not using the right tools. I literally have hundreds of servers on my local machine I spin up and down on a daily basis using CommandBox. The days of the giant server install that everyone is scared to touch are gone. Even if you are able to get this upgrade complete, I’d still recommend getting a fresh install just because you’re likely on a very old version of Tomcat if this is from the Railo days. You can use a tool like CFConfig CLI to export all your settings from the old server and re-import them into a new server which you can spin up on a separate VM to test.

activation-1.1.jar
antlr-2.7.6.jar
apache-commons-httpclient-4.5.0.jar
apache-commons-httpcore-4.4.1.jar
apache-commons-httpmime-4.5.0.jar
apache-commons-sanselan-0.97.jar
apache-jakarta-commons-codec-1.6.jar
apache-jakarta-commons-collections-3.2.1.jar
apache-jakarta-commons-compress-1.3.jar
apache-jakarta-commons-discovery-0.4.jar
apache-jakarta-commons-email-1.2.jar
apache-jakarta-commons-fileupload-1.2.1.jar
apache-jakarta-commons-httpclient-3.0.1.jar
apache-jakarta-commons-io-2.1.jar
apache-jakarta-commons-lang-2.6.jar
apache-jakarta-commons-logging-1.1.1.jar
apache-jakarta-commons-logging-adapters-1.1.1.jar
apache-jakarta-commons-logging-api-1.1.1.jar
apache-jakarta-commons-net-3.1.jar
apache-jakarta-commons-net-ftp-0.jar
apache-jakarta-oro-2.0.8.jar
apache-logging-log4j-1.2.16.jar
apache-lucene-2.4.1.jar
apache-lucene-analyzers-2.4.1.jar
apache-lucene-highlighter-2.4.1.jar
apache-lucene-misc-2.4.1.jar
apache-lucene-similarity-2.4.1.jar
apache-lucene-snowball-2.4.1.jar
apache-lucene-spellchecker-2.4.1.jar
apache-poi-3.8.jar
apache-poi-ooxml-3.8.jar
apache-poi-ooxml-schemas-3.8.jar
apache-poi-tm-extractors-3.8.jar
apache-ws-axis-1.4.jar
apache-ws-axis-ant-1.4.jar
apache-xml-xalan-2.7.1.jar
apache-xml-xerces-2.11.jar
backport-util-concurrent-2.2.jar
bcprov-jdk14-1.36.jar
com-naryx-tagfusion-cfx-1.0.jar
concurrent-1.3.3.jar
dom4j-1.6.1.jar
ehcache-2.5.2.jar
ESAPI-2.0.1.jar
flex-messaging-common-3.3.0.22497.jar
flex-messaging-core-3.3.0.22497.jar
flex-messaging-opt-3.3.0.22497.jar
flex-messaging-proxy-3.3.0.22497.jar
flex-messaging-remoting-3.3.0.22497.jar
fonts-1.0.jar
fusiondebug-api-server-1.0.20-SNAPSHOT.jar
h2-1.3.170.jar
hibernate-3.5.5.jar
hypersonic-hsqldb-2.7.1.jar
icepdf-core-3.1.0_3.jar
jacob-1.16.1.jar
jars.txt
JavaEWAH-0.7.9.jar
javaparser-1.0.8.jar
javassist-3.9.0.GA.jar
javasysmon-0.3.3.jar
jcifs-1.3.17.jar
jcommander-1.47.jar
jcommon-1.0.10.jar
jencrypt-1.4.2_04.jar
jffmpeg-1.4.2_09-b05.jar
jfreechart-1.0.12.jar
jfreechart-patch-1.0.12.jar
jfreechart-patch.jar
jline-2.15-SNAPSHOT.jar
jmimemagic-0.1.2.jar
joda-time-2.1.jar
jpedal_gpl-3.51b12.jar
jsch-0.1.53.jar
json-smart-mini-1.0.8.jar
jta-1.1.jar
jtds-1.2.5.jar
jug-2.0.0.jar
junit-3.8.1.jar
lowagie-itext-2.1.2u-1.jar
lucee-4.5.5.006.jar
lucee-inst.jar
luceecli.jar
mail-1.4.4.jar
metadata-extractor-2.6.4.jar
microsoft-mssqlserver-4.0.jar
microsoft-sqljdbc-4.0.jar
mysql-connector-java-bin-5.1.20.jar
objectweb-asm-all-4.0.jar
ojdbc14-10.1.0.5.0.jar
openamf-1.5.8.jar
openamf-astranslator-1.5.8.jar
org.eclipse.jgit-4.3.0.201604071810-r.jar
ortus-jgit.jar
PDFBox-0.7.3.jar
PDFRenderer-1.0.5.jar
postgresql-9.1-901.jar
resolver-1.2.jar
runwar-3.6.1-SNAPSHOT.jar
serializer-2.7.1.jar
slf4j-api-1.6.4.jar
ss_css2-0.9.4.jar
stax-api-1.0.1.jar
sun-activation-1.1.jar
sun-jai_codec-1.2.1.jar
sun-jai_core-1.2.1.jar
sun-jndi-ldap-1.2.4.jar
sun-jndi-ldapbp-1.2.4.jar
sun-jndi-ldapsec-1.2.4.jar
sun-jndi-providerutil-1.2.4.jar
sun-mail-1.3.3_01.jar
sun-security-jaas-1.2.4.jar
sun-xml-jaxrpc-1.2.1.jar
sun-xml-saaj-1.2.1.jar
sun-xml-wsdl4j-1.6.3.jar
tagsoup-1.2.1.jar
w3c-dom-1.1.jar
xdb-1.0.jar
xml-apis-1.3.02.jar
xmlbeans-2.3.0.jar
xmlparserv2-1.2.2.jar

Thanks all for your help

1 Like