18.4.4 Configure the WebLogic Environment

Next, you need to configure the WebLogic environment on your Windows or Linux system.

To configure:

  1. Verify that the web server has been stopped.

  2. Add the OSN files to the classpath as given:

    • For Windows:

      %PS_HOME%\webserv\PSDomain name\bin\setEnv.cmd.
    • For Linux:

      $PS_HOME/webserv/PSDomain name/bin/setEnv.sh
  3. In the :setEnv section of the setEnv.cmd and setEnv.sh file, add the following lines. Ensure that the long lines are all on one line with no ‘returns.’

    • In setEnv.cmd

      SET OSN_DIR=%PS_CFG_HOME%\webserv\%DOMAIN_NAME%\applications\peoplesoft\PSIGW.war\WEB-INF
      SET OSN_CP=%OSN_DIR%\classes\com\peoplesoft\fscm\epo\servlet\Support
      
      

      Then beneath this command, add the value %OSN_CP% into the CLASSPATH. The last SET line should look similar to:

      SET CLASSPATH=%OSN_CP%;%PSCLASSPATH%;%JAVA_HOME%\lib\tools.jar;%WL_HOME%\lib\weblogic_sp.jar;%WL_HOME%\lib\weblogic.jar;%CLASSPATH%

      Note:

      The entire syntax should be in one line.

    • In setEnv.sh

      export OSN_DIR=$PS_CFG_HOME/webserv/$DOMAIN_NAME/applications/peoplesoft/PSIGW.war/WEB-INF
      export OSN_CP=$OSN_DIR/classes/com/peoplesoft/fscm/epo/servlet/Support
      

      Then beneath this command, add the value $OSN_CP into the CLASSPATH. The last line should look similar to:

      CLASSPATH=.:${PSCLASSPATH}:${OSN_CP}:${PATCH_CLASSPATH}:${JAVA_HOME}/lib/tools.jar:${WL_HOME}/server/lib/weblogic_sp.jar:${WL_HOME}/server/lib/weblogic-classes.jar:${WL_HOME}/server/lib/weblogic.jar:

      Note:

      The entire syntax should be in one line.