Entering content frame

Background documentation ADMIN Locate the document in its SAP Library structure

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 <loadername> -R

Lists referee loaders for the specified loader.

 

LLR <loadername> -L <classname>

Tries to load the class with the specified loader. Returns an exception if not successful.

 

LLR <loadername> -P [-i]

Tries to find a missing dependency (class or reference) in loader resources.

 

LLR <loadername>|<-all> -F <filename>

Searches for a resource file with the specified loader.

 

LLR <loadername> -C <classnamefilter> [-a] [-l]

Searches the loaded classes with possible package filtering.

 

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.

 

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.

 

 

Leaving content frame