Skip to content

Instantly share code, notes, and snippets.

@alexislucena
Created November 10, 2016 11:25
Show Gist options
  • Save alexislucena/089db39876a56c094519a91b1a062fda to your computer and use it in GitHub Desktop.
Save alexislucena/089db39876a56c094519a91b1a062fda to your computer and use it in GitHub Desktop.
Upgrade from Lucee 4.5 (or Railo 4.2) to Lucee 5 in Amazon Linux
http://docs.lucee.org/guides/lucee-5/upgrading-lucee-45.html
Download the lucee-5.x.x.xxx.jar from http://lucee.org/downloads.html
$ wget http://release.lucee.org/rest/update/provider/loader/5.1.0.34
Rename the downloaded file
$ mv 5.1.0.34 lucee-5.1.0.34.jar
Stop Railo-Lucee
$ sudo /opt/railo/railo_ctl stop
Remove all jars from the "lib" directory of the existing existing Railo-Lucee install
$ cd /opt/railo/lib
$ sudo rm *.jar
Add the lucee-5.x.x.xxx.jar you downloaded to the "lib" directory in your existing Lucee install
$ sudo mv /home/ec2-user/lucee-5.1.0.34.jar /opt/railo/lib/
Remove the railo-inst.jar javaagent from the JVM arguments
$ sudo nano /opt/railo/tomcat/bin/setenv.sh
Sart Railo-Lucee:
$ sudo /opt/railo/railo_ctl start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment