Sun Java System Portal Server 7.1 Configuration Guide

Sun Java SystemApplication Server

ProcedureTo configure Lotus Notes with Sun Java System Application Server

  1. Place the NCSO.jar in the following Sun Java System Portal Server directory:

    /usr/share/lib

  2. Update the web container class path to include /usr/share/lib/NCSO.jar using the Sun Java System Application Server administration console.

    1. Launch the Sun Java System Application Server administration console.

    2. Select the domain.

    3. Select the server instance.

    4. Select the JVM Settings tab in the server instance view.

    5. Select Path Settings under the JVM Settings tab.

    6. Add /usr/share/lib/NCSO.jar in the Classpath Suffix list.

    7. Select Save.

    8. Select Apply Changes under the General tab of the instance.

    9. Select Restart.

ProcedureOptional Placement of the NCSO.jar File

  1. Place the NCSO.jar file in the following directory:

    PortalServer-base/SUNWportal/web-src/WEB-INF/lib

  2. Redeploy the web application with the following command:

    PortalServer-base/ SUNWportal/bin/deploy redeploy

    Where PortalServer-base represents the directory in which the Sun Java System Portal Server was originally installed.

  3. Restart the web container.

ProcedureTo Configure Lotus Notes With BEA WebLogic Server

  1. Place the NCSO.jar in the following Sun Java System Portal Server directory:

    /usr/share/lib

  2. Update the web container class path to include /usr/share/lib/NCSO.jar using the command line.

    1. Change directories to the web container install directory:

      WebContainer-base /bea/wlserver6.1/config

      Where WebContainer-base represents the directory in which the web container was originally installed.

    2. Change directories to the directory that contains the domain instance:

      mydomain

    3. Edit the startWebLogic.sh file using the editor of your choice.

    4. Add /usr/share/lib/NCSO.jar to the end of the CLASSPATH.


      Note –

      The startWebLogic.sh file may contain multiple CLASSPATH definitions. Locate the last definition of the variable and add the following string to the very end of the CLASSPATH:

      /usr/share/lib/NCSO.jar


    5. Restart the web container.

ProcedureConfiguring Lotus Notes For IBM WebSphere

  1. Prune the classes under org/w3c/dom/ and org/xml/sax/ from the NCSO.jar file and rejar.

    The classes should include the following:

    • org/w3c/dom/Document.class

      • org/w3c/dom/Node.class

      • org/xml/sax/InputSource.class

      • org/xml/sax/SAXException.class

        You can perform this task in many ways. Two examples are provided here. Follow the method that suits you best:

      • The following method requires you to manually unjar and rejar the file:

        1. Download and place the file in the following directory:

          /tmp/ncsoprune/work

        2. Unjar the file while it is in that directory.

        3. Remove the preceding four classes.

        4. Rejar the file.

      • The following method requires you to run a script that automates the jar and unjar logic.

        1. Download and place the file in the following directory:

          /tmp/ncsoprune/work

        2. Run the following script:


      !/bin/ksh JAR=/usr/j2se/bin/jar JAR_FILE=NCSO.jar RM=/usr/bin/rm BASE_DIR=
      /tmp/ncsoprune WORK_DIR=${BASE_DIR}/work 
      cd to director of jar file cd $WORK_DIR # unjar $JAR xvf $JAR_FILE 
      prune classes $RM $WORK_DIR/org/w3c/dom/Document.class 
      $RM $WORK_DIR/org/w3c/dom/Node.class 
      $RM $WORK_DIR/org/xml/sax/InputSource.class $RM 
      $WORK_DIR/org/xml/sax/SAXException.class 
      jar $JAR cvf $BASE_DIR/$JAR_FILE META-INF com lotus org
      
                                 
  2. Place the re-jarred NCSO.jar file in the following directory:

    PortalServer-base/SUNWportal/web-src/WEB-INF/lib

  3. Redeploy the web application with the following command:

    PortalServer-base/ SUNWportal/bin/deploy redeploy

    Where PortalServer-base represents the directory in which the Sun Java System Portal Server was originally installed.

  4. Restart the web container.