Servertec Command Line
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
How To
Change Log
Future Plans
Knowledge Base
Documentation
Conventions
Command Line
Administrator
Localization
Programming
Security
Performance
Deployment
Server API
Servlet / JSP API
Xerces API
CGI
SSI
Servlets
Config Files
Log Files
Classes
Directory Tree
Examples
Legal
Contact Us

 

Starting Servertec Internet Server
Restarting Servertec Internet Server
Stopping Servertec Internet Server


Servertec Internet Server is normally started from the command line using one of the following commands.

Syntax

iws { directives } { path | archive }

Parameters

archive the JAR/ZIP archive containing the Web-site.
directives -Dfile.encoding=encoding
This directive is used to specify the default character encoding used when reading and writing configuration files and messages and by servlets such as stec.iws.FileServlet. If not set the platform's default character encoding is used.

-Dconfigdir=configdir
Used to specify the directory where Servertec Internet Server's configuration files are located. ./config is the default value. If a relative directory is specified then the directory is relative to the server's base directory.

path optional directory where Servertec Internet Server was installed or deployed, normally c:\iws.net.

Servertec Internet Server searches for its configuration files relative to this path. If not specified the current directory is used.

Notes

Servertec Internet Server must be stopped using the Administrator or from the command line using stop_iws and not by killing or breaking out of the program. Doing so may prevent normal process cleanup from occurring and may result in data corruption and loss.

Example

iws c:\iws.net

top of page


Servertec Internet Server can be restarted from the command line using one the following commands.

Syntax

restart_iws {protocol://}hostname:port id password

Parameters

hostname the name of the server where Servertec Internet Server is currently running, normally localhost
id the user id of the administrator, normally admin.
password the password used by the administrator, normally admin.
port the port number that Servertec Internet Server is listening on, normally 8080.
protocol the Web protocol, normally http.

Notes

Servertec Internet Server can also be restarted using the Administrator.

Example

restart_iws localhost:8080 admin admin top of page


Servertec Internet Server can be stopped from the command line using one the following commands.

Syntax

stop_iws {protocol://}hostname:port id password

Parameters

hostname the name of the server where Servertec Internet Server is currently running, normally localhost
id the user id of the administrator, normally admin.
password the password used by the administrator, normally admin.
port the port number that Servertec Internet Server is listening on, normally 8080.
protocol the Web protocol, normally http.

Notes

Servertec Internet Server can also be stopped using the Administrator.

Example

stop_iws localhost:8080 admin admin
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:57:18 EDT 2005