Iplanet 6.0 web-apps.xml config issue..!
Hi,
I would like to know the reason for marking webapps_enable="off" or "on" in server.xml.
The issue I'm facing is when I say :
<VARS docroot="/usr/sample-app/web" webapps_file="web-apps.xml" webapps_enable="on"/>
and my web-apps.xml file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE vs PUBLIC "-//Sun Microsystems, Inc.; iPlanet//DTD Virtual Server Web Applications 6.0//EN"
"http://developer.iplanet.com/webserver/dtds/iws-webapps_6_0.dtd">
<vs>
<session-manager class="com.iplanet.server.http.session.IWSSessionManager">
<init-param>
<param-name>maxSessions</param-name>
<param-value>2000</param-value>
</init-param>
<init-param>
<param-name>timeOut</param-name>
<param-value>150</param-value>
</init-param>
<init-param>
<param-name>reapInterval</param-name>
<param-value>150</param-value>
</init-param>
</session-manager>
<parameter-encoding enc="UTF8"/>
</vs>
If I make webapps_enable="on" and add a new URI as :
<web-app uri="/sampleapp" dir="/usr/sample-app/sampleapp" enable="true"/>
I'm getting the following error message when I start my web server;
vs(https-somapp.xyz.COM)SAX parser error: The content of element type "vs" must match "(auth-native?,class-loader?,jsp-servlet?,parameter-encoding?,response-buffer?, response-cookie?,config-param*,role-mapping?,session-manager?,session-tracking?, session-cookie?,tempdir?,form-login-session?,web-app*)". in file:web-apps.xml at line number 22.
Kindly assist me as I'm a newbie to Iplanet configurations.
Thanks in advance
SS

