|Applies To||RSA Product Set: Security Analytics|
RSA Version/Condition: 10.5.1
|Issue||Following upgrade from 10.4.1 to 10.5.1 Java won't start and therefore jetty won't start.|
|Cause||After Upgrade from 10.4.1 to 10.5.1, java gets updated, however Puppet /etc/puppet/modules/rsa-java/manifests/init.pp is not checking for the Java directory.|
Puppet tries to fix Java by pointing the symlink /usr/bin/java to the old location which is not present any more.
In the /etc/puppet/modules/rsa-java/manifests/init.pp Puppet checks for java_alternative_path => '/usr/lib/jvm/java-1.8.0-openjdk-220.127.116.11-1.b16.el6_7.x86_64/jre/bin/java', this symlink is not present any more.
Java keystore is not loaded correctly, hence jetty won't start.
|Resolution||Edit the following file|
Make sure the following line is pointing to the correct Java root directory
java_alternative_path => '/usr/lib/jvm/java-1.8.0-openjdk-18.104.22.168-1.b16.el6_7.x86_64/jre/bin/java',