Skip to end of metadata
Go to start of metadata

 

Administration Using Telnet for SAP NetWeaver 7.1 and higher

You can administer Application Server Java (AS Java) by using a Telnet client via the Telnet protocol using a predefined set of shell commands.

If you have been advised by SAP support to use Telnet for troubleshooting your system, here you can find information on how to start the Telnet client and execute the different groups of shell commands.

Note that you have to perform administration over Telnet with extreme care. Strictly follow the instructions provided by SAP support and never execute unknown commands, otherwise you may irretrievably damage your system.

 

Opening a Telnet client

  1. Open the SAP Management Console (SAP MC).
  2. From the Console Root, choose the system you want to administer.
  3. Navigate to the Process Table node.
  4. In the right-hand pane, select the ICM and choose AS Java Telnet from the context menu.
    The Telnet administration console is opened.
  5. Authenticate yourself with valid credentials (user name and password).

Alternatively, you can run a Telnet client and connect to the local system by specifying localhost and the Telnet port:

>telnet localhost 5NN08
where NN is the instance number
localhost name must be used as 5NN08 port is binded to localhost only.

More information: Administration Using Telnet

Using AS Java Shell Commands

AS Java has a predefined set of shell commands grouped according to the functions they provide. To use the shell commands from a group, you first have to activate that group by adding it to the shell environment. By default, only the ADMIN, SYSTEM, DEPLOY, and TELNET groups are activated due to their vital importance.

  • To view the names of all available groups execute the MAN -g command.
  • To add a group of shell commands, enter ADD (group name) in the command line.
  • To view all activated groups and their shell commands, execute the MAN command.
  • To view the help message for a shell command, execute MAN in the command line.
    For example, MAN ADD displays the help message of the ADD command.
  • To close the Telnet session, execute the EXIT command in the command line.

Groups of Shell Commands

Choose the group of shell commands you need from the list below.

JMS
SCHEDULER
DEPLOY
HTTP
LOG
DEBUG
ADMIN
CLASSLOADING
CACHE
LICENSING

Troubleshooting

Telnet does not start