Configuring iASP on an iPlanet Web server

To configure iASP for an iPlanet Web server, please follow the instructions below:

  1. Create a application path for iASP in <server-root>/<instance-name>/config/web-apps.xml. In the <VS> .... </VS> block of the web-apps.xml file add:

    <web-app uri="/iasp" dir=<iasp_home>/>

  2. Create a directory named WEB-INF under <iasp_home>, and a file named web.xml under <iasp_home>/WEB-INF/. Web.xml should contain the following:

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <servlet>
    <servlet-name>
               Dispatcher.DispatcherServlet
    </servlet-name>
    <servlet-class>
               Dispatcher.DispatcherServlet
    </servlet-class>
    </servlet>
    <servlet-mapping>
          <servlet-name>
                     Dispatcher.DispatcherServlet
          </servlet-name>
    <url-pattern>
           *.asp
    </url-pattern>
    </servlet-mapping>

    <welcome-file-list> 
    <welcome-file> index.htm </welcome-file>
    <welcome-file> index.html </welcome-file>
    </welcome-file-list>


    </web-app>


     
  3. Set the classpath for the Java runtime environment and iASP server in <iPalnet server-root>/<instance-name>/config/jvm12.conf. Make sure it includes all of the jars in the <iASP root>/lib directory, for example:

    jvm.classpath=e:/jdk1.2/bin;e:/jdk1.2/lib/tools.jar;d:/iasp/lib/iasplib.jar;d:/iasp/lib/jsdk.jar;d:/iasp/lib/asp2j.jar...

  4. Restart the iPlanet server and access the iASP samples at http://<hostname>:<port>/iasp/.

 

If you encounter any problems or errors, please contact support@halcyonsoft.com


Copyright © 1998-2002, Halcyon Software Inc. All rights reserved.