000032589 - Web UI down after upgrading RSA NetWitness 10.4.1 to 10.5.1

Document created by RSA Customer Support Employee on Feb 22, 2017Last modified by RSA Customer Support Employee on Apr 22, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000032589
Applies ToRSA 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
IssueSA Web UI down after upgrading RSA Security Analytics 10.4.1 to 10.5.1
org.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
at AbstractAutowireCapableBeanFactory initializeBean(AbstractAutowireCapableBeanFactory.java:1,514)
at AbstractAutowireCapableBeanFactory doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
at AbstractAutowireCapableBeanFactory createBean(AbstractAutowireCapableBeanFactory.java:458)
at AbstractBeanFactory$1 getObject(AbstractBeanFactory.java:293)
at DefaultSingletonBeanRegistry getSingleton(DefaultSingletonBeanRegistry.java:223)
at AbstractBeanFactory doGetBean(AbstractBeanFactory.java:290)
at AbstractBeanFactory getBean(AbstractBeanFactory.java:191)
at DefaultListableBeanFactory preInstantiateSingletons(DefaultListableBeanFactory.java:636)
at AbstractApplicationContext finishBeanFactoryInitialization(AbstractApplicationContext.java:934)
at AbstractApplicationContext refresh(AbstractApplicationContext.java:479)
at ContextLoader configureAndRefreshWebApplicationContext(ContextLoader.java:410)
at ContextLoader initWebApplicationContext(ContextLoader.java:306)
at ContextLoaderListener contextInitialized(ContextLoaderListener.java:112)
at SafeModeContextListener contextInitialized(SafeModeContextListener.java:37)
at ContextHandler callContextInitialized(ContextHandler.java:788)
at ServletContextHandler callContextInitialized(ServletContextHandler.java:434)
at ContextHandler startContext(ContextHandler.java:780)
CauseThis issue occurs if the SA is started with Java 1.7 instead of Java 1.8 after upgrading.
ResolutionIn 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                    

Attachments

    Outcomes