ADMIN
This section contains the commands used for SAP J2EE Engine basic administration. You do not have to add these commands, as they are embedded in the Shell environment.
CIC
Syntax |
CIC |
Description |
Clears unloadable container. |
GC
Syntax |
GC |
Description |
Runs the garbage collector. |
INFO
Syntax |
INFO [-java] | [-system] | [-status <time>] |
Arguments |
|
-java |
Lists JVM information. |
-system |
Lists system information. |
-status <time> |
Compares system information changes during this time lap (in milliseconds.) |
Description |
Lists system information. |
LISTMP
Syntax |
LISTMP [clusterID] <ManagerName> |
Arguments |
|
[ClusterID] |
ID of the cluster element. The default value is the ID of the current element. |
<ManagerName> |
The name of the manager whose properties are listed. |
Description |
Lists the properties of the specified manager. |
LISTSP
Syntax |
LISTSP [clusterID] <ServiceName> |
Arguments |
|
[ClusterID] |
ID of the cluster element. The default value is the ID of the current element. Available to servers only. |
<ServiceName> |
The name of the service whose properties are listed. |
Description |
Lists the properties of the specified service. |
LL
Syntax |
LL [<-i|-l|-s|-c|-a>] [<-r>] |
Arguments |
|
[-i] |
Lists interface loaders only. |
[-l] |
Lists library loaders only. |
[-s] |
Lists service loaders only. |
[-c] |
Lists common loaders only. |
[-a] |
Lists application loaders only. |
[-r] |
Lists registered references per loader. |
Description |
Lists registered loaders. |
LLR
Syntax |
LLR <loaderName> <-system> <-all> <classname> [<fileName>] <-a> <-l> |
Arguments |
|
<LoaderName> |
The name of the loader. |
<-system> |
The system class loaders. |
<-all> |
Both the system loaders and the ones registered in the ClassLoaderManager. |
<classname> |
The name of the class to be loaded. |
[fileName] |
The name of the resource file searched with the specified loader. |
<classnamefilter> |
The class names starting with this filter prefix are listed. |
<-a> |
The defined and imported classes matching the filter. |
<-l> |
The code source of the classes. |
<-i> |
Gives additional information. |
Description |
Lists detailed information for a specified loader (full name, parent, references, and resources). Searches for a resource file in the loader's resources. |
Example |
LLR <loadername>|<-system> Lists detailed information for the specified loader. llr service:telnet – lists the properties of this loader llr –system – lists the properties od the system (jvm) loaders
LLR <loadername> -R Lists referee loaders for the specified loader. llr service:telnet –r – lists the loaders that have a reference to the service:telnet loader
LLR <loadername> -L <classname> Tries to load the class with the specified loader. Returns an exception if not successful. llr service:telnet –L java.lang.String – shows whether this loader can load the class and also the source from where it is loaded (parent, reference, or its own JAR).
LLR <loadername> -P [-i] Tries to find a missing dependency (class or reference) in loader resources. llr service:telnet –p – Searches through the classpath of the service:telnet loader. The bytecode of each class included in the classpath is searched for additional classes this class uses. The final output contains information whether there are: references that are no longer used; missing references; classes that do not exist on J2EE Engine. llr service:telnet –p –I – The –I parameter is used as a complement to the above usage scenario. Using this parameter you can learn which are exactly the classes that depend on classes which do not exist in the references of the service:telnet loader.
LLR <loadername>|<-all> -F <filename> Searches for a resource file with the specified loader. llr service:telnet –f java/lang/String.class – Searches the service:telnet loader for the java/lang/String.class (the parent loader and its references are also searched). llr –all –f META-INF/MANIFEST.MF – Shows the JAR files in which the META-INF/MANIFEST.MF file exists. The search for this file is performed in all registered loaders of the ClassLoader Manager.
LLR <loadername> -C <classnamefilter> [-a] [-l] Searches the loaded classes with possible package filtering. To use this scenario, the cluster node has to be started in a classload debug mode, that is, the Java environment has to be started with -Dclassload.info=true property. This is a J2EE Engine specific property, not a standard JVM one. llr service:telnet –C com.sap.engine – shows which of the classes that start with filter “com.sap.engine” are loaded by the classpath of the loader llr service:telnet –C com.sap.engine –a – shows which of the classes with the specified filter are currently used (this includes the classes loaded by the parent and by the references) llr service:telnet –C “” –a, for example, will list all the classes used in the Telnet service. llr service:telnet –C com.sap.engine –L – the listed items will contain also the JAR files from which each class is loaded llr service:telnet –C “” –A –L – lists all the classes used by the Telnet service, as well as from where these classes have been loaded |
LP
Syntax |
LP |
Description |
Displays the pools usage. |
LSC
Syntax |
LSC [-state] |
Arguments |
|
[-state] |
Simple cluster machines state list. |
Description |
Lists all active cluster machines. |
LSI
Syntax |
LSI [-d] [ClusterID] |
Arguments |
|
[-d] |
Lists the interfaces using their display names instead of their component names. |
[ClusterID] |
ID of the cluster element. The default value is the ID of the current cluster element. |
Description |
Lists all interfaces installed on the specified cluster element. |
LSL
Syntax |
LSL [-d] [ClusterID] |
Arguments |
|
[-d] |
Lists the libraries using their display names instead of their component names. |
[ClusterID] |
ID of the cluster element. The default value is the ID of the current cluster element. |
Description |
Lists all libraries installed on the specified cluster element. |
LSM
Syntax |
LSM [ClusterID] |
Arguments |
|
[ClusterID] |
ID of the cluster element. The default value is the ID of the current cluster element. |
Description |
Lists all managers running on the specified cluster element. |
LSP
Syntax |
LSP |
Description |
Displays used ports in the specified cluster element. |
LSS
Syntax |
LSS [-d] [ClusterID] |
Arguments |
|
[-d] |
Lists the services using their display names instead of their component names. |
[ClusterID] |
ID of the cluster element. The default value is the ID of the current cluster element. |
Description |
Lists all services installed on the specified cluster element. |
LSTOL
Syntax |
LSTOL [<-s|-t>] |
Arguments |
|
[-s] |
Lists information about synchronous timeout listeners. |
[-t] |
Lists information about ordinary timeout listeners. |
Description |
Lists information about registered timeout listeners. |
SETMP
Syntax |
SETMP <[[-f <fileName1>] [-f <fileName2>]...] [[-p <key1> <value1>] [-p <key2> <value2>]...]> [clusterID] <managerName> |
Arguments |
|
[-f <fileNameX>] |
Sets the properties from a file named <fileNameX> to the specified manager. |
[-p <keyX> <valueX>] |
Sets the property named <keyX>, with value <valueX> to the specified manager. |
[clusterID] |
Sets the manager properties to the specified cluster element. The default value is the ID of the current cluster element. If [ClusterID] is 0, properties will be set to all cluster elements. |
<managerName> |
The manager whose properties will be set. |
Description |
The SETMP (Set Manager Properties) command loads new property values for the specified manager. |
Example |
SETMP -f cluster.properties ClusterManager SETMP -p DefaultLogLevel INFO -p DefaultConsoleDumpLevel ERROR LogManager SETMP -f cfg1.properties -p tracelevel 1 -f cfg2.properties -p rdbms.user user -p rdbms.password pass 4001 ConfigurationManager |
SETSP
Syntax |
SETSP <[[-f <fileName1>] [-f <fileName2>]...] [[-p <key1> <value1>] [-p <key2> <value2>]...]> [clusterID] <serviceName> |
Arguments |
|
[-f <fileNameX>] |
Sets the properties from a file named <fileNameX> to the specified service. |
[-p <keyX> <valueX>] |
Sets the property named <keyX>, with value <valueX> to the specified service. |
[clusterID] |
Sets the service properties to the specified cluster element. |
<serviceName> |
The service whose properties will be set. |
Description |
The SETSP (Set Service Properties) command loads new property values for the specified service. |
Example |
SETSP -f p4.properties p4 SETSP -p Port 80 -p SslPort 443 http SETSP -f log1.properties -p DLog true -f log2.properties -p LogLevel 6 -p LogDumpLevel 3 4001 log |
SHUTDOWN
Syntax |
SHUTDOWN [-mark <timeout>] [ClusterID] |
Arguments |
|
[-mark <timeout>] |
Time in seconds to wait before shutting down. |
[ClusterID] |
The ID of the element to shut down. The default value is the ID of the current cluster element. If [ClusterID] is set to 0, it shuts down the whole cluster. |
Description |
Shuts down a cluster element or the whole cluster. |
STARTSERVICE
Syntax |
STARTSERVICE [ClusterID] <serviceName> |
Arguments |
|
[ClusterID] |
The ID of the element to shut down. The default value is the ID of the current cluster element. If [ClusterID] is set to 0, it shuts down the whole cluster. |
<serviceName> |
The name of the service to be started. |
Description |
Starts a service on the specified cluster element. |
STOPSERVICE
Syntax |
STOPSERVICE [ClusterID] <serviceName> |
Arguments |
|
[ClusterID] |
The ID of the element to shut down. The default value is the ID of the current cluster element. If [ClusterID] is set to 0, it shuts down the whole cluster. |
<serviceName> |
The name of the service to be stopped. |
Description |
Stops a service on the specified cluster element. |
VERSION
Syntax |
VERSION [-more] |
Arguments |
|
[-more] |
Displays additional information. |
Description |
Displays the version of the cluster. |