Documentation
Conventions
Command Line
Java API
Servlet API
Servlets
Config Files
Classes
Directory Tree
Return
|
Starting Servertec Internet Server EJC Edition
Stopping Servertec Internet Server EJC Edition
Servertec Internet Server EJC Edition is normally started from the command
line using the following command.
Syntax
jcode -classpath "/iws/classes;/iws/classes/iws.jar" stec.iws.iws {iws_dir}
Parameters
|
iws_dir
|
optional directory where Servertec Internet Server EJC Edition was deployed,
normally /iws for EJC.
Servertec Internet Server EJC Edition searches for its configuration files
relative to this path. If not specified the current directory is used.
|
Notes
Servertec Internet Server EJC 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
jcode -classpath "/iws/classes;/iws/classes/iws.jar" stec.iws.iws /iws
top of page
Servertec Internet Server EJC Edition can be stopped from the EJC
shell prompt using the following command.
Syntax
jcode -classpath "/iws/classes" stop_iws hostname:port id password
Parameters
|
hostname
|
the name of the server where Servertec Internet Server EJC Edition is
currently running, normally localhost
|
|
id
|
the user id of the administrator, normally admin.
|
|
iws_dir
|
optional directory where Servertec Internet Server EJC Edition was deployed,
normally /iws for EJC.
|
|
password
|
the password used by the administrator, normally admin.
|
|
port
|
the port number that Servertec Internet Server EJC Edition is listening on,
normally 8080.
|
Example
jcode -classpath "/iws/classes" stop_iws localhost:8080 admin admin
top of page
Servertec Internet Server EJC 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 EJC 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 EJC Edition is listening on,
normally 8080.
|
Example
stop_iws localhost:8080 admin admin
|
|