This section contains the commands used for SAP J2EE Engine 6.20 Admin Service administration. You do not have to add these commands, as they are embedded in the Shell environment.
The System group provides additional commands for SAP J2EE Engine 6.20 general administration.
GC
Syntax |
GC |
Description |
Runs the JVM Garbage Collector. |
INFO
Syntax |
INFO [parameters]* |
||||||||
|
|
||||||||
Description |
If the command is invoked without any parameters, it displays the JavaVM and the system information. |
LISTMNGPROPS
Syntax |
LISTMNGPROPS [ClusterID] <ManagerName> |
||||||
|
|
||||||
Description |
Lists all properties of the specified manager. |
LISTPROPS
Syntax |
LISTPROPS [ClusterID] <ServiceName> |
||||||
|
|
||||||
Description |
Lists all properties of the specified service. |
LSC
Syntax |
LSC |
Description |
Lists all active cluster machines. |
LSCON
Syntax |
LSCON |
Description |
Lists all current connections grouped by services. |
LSM
Syntax |
LSM [ClusterID] |
||||
|
|
||||
Description |
Lists all managers running on the specified cluster element. |
LSP
Syntax |
LSP [ClusterID] |
||||
|
|
||||
Description |
Lists all used ports, on the current cluster element, registered in the PortsManager, in the NetContext, and the ports used by the ClusterManager. |
LSS
Syntax |
LSS [ClusterID] |
||||
|
|
||||
Description |
Lists all services installed on the specified cluster element. |
LST
Syntax |
LST |
Description |
Displays the thread status of the cluster element. |
MARKFORSHUTDOWN
Syntax |
MARKFORSHUTDOWN [ClusterID [timeout]] |
||||||
|
|
||||||
Description |
Marks a cluster element for shutdown. |
MSC
Syntax |
MSC |
Description |
Displays the memory status of the current cluster element. |
REBOOT
Syntax |
REBOOT [ClusterID] |
||||
|
|
||||
Description |
Reboots a cluster element or the whole cluster. |
Note:
The
reboot
command is not supported in SAP J2EE Engine 6.20.
RESUME
Syntax |
RESUME [ClusterID] |
||||
|
|
||||
Description |
Resumes (a suspended) cluster element. |
SETMANAGERPROPS
Syntax |
SETMANAGERPROPS <[-file <fileName>] | [-property <propertyKey> <value>]> [ClusterID] <managerName> |
||||||||||
|
|
||||||||||
Description |
Loads new property values for the specified manager. |
SETPROPS
Syntax |
SETPROPS [-file <fileName>] | [-property <propertyKey> <value>] [ClusterID] <serviceName> |
||||||||||
|
|
||||||||||
Description |
Loads new property values for the specified service. |
SHUTDOWN
Syntax |
SHUTDOWN [ClusterID] |
||||
|
|
||||
Description |
Shuts down a cluster element or the whole cluster. |
STARTSERVICE
Syntax |
STARTSERVICE [clusterID] <serviceName> |
||||||
|
|
||||||
Description |
Starts a service on the specified cluster element. |
STOPSERVICE
Syntax |
STOPSERVICE [parameters] [ClusterID] <serviceName> |
||||||||
|
|
||||||||
Description |
Stops a service on the specified cluster element. |
SUSPEND
Syntax |
SUSPEND [ClusterID] |
||||
|
|
||||
Description |
Suspends the specified server cluster element. |
VERSION
Syntax |
VERSION |
Description |
Displays the version of the cluster. |
This group of commands is used for viewing debug information for specific modules.
ENABLEDEBUG
Syntax |
EnableDebug -true / -false |
||||||
|
|
||||||
Description |
Enable or disable setting session cookie for debugging , which is made with this request: @@@DEBUG@@@?ELEMENT_ID=???? |
This section contains the commands used for SAP J2EE Engine 6.20 JMS Service administration. They are added to the Shell environment by executing
ADD JMS
on the command line.
CLOSE
Syntax |
CLOSE <protocol_name> |
Description |
Closes the socket used by the specified protocol. |
CONFIGURE
Syntax |
CONFIGURE [protocol_name] [new_port_number] |
Description |
Sets a new port number for a specified protocol. If the command has no parameters, it shows all current started protocols. |
JMSINFO
Syntax |
INFO |
Description |
Shows information about the protocols supported by the dispatcher. |
This section contains the commands used for SAP J2EE Engine 6.20 Keystore Service administration. Executing
ADD KEYSTORE
on the command line adds these commands to the Shell environment.
CREATIONDATE
Syntax |
CREATIONDATE <alias> |
||||
|
|
||||
Description |
Displays the creation date of a keystore entry. |
EXISTS
Syntax |
EXISTS <alias> |
Description |
Checks whether an entry with the alias specified has been stored. |
ISKEY
Syntax |
ISKEY <alias> |
Description |
Checks if the keystore entry with the alias specified is a key. |
LIST
Syntax |
LIST |
Description |
Lists the aliases of the entries available in keystore. |
SIZE
Syntax |
SIZE |
Description |
Returns the number of entries in keystore. |
This section contains the log commands used for SAP J2EE Engine 6.20 Log Service administration. They are added to the Shell environment by executing
ADD LOG
on the command line.
The results from the Log Service can be found in the following directories:
Both commands below concern the SAP Logging and Tracing API.
LOGGER
Syntax |
LOGGER [loggerName] |
||||
|
|
||||
Description |
Registers a logger in the name space if loggerName is specified. If no parameter is specified, displays all registered loggers. |
||||
Example |
LOGGER demoLogger |
LOGCONFIGURE
Syntax |
LOGCONFIGURE [key] LOGCONFIGURE <key> <value> LOGCONFIGURE file <fileName> |
||||||||
|
|
||||||||
Description |
Configures Loggers and Handlers. Displays or changes the current settings depending on the parameters provided. The settings are key-value pairs with the syntax described by the com.sap.tc.technology.logging package. It is also used to create Handlers to the Logger. |
||||||||
Example |
Configure severity level for logger “demoLogger” to debug level: > logconfigure demoLogger.severity DEBUG Add console output handlers to logger “demoLogger”:
Configure SAP J2EE Engine 6.20 LogBridgeConnector: > logconfigure log [demoLogger] com.inqmy.services.log.logging.tc.LogBridge
Example: > logconfigure formatter[demoLogger].pattern InfoLogFileName: ./log/example.log;…
|
This section contains the commands used for starting and stopping SAP J2EE Engine 6.20 Monitor Server. They are added to the Shell environment by executing
ADD MONITOR
on the command line.
STARTMONITORSERVER
Syntax |
STARTMONITORSERVER [configFile] |
||||
|
|
||||
Description |
Starts a monitor server on the same virtual machine on which SAP J2EE Engine 6.20 is started. However, the monitor server specific shell commands cannot be executed on the command line in this case. |
STOPMONITORSERVER
Syntax |
STOPMONITORSERVER |
Description |
Stops the monitor server running on the same virtual machine. |
This section contains the commands used for administering the SAP J2EE Engine 6.20 R3startup Service.
INVALIDATE_ETAG
Syntax |
INVALIDATE_ETAG <name> |
||||
|
|
||||
Description |
Invalidates ICMAN cache based on etags. |
INVALIDATE_URL
Syntax |
INVALIDATE_URL <url> |
||||
|
|
||||
Description |
Invalidate ICMAN cache based on URL. |
SENDACTIVE
Syntax |
SENDACTIVE |
Description |
Sends ACTIVE message. |
SENDINACTIVE
Syntax |
SENDINACTIVE |
Description |
Sends INACTIVE message. |
This section contains the commands used for administering the SAP J2EE Engine 6.20 SSL Service. They are added to the Shell environment by executing ADD SSL on the command line.
Note: Before starting the SSL Service, the Keystore Service must be started.
ATC
Syntax |
ATC [<host> <port>] <alias> |
||||||
|
|
||||||
Description |
Adds trusted certificate with the specified alias to the socket with the specified host and port. |
LTC
Syntax |
LTC [<host> <port>] |
||||
|
|
||||
Description |
Shows all trusted certificate names for the socket with the specified host and port. |
RTC
Syntax |
RTC [<host> <port>] <alias> |
||||||
|
|
||||||
Description |
Removes trusted certificate with the specified alias from the socket with the specified host and port. |
This group of commands concerns SAP J2EE Engine 6.20 general administration. You do not have to add these commands, as they are embedded in the Shell environment.
The Admin group provides additional commands for SAP J2EE Engine 6.20 general administration.
ADD
Syntax |
ADD <groupName> |
||||
|
|
||||
Description |
If no arguments are specified, displays all activated groups of commands. |
CAT
Syntax |
CAT <parameters> <fileName> |
||||||||||
|
|
||||||||||
Description |
This command prints the file “filename” to the standard output. If the file is not identified, the command prints the standard input (for end of the input stream use EOF or CTRL-K, according to the operating system). |
CLS
Syntax |
CLS |
Description |
Clears the screen. |
ECHO
Syntax |
ECHO <parameter>* |
||||
|
|
||||
Description |
This command prints all parameters to the standard output. The symbol * is a metasymbol and means that there is no limit to the number of parameters. |
EXEC
Syntax |
EXEC [options] <commandName> [parameters]* |
||||||||
|
|
||||||||
Description |
Executes a system command. |
EXIT
Syntax |
EXIT |
Description |
This command stops the current process. Equivalent to QUIT. |
GET
Syntax |
GET <$variable> |
Description |
Reads a line from the standard input stream and sets it as a value of the specified variable. |
GREP
Syntax |
GREP [option]... <pattern> [file]... |
||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
Description |
Searches for a pattern in each file or standard input. |
IMPORT
Syntax |
IMPORT <commandName> <className> |
||||||
|
|
||||||
Description |
Imports a system command. |
KILL
Syntax |
KILL <processID> |
||||
|
|
||||
Description |
Kills the process with the specified ID. |
LOADENV
Syntax |
LOADENV <fileName> |
||||
|
|
||||
Description |
Reads all properties from the specified file and loads them into the current Shell environment. |
MAN
Syntax |
MAN [parameter] [groupName] [commandName] |
||||||||
|
|
||||||||
Description |
This command displays a help message for the specified command. If no parameters are specified, this command displays all activated commands. |
MORE
Syntax |
<command> <parameters>: MORE |
||||||
|
|
||||||
Description |
Redirects the output from the specified command to the input formatted according to the -r and -c properties. Their default values are taken from the Shell environment. |
PS
Syntax |
PS |
Description |
Displays all current processes. |
QUIT
Syntax |
QUIT |
Description |
This command stops the current process. Equivalent to EXIT. |
REIMPORT
Syntax |
REIMPORT [parameters] <commandName> |
||||
|
|
||||
Description |
If no other parameters are specified, the command <commandName> is reloaded. |
REMOVE
Syntax |
REMOVE [groupName] |
||||
|
|
||||
Description |
Removes the specified group of commands – that is, deactivates this group of commands. If no arguments are specified, all activated groups of commands are displayed. |
RUN
Syntax |
RUN [-b] <fileName>[.scr] [parameters]* |
||||||||
|
|
||||||||
Description |
Starts a script process. |
SAVEENV
Syntax |
SAVEENV <fileName> |
Description |
Saves the environment (system variables and imported commands) in <fileName>. |
SET
Syntax |
SET [$Variable = (variable | expression | String | Word)*] |
||||||||||
|
|
||||||||||
Description |
Sets a value to the specified variable. If the command has no parameters, it displays all available variables and their values. |