Servertec CommandServlet
Documentation
Conventions
Command Line
Administrator
Localization
Programming
Security
Performance
Deployment
Java API
Servlet API
CGI
SSI
Servlets
AdminServlet
CgiServlet
ClusterProxy
ClusterRedirector
CommandServlet
FileServlet
InvokerServlet
MessageServlet
RedirectServlet
ServletTagServlet
SSIncludeServlet
StatusServlet

Config Files
Log Files
Classes
Directory Tree

Return

 

CommandServlet, is used by iwsCommand, iwsSSLCommand, stop_iws and restart_iws to stop and restart the server.

Aliases

Alias: /command
Type: Servlet
Resource: CommandServlet

Servlets

Alias: CommandServlet
Class File: stec.iws.CommandServlet
Parameters:

Notes

Normally defined as a Servlet aliased as /command.

CommandServlet accepts the following request parameters:

action The action to take, [restart|stop].

restart is used to restart the server.

stop is used to stop the server.

id The administrator's username.
pw The administrator's password.

CommandServlets returns the following status codes:

200 Server was stopped/restarted.
401 Invalid username/password.
403 Server can not be administered remotely.
501 Invalid action.

Example

http://localhost:8080/command
?id=admin&pw=admin&action=stop
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Mon Sep 05 14:25:38 EDT 2005