To configure iASP for an iPlanet Web server, please follow the
instructions below:
- 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>/>
- 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>
- 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...
- 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
|