Verifying Application Server Environment

Verify that the application server is running, and has successfully called repra_env.bat on Windows, or repra_env.sh on UNIX.

  1. Add an echo statement to repra_env.bat or repra_env.sh.
    • On Windows:

      echo SERVER_TYPE : %SERVER_TYPE%
    • On UNIX:

      echo SERVER_TYPE : $SERVER_TYPE
  2. For WebLogic servers, verify that repra_env.bat or repra_env.sh is called correctly.

    repra_env must be called from the WebLogic startWebLogic command (startWebLogic.cmd on Windows, startWebLogic.sh on UNIX), in the domain/bin directory.

UNIX Example

/path/to/WebLogic_Domain/mydomain/bin/startWebLogic.sh
:

Before adding the repra_env call, startWebLogic.sh looks like this:

# Call setDomainEnv here
DOMAIN_HOME="/path/to/WebLogic_Domain/mydomain"
.${DOMAIN_HOME}/bin/setDomainEnv.sh$*
SAVE_JAVA)OPTIONS="${JAVA_OPTIONS}"
SAVE_CLASSPATH="${CLASSPATH}"

After adding repra.env call, you see startWebLogic.sh like this:

# Call setDomainEnv here.
DOMAIN_HOME="/path/to/WebLogic_Domain/mydomain"
.${DOMAIN_HOME}/bin/setDomainEnv.sh$*
if [-f/WebLogic_installation_directory/repra/bin/repra_env.sh]
then
./WebLogic_installation_directory/repra/bin/repra_env.sh
fi
SAVE_JAVA_OPTIONS="${JAVA_OPTIONS}"
SAVE_CLASSPATH="${CLASSPATH}"