Article Content
Article Number | 000032589 |
Applies To | RSA Product Set: Security Analytics RSA Product/Service Type: SA Security Analytics Server RSA Version/Condition: 10.5.1.0 Platform: CentOS Product Name: SA-S4H-AS Product Description: Series4S HeadUnit-Anlytics Svr 10 User |
Issue | SA Web UI down after upgrading RSA Security Analytics 10.4.1 to 10.5.1org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanExporter' defined in file [/tmp/jetty-0.0.0.0-443-root.war-_-any-/webapp/WEB-INF/classes/META-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rmiRegistry' defined in file [/tmp/jetty-0.0.0.0-443-root.war-_-any-/webapp/WEB-INF/classes/META-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.rmi.server.ExportException: Port already in use: 50015; nested exception is: java.net.BindException: Address already in use |
Cause | This issue occurs if the SA is started with Java 1.7 instead of Java 1.8 after upgrading. |
Resolution | In order to resolve the issue, follow the steps below. 1. Connect to the Security Analytics Server appliance via SSH as the root user. 2. Run java -version and check java version in the SA server java version "1.7.0_85" OpenJDK Runtime Environment (rhel-2.6.1.3.el6_7-x86_64 u85-b01) OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode) 3. If the java version shows 1.7 change the version to 1.8 as per below steps 1. change the directory to alternatives # cd /etc/alternatives/ 2. Check Current running Java version # ll java lrwxrwxrwx. 1 root root 46 Feb 18 17:28 java -> /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java 3. Remove the soft link # rm java 4. Create softlink for java 1.8 version # ln -s /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.51-1.b16.el6_7.x86_64/jre/bin/java java 5. Check Java version #java -version openjdk version "1.8.0_51" OpenJDK Runtime Environment (build 1.8.0_51-b16) OpenJDK 64-Bit Server VM (build 25.51-b03, mixed mode) 6. Restart Jettysrv # restart jettysrv |