Post-installation tasks for Windows

StepsAdding the Repra and TIBCO libraries to CLASSPATH and BOOTCLASSPATH

RepConnector requires that additional jar file locations be added to the CLASSPATH and BOOTCLASSPATH environment variables. The following procedure describes how to add these jar file locations.

  1. If it does not already exist, create user_setenv.bat in the %JAGUAR%\bin directory using a text editor.

    NoteThis file must reside in the %JAGUAR%\bin directory so that it is called by the serverstart.bat file, which starts EAServer.

  2. Set the TIBCO_HOME environment variable. For example:

    set TIBCO_HOME=C:\TIBCO
    
  3. Locate these four jar files, which should reside in the %JAGUAR%\repra\lib directory: jconn2.jar, jTDS2.jar, log4j-1.2.6.jar, and dom4j-full.jar.

  4. Verify the directory path to jconn2.jar, jTDS2.jar, log4j-1.2.6.jar, and dom4j-full.jar, then add these locations to the head of the CLASSPATH and BOOTCLASSPATH environment variables in %JAGUAR%\bin\user_setenv.bat.

  5. Locate these three jar files, which should reside in the %TIBCO_HOME%\JMS\clients\java\ directory: jms.jar, tibjms.jar, and tibrvjms.jar.

  6. Verify the directory path to jms.jar, tibjms.jar, and tibrvjms.jar, then add these locations to the head of the CLASSPATH and BOOTCLASSPATH environment variables in %JAGUAR%\bin\user_setenv.bat.

The following example shows the required contents of the user_setenv.bat file:

REM **************************
REM ** Set CLASSPATH **
REM **************************
REM ** set CLASSPATH environment variable
REM ******************************
set CLASSPATH=.

REM ** these are the RepConnector required class files
set CLASSPATH=%CLASSPATH%;%JAGUAR%\repra\lib\log4j-1.2.6.jar
set CLASSPATH=%CLASSPATH%;%JAGUAR%\repra\lib\dom4j-full.jar
set CLASSPATH=%CLASSPATH%;%JAGUAR%\repra\lib\jTDS2.jar
set CLASSPATH=%CLASSPATH%;%JAGUAR%\repra\lib\jconn2.jar

REM ** these are the TIBCO Enterprise for JMS required class files
set CLASSPATH=%CLASSPATH%;%TIBCO_HOME%\JMS\clients\java\jms.jar
set CLASSPATH=%CLASSPATH%;%TIBCO_HOME%\JMS\clients\java\tibjms.jar
set CLASSPATH=%CLASSPATH%;%TIBCO_HOME%\JMS\clients\java\tibrvjms.jar
REM ** end of set CLASSPATH environment variable

REM ******************************
REM ** Set BOOTCLASSPATH **
REM ******************************
set BOOTCLASSPATH=.

REM ** these are the RepConnector required class files
set BOOTCLASSPATH=%BOOTCLASSPATH%;%JAGUAR%\repra\lib\log4j-1.2.6.jar
set BOOTCLASSPATH=%BOOTCLASSPATH%;%JAGUAR%\repra\lib\dom4j-full.jar
set BOOTCLASSPATH=%BOOTCLASSPATH%;%JAGUAR%\repra\lib\jTDS2.jar
set BOOTCLASSPATH=%BOOTCLASSPATH%;%JAGUAR%\repra\lib\jconn2.jar

REM ** these are the TIBCO Enterprise for JMS required class files
set BOOTCLASSPATH=%BOOTCLASSPATH%;%TIBCO_HOME%\JMS\clients\java\jms.jar
set BOOTCLASSPATH=%BOOTCLASSPATH%;%TIBCO_HOME%\JMS\clients\java\tibjms.jar
set BOOTCLASSPATH=%BOOTCLASSPATH%;%TIBCO_HOME%\JMS\clients\java\tibrvjms.jar
REM ** end of set BOOTCLASSPATH environment variable

StepsRestarting EAServer

  1. Go to %JAGUAR%\bin directory and enter:

     jagtool -h <hostname> -n <port number> shutdown
    

    This shuts down EAServer.

  2. In the same directory, restart EAServer by entering:

    serverstart.bat