Open tyagian opened 5 years ago
Can you provide more information as to how it failed?
When upgrade was failing, this is what found in catalina logs No relevant info in traffic_router.logs
tail -f /opt/tomcat/logs/catalina.log
/opt/tomcat/bin/catalina.sh: line 464: /usr/lib/jvm/jre/bin/java: No such file or directory
/opt/tomcat/bin/catalina.sh: line 464: /usr/lib/jvm/jre/bin/java: No such file or directory
After discussion in slack community, it was figured out TR switched from oracle jdk to openjdk and we have not installed openjdk on it. So, we installed openjdk manually first then upgraded TR again and it worked. Either TR should throw an error to install open-jdk or install during the upgrade, it's a requirement for the new version.
As traffc_router supporting OpenJDK now, when upgrading to new version it failed if oracle-jdk is already installed. It also don't try to install open-jdk. Can we make changes to remove oracle-jdk if exist and install open-jdk?