000032649 - Puppet mis-configures Java after upgrade of RSA Security Analytics from 10.4.1 to 10.5.1

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000032649
Applies ToRSA Product Set: Security Analytics
RSA Version/Condition: 10.5.1
IssueFollowing upgrade from 10.4.1 to 10.5.1 Java won't start and therefore jetty won't start.
CauseAfter 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-1.8.0.51-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.
ResolutionEdit the following file
/etc/puppet/modules/rsa-java/manifests/init.pp

Make sure the following line is pointing to the correct Java root directory
java_alternative_path => '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.51-1.b16.el6_7.x86_64/jre/bin/java',

Attachments

    Outcomes