Servertec Command Line
Documentation
Conventions
Command Line
Java API
Servlet API
Servlets
Config Files
Classes
Directory Tree

Return

 

Starting Servertec Internet Server SNAP Edition
Stopping Servertec Internet Server SNAP Edition
Servertec Internet Server SNAP Edition is normally started from the command line using the following command.

Syntax

java -r -classpath /iws/classes;/iws/classes/iws.jar;$CLASSPATH stec.iws.iws {iws_dir}

Parameters

iws_dir optional directory where Servertec Internet Server SNAP Edition was deployed, normally /iws for SNAP.

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

Notes

Servertec Internet Server SNAP Edition must not be stopped by killing or breaking out of the program. Doing so will prevent normal process cleanup from occurring and may result in data corruption and loss.

Example

java -r -classpath /iws/classes;/iws/classes/iws.jar;$CLASSPATH stec.iws.iws /iws

top of page


Servertec Internet Server SNAP Edition can be stopped from the SNAP shell using the following command.

Syntax

java -r -classpath /iws/classes;$CLASSPATH stop_iws hostname:port id password

Parameters

hostname the name of the server where Servertec Internet Server SNAP Edition is currently running, normally localhost
id the user id of the administrator, normally admin.
iws_dir optional directory where Servertec Internet Server SNAP Edition was deployed, normally /iws for SNAP.
password the password used by the administrator, normally admin.
port the port number that Servertec Internet Server SNAP Edition is listening on, normally 8080.

Example

java -r -classpath /iws/classes;$CLASSPATH stop_iws localhost:8080 admin admin

top of page


Servertec Internet Server SNAP Edition can be stopped from the MS-DOS Prompt or Linux/Solaris/AIX/HP-UX/Unix Shell using the following command.

Syntax

stop_iws hostname:port id password

Parameters

hostname the name of the server where Servertec Internet Server SNAP Edition 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 SNAP Edition is listening on, normally 8080.

Example

stop_iws localhost:8080 admin admin
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Mon Sep 05 14:25:46 EDT 2005