Hey -- Installer vs Service Update (thru admin) - ...
# lucee
a
Hey -- Installer vs Service Update (thru admin) - searched but couldn't find definitive answer. are these assumptions correct? 1. Installer bundles appropriate JRE and Tomcat, but in place upgrades not supported - so installer just for new installs 2. Admin services | update - just updates lucee and won't touch an existing JRE or Tomcat - so I need to upgrade the JRE (adoptium JRE11) and Tomcat separately so e.g in the release notes to 5.3.9.133 the installer bundles • Java 11.0.15+10 • Tomcat 9.0.62 But if you use the updater - you gotta go grab what you need from adoptium and apache.
e
1. Not exactly, you have the option of using an existing JRE/JDK installed environment. Tomcat comes bundled, but you can at your own "FUN" drop in the WAR/JAR into tomcat and configure it yourself. 2. The Lucee admin update only adds a special .LCO file in the patches directory. It does not update the tomcat or java enviroment.
a
tyvm. I guess I have some trial and error to do (I am a windows/.Net guy historically). Putting it another way - if I want the simplest way to upgrade to the latest stable Lucee release from Lucee say 16 months old, then the easiest solution is to use the admin updater .LCO file, then separately update JRE and Tomcat (to whatever the latest stable Lucee release notes say is supported) - assuming JRE and Tomcat both need updates too?
e
You are correct, both java and tomcat do need updates more often than lucee at times. I found that while it's a complete pain, the best deployment option is to deploy as a jar and upgrade tomcat and the Java environment as needed. Though the drop dead simplest on Windows is to do a JRE install, set the JRE to auto-update, then install tomcat windows binary, then install Lucee. You can copy and modify the config files from the express edition.
a
Obviously depends on your application, but historically how often do we see breaking changes in lucee apps when upgrading tomcat or JRE between minor versions (assuming it' just a couple of minor versions and not years worth of minor versions)?
e
TBH, once We have migrated to Lucee, its ultra-rare that the code other than features needs to be touched again.
👍 1