Verify that the application server is up and running, and has successfully called repra_env.bat (Windows) or repra_env.sh (UNIX).
On Windows:
Open the user_set.bat:
wordpad %JAGUAR%\bin\user_setenv.bat
In user_sentenv.bat, verify that repra_env.bat is called by looking for the line:
if exist "%JAGUAR%\repra\bin\repra_env.bat" \ CALL "%JAGUAR%\repra\bin\repra_env.bat"
Add an echo statement to repra_env.bat to ensure that the RepConnector values are picked up when the application server is started. For example:
echo SERVER_TYPE : %SERVER_TYPE%
On UNIX:
Open the user_setenv.sh file with an editor:
vi $JAGUAR/bin/user_setenv.sh
In user_sentenv.sh, verify that 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
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%
On Windows:
Open the <domain_name>\startWebLogic.cmd file with an editor:
wordpad %BEA_HOME%\user_projects\domains\<domain_name>\startWebLogic.cmd
Verify that repra_env.bat is called. For example, the following lines should appear above the server start line:
if exist "c:\bea\repra\bin\repra_env.bat" \ CALL " c:\bea\repra\bin\repra_env.bat"
Add an echo statement to repra_env.bat to verify that the RepConnector values are picked up when the application server is started. For example:
echo SERVER_TYPE : %SERVER_TYPE%
On UNIX:
Open the <domain_name>/startWebLogic.sh file with an editor:
vi $BEA_HOME/user_projects/domains/<domain_name>/startWebLogic.sh
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
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"