Post-installation tasks for UNIX

RepConnector requires specific environment variable settings to run with your application server and target messaging systems. These environment variables are set in the repra_env.sh file, located as follows:

Most environment variables are already set correctly for your environment in repra_env.sh. However, you must verify that the environment variable for your messaging system is set properly. You must also verify that repra_env.sh is called by the batch file that starts your application server.

NoteWhenever you modify repra_env.sh, you must restart your application server for the new values to take effect.

If you are using WebLogic, verify that the BEA_HOME environment variable is set to the path of your WebLogic installation.

Use the following procedures to set up and verify your RepConnector environment on UNIX.

StepsVerifying that user_setenv.sh calls repra_env.sh for EAServer

  1. Go to the EAServer/bin.

  2. Edit user_setenv.sh using any command line editor.

  3. Verify that user_setenv.sh contains the following line:

    if [ -f $JAGUAR/repra/bin/repra_env.sh ]
       then
       . $JAGUAR/repra/bin/repra_env.sh
    fi
    

StepsModifying the server-starting batch file to call repra_env.sh for WebLogic

See your BEA documentation for the details about the WebLogic installation.

  1. Locate the script file that you use to start your server. Typically, the file is in your domain directory and called startWebLogic.sh.

    For example, the file could be: /opt/BEA/user_projects/domains/mydomain/startWebLogic.sh

  2. Modify the file to call repra_env.sh, and apply repra_env.sh environment variable settings to the server environment.

    1. Open the file with any text editor. For example:

      vi /opt/BEA/user_projects/domains/mydomain/startWebLogic.sh
      
    2. Add the new line that calls repra_env.sh just above the line that starts the server. For example:

      • Before your edits:

        $JAVA_HOME/bin/java $JAVA_VM $MEM_ARGS \
        $JAVA_OPTIONS -Dweblogic.Name=$SERVER_NAME \
        -Dweblogic.ProductionModeEnabled=$PRODUCTION_MODE \
        -Djava.security.policy="$WL_HOME/server/lib/weblogic.policy" \
        weblogic.Server
        
      • After your edits (see the lines in bold):

        if [ -f /opt/BEA/repra/bin/repra_env.sh ]
        then
                    . /opt/BEA/repra/bin/repra_env.sh
        fi
        
        $JAVA_HOME/bin/java $JAVA_VM $MEM_ARGS \
        $JAVA_OPTIONS -Dweblogic.Name=$SERVER_NAME \
        -Dweblogic.ProductionModeEnabled=$PRODUCTION_MODE \
        -Djava.security.policy="$WL_HOME/server/lib/weblogic.policy" \
        weblogic.Server
        

StepsRestarting EAServer

The server is started when the Jaguar CTS console appears and shows “Accepting connections” on the last line.

StepsRestarting WebLogic

  1. Use your Web browser to log in to the WebLogic Server console. For example:

    http://localhost:7001/console
    
  2. From the console, log in to your WebLogic server using the user name and password of the admin user.

  3. Go to <your domain name>/Servers/<your server name>.

  4. Right-click the server, and from the drop-down list, select Start/Stop This Server.

  5. On the next Web page, choose one of the shutdown options:

    NoteSee the WebLogic Administrator's Guide from BEA for detailed information about shutdown options.

  6. Click OK to shut down the server.

  7. Locate the server-starting batch file that you modified in the previous procedure to apply to your environment.

  8. To start the server, do one of the following:

  9. Verify the server's running status from the command line console by checking for the following message:

    Server started in RUNNING mode
    
  10. If the server is in RUNNING mode, connect to the server from your browser by entering:

    http://<hostname>:<serverport>/console
    

    For example:

    http://localhost:7001/console
    

See the WebLogic documentation for more information.