Verifying application server environment

Verify that the application server is up and running, and has successfully called repra_env.sh.

For EAServer

  1. Use a text editor to open the user_setenv.sh file:

     vi $JAGUAR/bin/user_setenv.sh
    
  2. Verifyythat the repra_env.sh is called by looking for these lines:

    if [ -f $JAGUAR/repra/bin/repra_env.sh ]
         then
         . $JAGUAR/repra/bin/repra_env.sh
    fi
    
  3. Add an echo statement to repra_env.sh to ensure that the RepConnector values are picked up when the application server is started. For example:

    echo SERVER_TYPE : $SERVER_TYPE
    

For WebLogic Server

  1. Using a text editor, open the <domain_name>/startWebLogic.sh:

    vi $BEA_HOME/user_projects/domains/<domain_name>/startWebLogic.sh
    
  2. Verify that repra_env.sh is called. For example, the following lines should appear above the server start line:

    if [ -f /opt/bea/repra/bin/repra_env.sh ]
         then
         . /opt/bea/repra/bin/repra_env.sh
    fi
    
  3. Add an echo statement to repra_env.sh to ensure that the RepConnector values are read when the application server is started. For example:

    echo "SERVER_TYPE : $SERVER_TYPE"