Installation guide
Table Of Contents
- Introduction
- ServletExec/ISAPI: Microsoft IIS Plugin (Windows)
- ServletExec/NSAPI:NES/iWS/Sun ONE Plugin (Windows)
- ServletExec/NSAPI: NES/iWS/Sun ONE Plugin(SPARC Solaris)
- ServletExec/AS:Application Server (Windows)
- ServletExec/AS: Application Server (UNIX/Linux)

2. MICROSOFT IIS PLUGIN (WINDOWS)
to read and write to the file system because access to the NT File System (NTFS) is based
on the user account of the process.
Rules Governing IIS User Accounts
1. During normal request processing in your servlet’s service(), doGet(), or
doPost() method, your servlet will be running under the user account of the
authenticated user, if the user had to enter a username and password to access
your servlet. Otherwise, your servlet will be running under the
IUSR_<server-
name>
account (the account under which IIS runs anonymous user requests).
2. If your servlet is configured to be loaded by ServletExec/ISAPI during
initialization, your init() method will be executed under the SYSTEM account for
IIS 5.1 and earlier and under the Application Pool Identity used for the
ServletExec worker process for IIS 6.0. Otherwise, if your servlet is loaded when
it receives its first request, the rules for item #1, above, apply
3. Normally, your servlet's destroy() method will run under the SYSTEM account
for IIS 5.1 and earlier and under the Application Pool Identity used for the
ServletExec worker process for IIS 6.0 when it is invoked due to a shutdown of
ServletExec/ISAPI. However, if your servlet is reloaded due to a class file
modification, the rules for item #1, above, apply
Make sure the appropriate users are given NTFS read and/or write permission for any
directories for which your servlet needs to read and/or write files.
2.8 Reinitializing ServletExec/ISAPI
To reinitialize ServletExec/ISAPI (which must be done after modifying the
ServletExec/ISAPI classpath, for example), you must completely stop and restart IIS.
To reinitialize IIS 4.0 on Windows NT 4.0
You must stop and then restart the IIS Admin Service. There are two ways to do this in
Windows NT 4.0.
Using the Services control panel…
1. In Control Panel, click Services.
2. Click IIS Admin Service, and then click Stop.
3. Restart IIS.
Using the command line…
• Execute the batch file stop_iis.bat (found in the ServletExec ISAPI
directory).
To reinitialize IIS 5.0/5.1/6.0 on Windows 2000/XP/2003
There are three ways to do this in Windows 2000/XP/2003.
Using the Internet Services Manager administrative tool…
• Just click Restart IIS.
ServletExec 5.0 Installation Guide 16