Installation guide
2. MICROSOFT IIS PLUGIN (WINDOWS)
ServletExec 4.1 Installation Guide 15
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.
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 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 on Windows 2000
There are three ways to do this in Windows 2000.
Using the Internet Services Manager administrative tool…
• Just click Restart IIS.
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).