DWP Cataog - Not able to start DWP Catalog services after updating JAVA

Version 2
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    MyIT Digital Workplace


    COMPONENT:

    MyIT Service Broker


    APPLIES TO:

    DWP Catalog 18.00, 3.00



    PROBLEM:

    Use case:

    I have updated JAVA on the DWP Catalog, and now, DWP is not coming up.
    NOTE: In this specific example, suppose you just updated JAVA to: jre-8u92  (or any other version)


     


    CAUSE:

    Incorrect JAVA Path is set. Updating Linux removed the .bmc_profile file Customer is using JDK instead of JRE


    SOLUTION:

    Solution:

    -Log into the DWP server as root

    -Issue:

      alternatives --config java
      
    - Choose the java version that you just installed, by entering a number. 
      (If you issue   alternatives --config java again, the option you just selected, should have a   + sign) 

    - Hit enter. 

    - Export the java path, example: 
       export JAVA_HOME=/usr/java/jre1.8.0_92

    - Edit  /.bashrc  
         vi ~/.bashrc 
      
     - Add  this at the end of the file and save.  
           export JAVA_HOME=/usr/java/jre1.8.0_92
      
    - Reload.bashrc  
       source ~/.bashrc
      
    -Update the symbolic link to the new JAVA using either of the below:  
      ln -s /usr/java/jre1.8.0_92/ /etc/alternatives/
    ln -s /usr/java/jre1.8.0_92/ /etc/alternatives/java
      

    Restart DWP Catalog:  
      ./dwpcontroller  start -u dwpadmin -p bmcAdm1n
      
    The above is just an example. Use your own credentials 





    ADDTIONAL CHECKS:

    1.- Make sure that you're using Oracle's JRE and not JDK 


    2.- Make sure that .bmc_profile exists under   /root/.bmc_profile
       
      ATRIUMCORE_HOME="/opt/bmc/digitalworkplace"  
    ATRIUMCORE_HOME="/opt/bmc/ARSystem"  
    BMC_AR_SERVER_HOME="/opt/bmc/digitalworkplace"  
    BMC_AR_SERVER_HOME="/opt/bmc/ARSystem"  
    ATRIUMINTEGRATOR_HOME="/opt/bmc/digitalworkplace"  
    ATRIUMINTEGRATOR_HOME="/opt/bmc/ARSystem"  
    BMC_AR_SYSTEM_HOME="/opt/bmc/digitalworkplace"  
    BMC_AR_SYSTEM_HOME="/opt/bmc/ARSystem"  
    export ATRIUMCORE_HOME  
    export BMC_AR_SERVER_HOME  
    export ATRIUMINTEGRATOR_HOME  
    export BMC_AR_SYSTEM_HOME 
      



    3.- Make sure that   /root/.bash_profile and looks like:  
      # .bash_profile

    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
            . ~/.bashrc
    fi

    # User specific environment and startup programs

    PATH=$PATH:$HOME/bin

    export PATH
    . /root/.bmc_profile
     
      
      
      4.- Make sure that all SB Arserver config files have the new java directory, these files are:  
      
      
      a)  
      
      
      /sb/env/set_script_variables.sh 
     
    #!/bin/env bash  
     
    export TENANT_NAME=  
    export BMC_AR_SYSTEM_HOME=/opt/bmc/ARSystem  
    export UISERVICE_URL=http://localhost:8008/api/myit-sb/ui  
    export RX_SERVER=http://localhost:8008  
    export GIBRALTAR_HOSTNAME=localhost  
    export GIBRALTAR_PORT=8008  
    export GIBRALTAR_PATH=/mp  
    export AR_HOST=localhost  
    export AR_DB_NAME=rxn:/myit-sb/  
    export AR_PORT=9988  
    export RAILS_PATH=/rails_vm  
    export MP_FILE_ROOT_PATH=${BMC_AR_SYSTEM_HOME}/dragonfly  
    export MP_SERVER=  
    export MP_SECRET_KEY_BASE=802b27fd1cf5b22900da654bd13ce830610ebf2f62bf71cd30d8cb915f84a94c7fd74796ee248ba166caf305651a36cd7320f2a15c192b778c1d0e48d9ae73a8  
    export MAXIMUM_PERM_SIZE=2048M  
    export LANG=en_US.UTF-8  
    export LC_ALL=en_US.UTF-8  
    export JAVA_HOME=/usr/java/jre1.8.0_92  
    export MINIMUM_FAST_THREADS=3  
    export MAXIMUM_FAST_THREADS=6  
    export MINIMUM_LIST_THREADS=5  
    export MAXIMUM_LIST_THREADS=7  
    export PATH=$PATH:${JRUBY_HOME}/bin  
    export GEM_HOME=  
    export PATH=$GEM_HOME/bin:$PATH  
    export BUNDLE_APP_CONFIG=$GEM_HOME  
    export SEND_EMAILS=  
    export EMAIL_SMTP_HOST= 
      
     
     
      

     


    Article Number:

    000157927


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles