This section contains the commands used SAP J2EE Engine 6.20 Admin Service administration. These commands are embedded in the Shell environment; therefore, it is not necessary to add them.
The System group provides additional commands for SAP J2EE Engine 6.20 general administration.
APPTRACE
Syntax |
APPTRACE [-enable|-enableall|-disable] |
||||||||
|
|
||||||||
Description |
This command is used to enable or disable application tracing option. |
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. |
LOG
Syntax |
LOG [-s|m] [-type <string>] [-service <string>] [-last n] [-cluster n] |
||||||||||||||
|
|
||||||||||||||
Description |
Prints the contents of the specified logfiles. |
||||||||||||||
Example |
log -m -service MemoryManager -last 20 |
LSC
Syntax |
LSC |
Description |
Lists all active cluster machines. |
LSM
Syntax |
LSM [ClusterID] |
||||
|
|
||||
Description |
Lists all managers running on the specified cluster element. |
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 SAP J2EE Engine 6.20 cluster. |
This section contains the commands used for SAP J2EE Engine 6.20 Appclient Service administration. They are added to the Shell environment by executing
ADD APPCLIENT
on the command line.
LISTCLIENTS
Syntax |
LISTCLIENTS |
Description |
Lists all running application clients. |
RUNCLIENT
Syntax |
RUNCLIENT <name> [args] [file] |
||||||||
|
|
||||||||
Description |
Starts an application client. |
STOPCLIENT
Syntax |
STOPCLIENT <parameters> |
||||||
|
|
||||||
Description |
Stops an application client. |
This section contains the commands used for SAP J2EE Engine 6.20 DBMS Service administration. They are added to the Shell environment by executing
ADD DBMS
on the command line.
DBMSSHELL
Syntax |
DBMSSHELL |
Description |
Starts the DBMS Shell, used for administration of this service. The description of the commands used in the DBMS, are placed in a separate section, named DBMSSHELL, at the end of the DBMS group. |
GET_REPLICATION_INFO
Syntax |
GET_REPLICATION_INFO [sid] |
||||
|
|
||||
Description |
Displays information about the replication in the DBMS service. |
GET_STATISTICS
Syntax |
GET_STATISTICS [statistics] |
||||||||
|
|
||||||||
Description |
Shows current database statistics. |
MAKE_NON_PRIMARY_SERVER
Syntax |
MAKE_NON_PRIMARY_SERVER [sid] |
||||
|
|
||||
Description |
Makes the server with server ID [sid] to be a subordinate storage server. |
MAKE_PRIMARY_SERVER
Syntax |
MAKE_PRIMARY_SERVER [sid] |
||||
|
|
||||
Description |
Makes the server with server ID [sid] primary storage server. |
This group of commands forms a separate shell sub group. These commands are active after executing the
DBMSSHELL
command.
EXIT (BYE)
Syntax |
EXIT |
Description |
Exits the DBMS shell. |
HELP (?)
Syntax |
HELP |
Description |
Prints a short description of the commands. |
BEGIN
Syntax |
BEGIN |
Description |
Starts a transaction. The optional timeout parameter is in milliseconds. |
COMMIT
Syntax |
COMMIT |
Description |
Commits a transaction. |
ROLLBACK
Syntax |
ROLLBACK |
Description |
Rollbacks a transaction. |
CHECKPOINT (CP)
Syntax |
CHECKPOINT |
Description |
Checkpoints a transaction. |
UNDOCHECKPOINT (UCP)
Syntax |
UNDOCHECKPOINT |
Description |
Undoes a checkpoint on a transaction. |
AUTOCOMMIT (AC)
Syntax |
|
Description |
Switches the auto commit mode on and off. If no parameter is supplied it displays the current mode. |
CREATECONTAINER (CC)
Syntax |
CREATECONTAINER
|
||||||
|
|
||||||
Description |
Creates a container. |
DESTROYCONTAINER (DC)
Syntax |
DESTROYCONTAINER
|
||||
|
|
||||
Description |
Destroys a container. |
GETALLCONTAINERS (GAC)
Syntax |
GETALLCONTAINERS |
Description |
Lists all containers. |
FINDCONTAINERS (FC)
Syntax |
FINDCONTAINERS
|
||||
|
|
||||
Description |
Lists all containers with the given name. |
GETCONTAINERNAME (GCN)
Syntax |
GETCONTAINERNAME cid |
||||
|
|
||||
Description |
Displays the name of a specified container. |
GETROOTCONTAINER (GRC)
Syntax |
GETROOTCONTAINER |
Description |
Displays the root container. |
MODIFYCONTAINER (MC)
Syntax |
MODIFYCONTAINER
|
||||||
|
|
||||||
Description |
Modifies the byte array of a container. |
READCONTAINER (RC)
Syntax |
READCONTAINER cid |
||||
|
|
||||
Description |
Reads a given container. |
SETCONTAINERNAME (SCN)
Syntax |
SETCONTAINERNAME
|
||||||
|
|
||||||
Description |
Sets a new name for the specified container. |
CREATEOBJECT (CO)
Syntax |
CREATEOBJECT
|
||||||||
|
|
||||||||
Description |
Creates an object in a specified container. |
DELETEOBJECT (DO)
Syntax |
DELETEOBJECT
|
||||||
|
|
||||||
Description |
Deletes an object. |
GETALLOBJECTS (GAO)
Syntax |
GETALLOBJECTS cid |
||||
|
|
||||
Description |
Lists all the objects in a specified container. |
FINDOBJECTS (FO)
Syntax |
FINDOBJECTS cid |
||||||
|
|
||||||
Description |
Lists all objects with the given name in the specified container. |
GETLINKEDCONTAINER (GLC)
Syntax |
GETLINKEDCONTAINER
|
||||||
|
|
||||||
Description |
Displays the linked container for a given object. |
GETOBJECTNAME (GON)
Syntax |
GETOBJECTNAME
|
||||||
|
|
||||||
Description |
Displays the name of a given object. |
MODIFYOBJECT (MO)
Syntax |
MODIFYOBJECT
|
||||||||
|
|
||||||||
Description |
Modifies the byte array of a given object. |
MOVEOBJECT (MOVOBJ)
Syntax |
MOVEOBJECT
|
||||||||
|
|
||||||||
Description |
Moves a specified object from one container to another. |
READOBJECT (RO)
Syntax |
READOBJECT
|
||||||
|
|
||||||
Description |
Reads a specified object. |
SETLINKEDCONTAINER (SLC)
Syntax |
SETLINKEDCONTAINER
|
||||||||
|
|
||||||||
Description |
Sets a linked container for a specified object. |
SETOBJECTNAME (SON)
Syntax |
SETOBJECTNAME
|
||||||||
|
|
||||||||
Description |
Sets a new name for a specified object. |
CONTAINERREADLOCK (CRL)
Syntax |
CONTAINERREADLOCK |
Description |
Sets container read lock. |
CONTAINERWRITELOCK (CWL)
Syntax |
CONTAINERWRITELOCK |
Description |
Sets container write lock. |
OBJECTREADLOCK (ORL)
Syntax |
OBJECTREADLOCK |
Description |
Sets object read lock. |
OBJECTWRITELOCK (OWL)
Syntax |
OBJECTWRITELOCK |
Description |
Sets object write lock. |
BENCHMARK (BM)
Syntax |
BENCHMARK |
Description |
Executes performance test on DBMS and prints the results. |
SETTRANSACTIONTIMEOUT (STT)
Syntax |
SETTRANSACTIONTIMEOUT
|
||||
|
|
||||
Description |
Sets transaction timeout. |
GETTRANSACTIONTIMEOUT (GTT)
Syntax |
GETTRANSACTIONTIMEOUT |
Description |
Gets the transaction timeout. |
SETISOLATIONLEVEL (SIL)
Syntax |
SETISOLATIONLEVEL
|
Description |
Sets isolation level for the current transaction. |
GETISOLATIONLEVEL (GIL)
Syntax |
GETISOLATIONLEVEL |
Description |
Gets the isolation level of the current transaction. |
ISACTIVE (IA)
Syntax |
ISACTIVE |
Description |
Tests whether the current transaction is active (i.e. no commit or rollback has been performed after starting). |
ISROLLBACKED (IR)
Syntax |
ISROLLBACKED |
Description |
Tests whether current transaction has been rolled back. |
FINDCONTAINER (FCR)
Syntax |
FINDCONTAINER
|
||||
|
|
||||
Description |
Finds the specified container. |
FINDOBJECT (FOBJ)
Syntax |
FINDOBJECT
|
||||||
|
|
||||||
Description |
Finds an object with a specified name in a given container. |
MAKEPRIMARYSERVER (MPS)
Syntax |
MAKEPRIMARYSERVER
|
||||
|
|
||||
Description |
Makes a specified server to be primary storage server. |
MAKENONPRIMARYSERVER (MNPS)
Syntax |
MAKENONPRIMARYSERVER
|
||||
|
|
||||
Description |
Sets the specified with
|
GETREPLICATIONINFO (GRI)
Syntax |
GETREPLICATIONINFO
|
||||
|
|
||||
Description |
Displays replication information about the server node specified with
|
GETSTATISTICS (GS)
Syntax |
GETSTATISTICS |
Description |
Displays current database statistics. |
GETDATABASEFULLSTAT (GDBFS)
Syntax |
GETDATABASEFULLSTAT |
Description |
Displays current database comprehensive statistics. |
This section contains the commands used for SAP J2EE Engine 6.20 DBPool Service administration. They are added to the Shell environment by executing
ADD DBPOOL
on the command line.
CHANGE_POOL_PROPS
Syntax |
CHANGE_POOL_PROPS pool_name -<sw>:[value] [-<sw>:[value]] |
||||
|
|
||||
Description |
Changes the properties of an existing pool. |
||||
Example |
CHANGE_POOL_PROPS DB1 -jarName:d:\cts1.2.1\lib\OracleDriver.zip |
CHECK_DRIVER
Syntax |
CHECK_DRIVER <driver_name> |
Description |
Verifies if the specified driver has been registered. |
Example |
CHECK_DRIVER solid.jdbc.SolidDriver |
CLOSE_CONN
Syntax |
CLOSE_CONN <pool_name> <conn_id> |
||||||
|
|
||||||
Description |
Returns a connection with specified ID to a pool specified by name. |
CLOSE_POOL
Syntax |
CLOSE_POOL <pool_name> |
Description |
Closes the pool with the specified name. |
Example |
CLOSE_POOL test |
DELETE_POOL
Syntax |
DELETE_POOL <pool_name> |
Description |
Removes the specified pool. |
Example |
DELETE_POOL test |
DESTROY_CONN
Syntax |
DESTROY_CONN <pool_name> <conn_id> |
||||||
|
|
||||||
Description |
Destroys a connection with specified ID. |
GET_ALL_CONN
Syntax |
GET_ALL_CONN <pool_name> |
Description |
Returns the count of the connection (both free and used) in the specified pool. |
Example |
GET_ALL_CONN test |
GET_DRIVERS
Syntax |
GET_DIRVERS |
Description |
Displays a list of all registered drivers. |
GET_FREE_CONN
Syntax |
GET_FREE_CONN <pool_name> |
Description |
Returns the count of the free connections in the specified pool. |
Example |
GET_FREE_CONN test |
GET_USED_CONN
Syntax |
GET_USED_CONN <pool_name> |
Description |
Returns the count of the used connections in the specified pool. |
Example |
GET_USED_CONN test |
GET_POOLS
Syntax |
GET_POOLS |
Description |
Lists the names of all existing pools. |
GET_POOL_PROPS
Syntax |
GET_POOL_PROPS <poolname> |
Description |
Displays a list of properties for the specified pool, if it exists. |
Example |
GET_POOL_PROPS test |
IS_POOL_OPEN
Syntax |
IS_POOL_OPEN <pool_name> |
Description |
Checks if the specified pool is open. |
Example |
IS_POOL_OPEN test |
IS_RUNNING
Syntax |
IS_RUNNING |
Description |
Checks if Pool Manager is running. |
LIST_CONN
Syntax |
LIST_CONN <pool_name> |
Description |
Returns a list of the connection in the specified pool and their IDs. |
Example |
LIST_CONN test |
OPEN_POOL
Syntax |
OPEN_POOL <pool_name> |
Description |
Opens the specified pool, if it exists. |
Example |
OPEN_POOL test |
REGISTER_DRIVER
Syntax |
REGISTER_DRIVER <driver_name> <serializable_file_name> |
Description |
Registers a driver by specified name and archive file that contains it. |
Example |
REGISTER_DRIVER solid.jdbc.SolidDriver c:\solid\SolidDriver.zip |
REGISTER_POOL
Syntax |
REGISTER_POOL [pool_name] -<sw>:[value] [-<sw>:[value]] |
||||
|
|
||||
Description |
Creates a pool with the specified name and property values. |
||||
Example |
DB1 |
REMOVE_DRV
Syntax |
REMOVE_DRV <driver_name> |
Description |
Removes the specified driver from the drivers registered within the system. |
Example |
REMOVE_DRV solid.jdbc.SolidDriver |
TEST_POOL
Syntax |
TEST_POOL <pool_name> <sql_statement> |
Description |
Tests if the specified pool functions properly. |
Example |
TEST_POOL pool1 select * from test |
This section contains the commands used for the SAP J2EE Engine 6.20 Deploy Service administration. They are added to the Shell environment by executing
ADD DEPLOY
on the command line.
CHANGELIB
Syntax |
CHANGELIB <-d|u|r> <libname> <jarnames> <mappings> |
||||||||||||
|
|
||||||||||||
Description |
Deploys, updates, and removes libraries on servers in the clusters. |
CHANGEREF
Syntax |
CHANGEREF <-m|r> <fromApp> <toLibraries> |
||||||||
|
|
||||||||
Description |
Makes and removes references between applications and libraries. |
CLIENTJARS
Syntax |
CLIENTJARS <-d outputdir> <-a app_name*> |
||||||
|
|
||||||
Description |
Obtains an array of jar files, containing the classes of a client application that uses the specified components. |
DEPLOY
Syntax |
DEPLOY [-j2eeVersion 1.2|1.3] [-r support*] [-rl] [-ct a|b] <earName> |
||||||||||||
|
|
||||||||||||
Description |
Deploys all recognized components found in archive file named <earName>on the specified servers. |
DEPLOYLANGLIB
Syntax |
DEPLOYLANGLIB <appName> <langlib*> |
||||||
|
|
||||||
Description |
Deploys language libraries for an application on all server nodes in the cluster. |
GETSTATUS
Syntax |
GETSTATUS <-a applicationName> |
||||
|
|
||||
Description |
Displays the status of specified application – stopped or started. |
LISTAPP
Syntax |
LISTAPP |
Description |
Lists all applications deployed on the specified container in the specified servers, and displays their status. If no applications are deployed, a corresponding message is displayed. |
LISTEL
Syntax |
LISTEL [-s serverNames*] [-c containerName] <-a application name> |
||||||||
|
|
||||||||
Description |
Lists all components that belong to <-a application name> and are deployed on the specified container in the specified servers. If conatinerName is omitted, all components of the specified application on all registered containers are listed. If serverNames are not specified, all application components deployed on the specified container in all server nodes in the cluster are listed. |
REMOVEAPP
Syntax |
REMOVEAPP <-a applicationName> |
||||
|
|
||||
Description |
Removes the specified application from all servers in the cluster. |
STARTAPP
Syntax |
STARTAPP <applicationName> |
||||
|
|
||||
Description |
Starts the specified application. If the application is started already, an exception occurs. |
STOPAPP
Syntax |
STOPAPP <applicationName> |
||||
|
|
||||
Description |
Stops the specified application. If the application is stopped already, an exception occurs. |
UNLOCKAPP
Syntax |
UNLOCKAPP <appName> |
||||
|
|
||||
Description |
Unlocks an application that has been automatically locked by the system during execution of another command from the DEPLOY group. An application is locked if the attempts to execute another command from the DEPLOY group result in the following message: “ Already started operation with the same application in the cluster. No other operation over this application is allowed at the moment. ” Note: Use this command in case of emergency only! Make sure that it is not executed simultaneously with another command from the DEPLOY group on the same application. |
UPDATE
Syntax |
UPDATE [-j2eeVersion 1.2|1.3] [-rl] [-ct a|b] <earName> |
||||||||||
|
|
||||||||||
Description |
Updates all components found in the archive file, named <earName> on all servers in the cluster. |
This section contains the commands used for administering the SAP J2EE Engine 6.20 EISConnector Service.
CHANGE_CONNECTOR_PROPS
Syntax |
CHANGE_CONNECTOR_PROPS ConnectorName InstanceName -<sw>:<list>[;<list>][<-sw>:<list>[;<list>]...]. |
||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||
Description |
Changes the properties of a specified connector. |
DELETE_AUTH_MECHANISM
Syntax |
DELETE_AUTH_MECHANISM <ConnectorName> <AuthenticationDisplayName> |
||||||
|
|
||||||
Description |
Deletes an authentication specified by <ConnectorName> and <AuthenticationDisplayName> |
DELETE_CONNECTOR
Syntax |
DELETE_CONNECTOR <ConnectorName> |
||||
|
|
||||
Description |
Removes the specified connector. |
DELETE_CONNECTOR_INSTANCE
Syntax |
DELETE_CONNECTOR_INSTANCE <ConnectorName> <InstanceName> |
||||||
|
|
||||||
Description |
Deletes a specified connector instance. |
DELETE_SEC_PERMISSION
Syntax |
DELETE_SEC_PERMISSION <ConnectorName> <PermissionName> |
||||||
|
|
||||||
Description |
Deletes specified security permission. |
GET_CONNECTORS
Syntax |
GET_CONNECTORS |
Description |
Lists the names of all existing connectors. |
REGISTER_AUTH_MECHANISM
Syntax |
REGISTER_AUTH_MECHANISM ConnectorName InstanceName [-force] -<sw>:<list> [;<list>] [<-sw>:<list>[;<list>]...]. |
||||||||||
|
|
||||||||||
Description |
Registers an authentication mechanism. |
REGISTER_CONNECTOR
Syntax |
REGISTER_CONNECTOR <resource_adapter_file> |
||||
|
|
||||
Description |
Registers a specified connector. |
||||
Example |
REGISTER_CONNECTOR BlackBoxNoTx.rar |
REGISTER_CONNECTOR_INSTANCE
Syntax |
REGISTER_CONNECTOR_INSTANCE ConnectorName InstanceName [-force] -<sw>:<list>[;<list>] [<-sw>:<list>[;<list>]...]. |
||||||||||
|
|
||||||||||
Description |
Registers a new connector instance. |
REGISTER_SEC_PERMISSION
Syntax |
REGISTER_SEC_PERMISSION ConnectorName InstanceName [-force] -<sw>:<list> [;<list>] [<-sw>:<list>[;<list>]...]. |
||||||||||
|
|
||||||||||
Description |
Registers a new secondary permission. |
This section contains the commands used for administering the SAP J2EE Engine 6.20 EJB20 Service. They are added to the Shell environment by executing
ADD EJB20
on the command line.
CREATE_TABLES
Syntax |
CREATE_TABLES <earName> <datasourceName> [tempDir] |
||||||||
|
|
||||||||
Description |
This command creates tables into the database referred by the data source with a specified <datasourceName>. |
DROP_TABLES
Syntax |
DROP_TABLES <earName> <datasourceName> [tempDir] |
||||||||
|
|
||||||||
Description |
This command deletes tables from the database referred by the data source with a specified <datasourceName>. |
MAKE_JMS_CONNECTIONFACTORY
Syntax |
MAKE_JMS_CONNECTIONFACTORY -factoryName <factoryName> -namingEnabled <namingEnabled> -linkFactoryName [linkFactoryName] -initialContextFactory [initialContextFactory] -providerURL [providerURL] -securityPrincipal [securityPrincipal] -securityCredentials [securityCredentials] |
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
Description |
This command makes JMS ConnectionFactory without a JMS provider or for a specified JMS provider. Consider the “Usage” section below to figure out how to use this command in either of the two cases. Arguments, denoted with ‘*’, are used in the case with a specified JMS provider. |
||||||||||||||||||||||||
Example |
(with naming): (without naming): |
GENERATE_PERSISTENT
Syntax |
GENERATE_PERSISTENT <earName> [tempDir] |
||||||
|
|
||||||
Description |
This command transforms 1.1 bean’s meta-inf\storage.xml into meta-inf\persistent.xml . If the storage.xml does not exist, a default persistent.xml is generated. Then it is added to the bean’s jar meta-inf directory in the specified ear file. |
MAKE_ADAPTER
Syntax |
MAKE_ADAPTER [adapter_name] [file_name] |
||||||
|
|
||||||
Description |
This command deploys ConnectionObjectFactory by specified name and archive file. |
MAKE_DATA_SOURCE
Syntax |
MAKE_DATA_SOURCE [-options] |
||||||
|
|
||||||
Description |
This command creates a DataSource or/and a XADataSource object. It requires two parameters. If only a DataSource object is being created and it will use an existing XADataSource, classpath is not required. |
REMOVE_DATA_SOURCE
Syntax |
REMOVE_DATA_SOURCE [dataSourceName]<true/false> |
||||||
|
|
||||||
Description |
This command removes a DataSource specified by name. |
REMOVE_XADS
Syntax |
REMOVE_XADS [xadsName] |
||||
|
|
||||
Description |
This command removes a XADataSource by specified name. |
This section contains the commands used for the SAP J2EE Engine 6.20 HTTP Service administration. They are added to the Shell environment by executing
ADD HTTP
on the command line.
CLEARHTTPCACHE
Syntax |
CLEARHTTPCACHE |
Description |
Removes all files in the cache previously stored there by the HTTP Service. When using the cache, if a file has been modified the cache returns the previous content (not the modified one). For a modification to take effect, the cache has to be cleared first and then it will cache the new content. |
This section contains the commands used for the SAP J2EE Engine 6.20 JMS Service administration. They are added to the Shell environment by executing
ADD JMS
on the command line.
CONFIGURE
Syntax |
CONFIGURE <destination_name> <value> |
||||||||
|
|
||||||||
Description |
Changes the value of property <key> from the specified destination to the specified new value. |
DESTINATION
Syntax |
DESTINATION <queue|topic> <destination_name> |
||||||
|
|
||||||
Description |
Creates a new topic or queue with the specified name. |
JMSREMOVE
Syntax |
JMSREMOVE <destination_name> |
Description |
Removes the destination named <destination_name>. |
SHOW
Syntax |
SHOW [destination_name] |
Description |
Displays the parameters of the destination named [destination_name]. If the [destination_name] is not specified, the command lists all destinations. |
STORAGE
Syntax |
STORAGE <destination_name> |
||||
|
|
||||
Description |
Displays the messages stored in the specified destination. |
This section contains the commands used for the SAP J2EE Engine 6.20 Keystore Service administration. They are added to the Shell environment by executing
ADD KEYSTORE
on the command line.
BACKDOWN
Syntax |
BACKDOWN <backup_file_name> |
Description |
Loads the keystore backup file. |
BACKUP
Syntax |
BACKUP < backup_file_name> |
Description |
Creates a backup file for the keystore. |
CREATIONDATE
Syntax |
CREATIONDATE <alias> |
||||
|
|
||||
Description |
Displays the creation date of a keystore entry. |
DELETE
Syntax |
DELETE <alias> |
Description |
Deletes a keystore entry identified by the specified alias. |
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. |
LOAD
Syntax |
LOAD <alias> <format> <file-name> [<cert1> <cert2> ..] |
Description |
Loads a key or certificate with the specified alias from a file, named <file-name>. |
READ
Syntax |
READ <key> <alias> <file-name> <cert1> [cert2 ..] |
Description |
Reads a keystore entry from a specified file. |
SIZE
Syntax |
SIZE |
Description |
Returns the number of entries in keystore. |
STORE
Syntax |
STORE <alias> <format> [<asn-type>] [<password>] <file-name> |
Description |
Stores a key or certificate with the specified alias in the specified file. |
WRITE
Syntax |
WRITE certificate <alias> <file-name> |
Description |
Saves a keystore entry with the specified alias in the specified file. |
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 the SAP J2EE Engine 6.20 Security Service administration. They are added to the Shell environment by executing
ADD LOGIN
on the command line.
The Policy, Resource and Users groups provide additional commands to administer the Security Service.
EXPIRATION
Syntax |
EXPIRATION |
Description |
Displays the default period after which a session expires. |
LOGGEDUSERS
Syntax |
LOGGEDUSERS |
Description |
Displays information about all users logged on to SAP J2EE Engine 6.20 cluster at present. |
LOGIN
Syntax |
LOGIN <user_name> [password] |
Description |
Logs in a registered user to SAP J2EE Engine 6.20 cluster by <user_name> and [password]. |
LOGOUT
Syntax |
LOGOUT [session-id] |
Description |
This command forces logout on a user specified by [session-id]. If [session-id] is not specified, the command logs out the user logged in at present. |
SESSIONS
Syntax |
SESSIONS |
Description |
Displays the number of active sessions. |
USERLIMIT
Syntax |
USERLIMIT [<max-users>] |
Description |
Specifies the maximum users allowed at the same time. |
This section contains the commands used to start and stop 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 the SAP J2EE Engine 6.20 Naming Service administration. They are added to the Shell environment by executing
ADD NAMING
on the command line. When executing the commands in this group, the command arguments must be executed along with the specified brackets.
BIND
Syntax |
BIND <[-loc:]location> <[-txt:]string> |
||||||
|
|
||||||
Description |
Binds the specified parameters to the specified location. |
JNDISHELL
Syntax |
LOGIN <user_name> [password] |
Description |
Starts the JNDI Shell. The description of the commands used in the JNDI are placed in a separate section, named JNDISHELL, at the end of the Naming group. |
LOOKUP
Syntax |
LOOKUP <[-loc:]location> |
||||
|
|
||||
Description |
Looks up according to the specified parameter. |
LSEC
Syntax |
LSEC [-loc:location] |
||||
|
|
||||
Description |
Lists the security permissions for the specified context. |
LSN
Syntax |
LSN |
||||
|
|
||||
Description |
Displays the naming system as a tree. |
LSR
Syntax |
LSR |
Description |
Displays the containers in the database as a tree. |
MSUB
Syntax |
MSUB <-loc:location> |
||||
|
|
||||
Description |
Creates a subcontext. |
REBIND
Syntax |
REBIND <[-loc:]location> <[-txt:]string> |
||||||
|
|
||||||
Description |
Rebind the specified parameters to the specified location.
|
RSUB
Syntax |
RSUB <[-loc:]location> |
||||
|
|
||||
Description |
Removes a subcontext. |
UNBIND
Syntax |
UNBIND <[-loc:]location> |
||||
|
|
||||
Description |
Unbinds the specified context. |
This group of commands forms a separate Shell subgroup. These commands are active after executing the
JNDISHELL
command. Apart from the commands described below, all commands in the Naming group are also active in this subshell.
RENAME
Syntax |
RENAME (location, location) |
||||||
|
|
||||||
Description |
Binds a new name to the object bound to an old name, and unbinds the old name.
|
MENV
Syntax |
MENV (property, string) |
||||||
|
|
||||||
Description |
Adds a new environment property to the environment of this context. If the property already exists, its value is overwritten.
|
RENV
Syntax |
RENV (property) |
||||
|
|
||||
Description |
Removes an environment property from the environment of this context. |
GENV
Syntax |
LOGIN <user_name> [password] |
Description |
Prints the environment. |
Syntax |
PRINT (Location, [Full Names], [Show Attributes]) |
||||||||
|
|
||||||||
Description |
Prints the naming. If no location is specified, prints the root directory. |
SATTR
Syntax |
SATTR (attribute, string) |
||||||
|
|
||||||
Description |
Sets a fake attribute.
|
RATTR
Syntax |
RATTR (attribute) |
||||
|
|
||||
Description |
Removes a fake attribute. |
GATTR
Syntax |
GATTR (attribute) |
||||
|
|
||||
Description |
Prints a fake attribute. |
CATTR
Syntax |
CATTR |
Description |
Clears the fake attributes. |
AATTR
Syntax |
AATTR (attribute, string) |
||||||
|
|
||||||
Description |
Adds to a fake attribute.
|
PATTR
Syntax |
PATTR |
Description |
Prints all fake attributes. |
GATR
Syntax |
GATR (location) |
||||
|
|
||||
Description |
Prints a fake attribute. |
AATR
Syntax |
AATR (location, attribute) |
||||||
|
|
||||||
Description |
Adds an attribute with the specified values.
|
RPATR
Syntax |
RPATR (location, attribute) |
||||||
|
|
||||||
Description |
Replace an attribute with specified values.
|
RMATR
Syntax |
RMATR (location, attribute) |
||||||
|
|
||||||
Description |
Deletes the specified attribute values from the attribute.
|
SEARCH
Syntax |
SEARCH (location) |
||||
|
|
||||
Description |
Searches in a single context for objects that contain a specified set of attributes. |
FIND
Syntax |
FIND (location, filters) |
||||||
|
|
||||||
Description |
Searches in the named context or object for entries that satisfy the given search filter. Performs the search as specified by the search controls.
|
STIME
Syntax |
STIME ([time]) |
||||
|
|
||||
Description |
Sets the time limit to perform search. |
SCOUNT
Syntax |
SCOUNT ([count]) |
||||
|
|
||||
Description |
Sets the maximum number of entries to be returned because of the search. |
SSCOPE
Syntax |
SSCOPE ([scope]) |
||||
|
|
||||
Description |
Sets the search scope to one of: OBJECT_SCOPE, ONELEVEL_SCOPE, SUBTREE_SCOPE. OBJECT_SCOPE – searches the named object. |
BYE
Syntax |
BYE |
Description |
Exits the JNDISHELL. |
This section contains the commands used for SAP J2EE Engine 6.20 Security Service administration. They are added to the Shell environment by executing
ADD POLICY
on the command line.
The Login, Resource and Users groups provide additional commands to administer the Security Service.
DENY
Syntax |
DENY [<domain_name> <permission>] |
||||||
|
|
||||||
Description |
Removes a permission from the ProtectionDomain PremissionCollection.
|
||||||
Example |
DENY domain_name all |
DOMAINS
Syntax |
DOMAINS |
Description |
Displays a list of ProtectionDomains stored in the Protection Manager. |
GRANT
Syntax |
GRANT [<domain_name> <permission>], while <permission> := <permissionName> < > [<action>] |
||||||
|
|
||||||
Description |
Adds a new permission to the ProtectionDomain PremissionCollection.
|
||||||
Example |
GRANT domain_name all |
PERMISSION
Syntax |
PERMISSION [<type permission>] |
Description |
This command lists all available types of permissions and their aliases. If <type permission> parameter is specified, the command displays a list of actions that are mapped to the specified permission. |
POLICY
Syntax |
POLICY <domain_name> [permission_name] |
||||||
|
|
||||||
Description |
Provides a list of permissions for the specified service.
|
This section contains the commands used for SAP J2EE Engine 6.20 Security Service administration. They are added to the Shell environment by executing
ADD RESOURCE
on the command line.
The Login, Policy and Users groups provide additional commands to administer the Security Service.
CHECK
Syntax |
CHECK <resourceAlias> <userName> <password> <actionId> <instanceId> |
||||||||||||
|
|
||||||||||||
Description |
Checks if the user has permissions to use the specified resource. |
CREATERESOURCE
Syntax |
CREATERESOURCE -r <resourceAlias> CREATERESOURCE -a <resourceAlias> <actionAlias> CREATERESOURCE –i <resourceAlias> <instanceAlias> |
||||||||
|
|
||||||||
Description |
Creates resource, instance or name with the specified alias. |
DESTROY
Syntax |
DESTROY -r <resourceAlias> DESTROY -a <resourceAlias> <actionId> DESTROY -i <resourceAlias> <instanceId> |
||||||||
|
|
||||||||
Description |
Destroys the resource, action or instance with the specified alias. |
GRANTRESOURCE
Syntax |
GRANTRESOURCE <grant|deny> <userId> <actionId> <resourceId> <instanceId> |
||||||||||||
|
|
||||||||||||
Description |
Associates or denies the user specified by <userId> to an action, resource, or instance. |
GROUPRESOURCE
Syntax |
GROUPRESOURCE <true|false> <resourceAlias> <instanceId><parentId> |
||||||||||
|
|
||||||||||
Description |
This command is used to group or ungroup the resources specified by ID and alias. |
RENAME
Syntax |
RENAME <alias> <newAlias> |
||||||
|
|
||||||
Description |
Renames the specified resource, instance or action. |
RESID
Syntax |
RESID -u <userName> <user> |
||||||
|
|
||||||
Description |
Returns the identifier of the specified user or group. |
This section contains the commands used for SAP J2EE Engine 6.20 Servlet_jsp Service administration. They are added to the Shell environment by executing
ADD SERVLET_JSP
on the command line.
HTTPSESSIONS
Syntax |
HTTPSESSIONS [full] |
||||
|
|
||||
Description |
Prints a list of HTTP sessions for users that are logged on to SAP J2EE Engine 6.20. Displays the sessions in all started applications in the Web container. |
This group of commands concerns SAP J2EE Engine 6.20 general administration. You do not have to add these commands, as 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 (EOF or CTRL-K are used for the end of the input stream 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 on 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 file <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. |
This section contains the commands used for SAP J2EE Engine 6.20 Security Service administration. They are added to the Shell environment by executing
ADD USERS
on the command line.
The Policy, Resource and Login groups provide additional commands to administer the Security Service.
CREATEUSER
Syntax |
CREATEUSER -u <name> – creates a user with an empty password. CREATEUSER -u <name> <password> [parent] – creates a user with the specified password and with parent if given. CREATEUSER -g <name> [parent] – creates a group with parent if given. |
Description |
Creates a new server user or group with the specified characteristics. |
DISABLE
Syntax |
DISABLE <user-name> – disables the user with the specified name. |
Description |
Denies login permission to user named <user-name>. |
ENABLE
Syntax |
ENABLE <user-name> – enables the user with the specified name. |
Description |
Gives login permission to user named <user-name>. |
GROUP
Syntax |
GROUP <user-name> <group-name> |
Description |
Adds a user or a group named <user-name> to a group named <group-name>. |
PARENTS
Syntax |
PARENTS <user-name> |
Description |
Shows in which groups a user or a group named <user_name> is located. |
PASSWORD
Syntax |
PASSWORD [<user-name>] <password> – changes the user password. |
Description |
Changes the password of a specified user. |
REMOVEUSER
Syntax |
REMOVE -user <name> – removes the user with the specified name. REMOVE -group <name> – removes the group with the specified name. |
Description |
Removes the specified user or group. |
UNGROUP
Syntax |
UNGROUP <user-name> <group-name> |
Description |
Removes a user or group named <user-name> from a group named <group-name>. |
USERS
Syntax |
USERS [<group_name>] |
Description |
Lists all users in the specified group. If <group_name> is not specified, lists all current users. When <group_name> is specified, lists only the users that belong to this group. |