Installation guide

Known Problems and Solutions
47
So, for example, if you start the web server from a terminal window, you should see the output
there. Use standard Unix file redirection to pipe the standard output into a file (that is, modify your
server_root
/https-instance/start file). You can use the ServletContext.log method to write to
the error log file.
Multiple Headers and Servlets calling getHeaders
iPlanet Web Server 4.1 collapses multiple headers that came in on a request with the same name
into a single header, with values comma separated. As a result of this, a servlet calling
getHeaders
always gets back an enumeration containing one string that has all the values separated by
commas.
New Session ID generation
Session ID generator, which is used for Servlet sessions, employs cryptographically-strong unique
random number generation algorithms. This may present a performance problem on older, slow
machines. The Session Manager API (see the
SimpleSessionManager.java example) allows you to
redefine the random ID generation method and customize it to your particular needs.
Problem 387702. Content Length Set to 0 After a Servlet Sets It
If a servlet uses the HttpServletResponse.setContentLength method to convey the length of data
that would be sent to the client but does not actually send the data over, the web server resets the
content length to 0.
Problem 390226. Unable to Set the Expiration for a Session
Sessions are not getting invalidated when the setMaxInactiveInterval method is used.
Workaround
Set the session expiration in the servlets.properties configuration file. For example:
servlets.sessionmgr=com.netscape.server.http.session.YourSesMgr
servlets.sessionmgr.initArgs=maxSessions=20,timeOut=300,reapInterval=150
Problem 395924. Using regular expressions in rules.properties to redirect all URIs ending in an
extension to a named servlet doesnt effectively work
Web Server supports regular expressions in the rules.properties file to run a given servlet when
the incoming URL matches with a regular expression:
# Servlet rules properties (autogenerated)
# This file specifies the translation rules for invoking servlets.
# The syntax is:
#
# <virtual-path>=<servlet-name>
# or
# @regular_expression=<servlet-name> (use double back-slashes)
#