Agents Administration - Tests
 

Default Parameters for SapWasThreadsTest

The J2EE Engine thread system is responsible for handling system and client threads. It comprises of two managers - Thread Manager and Application Thread Manager. The SapWasThreadsTest monitors the Application Thread Manager of the SAP Web Application server, which supplies the threads in which the client applications' source code is executed. This manager provides a set of properties for starting and managing client threads in the Java Virtual Machine. When a client request comes, the system tries to find a free thread in the Application Thread Manager and to start the execution of the request. If no free thread is available, the thread system buffers the request in a request queue. By buffering the threads and using them again, the system achieves better performance than using normal Java thread system without buffering. The Application Thread Manager runs only on server processes.

This page depicts the default parameters that need to be configured for the SapWasThreadsTest.

  • The TEST PERIOD list box helps the user to decide how often this test needs to be executed.

  • This test uses the SAPControl web service to pull metrics on application and service status. To enable the test to communicate with the web service, you need to configure the test with the port number of the web service. Therefore, specify the port number of the SAPControl web service against WSDL PORT. To determine the exact port number of the SAPControl web service, you can look up the etc/services file on the SAP WAS being monitored. If the port number is not declared in the etc/services file, you can specify the default port number of the web service against WSDL Port. If the web service is not SSL-enabled, then the default port number of the web service will be: 5<NR>13. Similarly, if the web service is SSL-enabled, then the default port number of the web service will be: 5<NR>14. <NR> in the port number refers to the system number of the SAP server being monitored. The system number is an indicator of the TCP/IP port at which the SAP server listens. For example, for a server that listens at port 3200, the system number will be ‘00’. Similarly, if the SAP server port is 3201, the system number will have to be specified as ‘01’. Accordingly, the default port number of an SSL-enabled SAPControl web service will be 50014 , if the system number is 00, or 50114, if the system number is 01.

  • To enable the test to access the SAPControl web service and determine component state, you need to configure the OS USERNAME and OS PASSWORD parameters of the test with the credentials (i.e., name and password) of an OS user, who fulfills one of the following conditions:

    • The name of the OS user should be declared using the service\admin_users profile parameter; (OR)

    • The name of the user group to which the OS user belongs should be declared using the service\admin_groups profile parameter; (OR)

    • The OS user should have the permission to execute the sapstartsrv executable

  • Confirm the OS PASSWORD by retyping it in the CONFIRM PASSWORD text box.

  • Set SSL flag to Yes, if the SAPControl web service is SSL-enabled. Set this flag to No, if the SAPControl web service is not SSL-enabled.

  • Once the necessary values have been provided, clicking on the UPDATE button will register the changes made.

When changing default configurations of tests, the values with “$” indicate variables that will be replaced by the eG system according to the specific server being managed - for instance, $hostName is the host/nickname of the target host, $port is the port number of the server being monitored. E.g., for a server xyz:80, $hostName will be changed automatically by the eG manager to “xyz*” and $port will be changed to “80” when configuring a test.