Installation guide
5. SERVLETEXEC APPLICATION SERVER (WINDOWS)
ServletExec 4.1 Installation Guide 63
Argument Explanation
-addl <virtual
server/url>=<physical directory>
For example:
-addl /test=C:\Test
-addl www.abc.com/support=C:\Support
-addl <virtual
server/url=directory>
See previous explanation.
-mimetypes <path to
the web server’s
mime.types file>
Optional. This specifies the path to the
NES, iWS, or Apache
mime.types file. If
this argument isn’t provided, the
ServletContext.getMimeType()
method always returns
null. (For
Microsoft IIS, which doesn’t have a
mime.types file, the
ServletContext.getMimeType()
method always returns null).
-allow
<ip1,ip2,…,ipn>
Optional. This specifies the address(es) of
the web server(s) that are allowed to
communicate with the ServletExec/AS
instance. An IP address can include the “*”
character to indicate a subrange (for
example: 168.121.97.*). If the –allow
argument is not specified, the
ServletExec/AS instance only accepts
requests from web servers running on the
local machine.
Table 6. Start ServletExec/AS Command Line Arguments
5.6.1.3 Closing the DOS Window
When starting a ServletExec/AS instance manually using the java command (either
using the StartServletExec.bat file or from the command line), the DOS window
must remain open while the ServletExec/AS instance is running. To be able to close the
DOS window, use the javaw command instead of java. After the ServletExec/AS
instance has started, you can close the DOS window and the instance will continue
running.
5.6.2 Stopping ServletExec/AS
You must stop a ServletExec/AS instance using the
StopServletExec.bat file or
from the Shutdown page of the ServletExec Admin UI. If a ServletExec/AS instance is
not shut down properly, servlet destroy() methods are not invoked, sessions are not
saved, and buffered log messages are lost.
See the ServletExec User Guide for more information about the ServletExec Admin UI.