Sun Java System Portal Server 7.1 Configuration Guide

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.