2 Oracle Tuxedo Java Server Administration

This topic contains the following sections:

2.1 Java Server/Admin Interface

Java server supports a MIB like interface to handle some of administrative operation requests. T_TJS class can be used to perform some of administrative operations on a specific Java server. T_TJS is a general MIB class as the /Admin entry invoked from TM_MIB component. A T_TJS request may has a sub-class field which can be used to define the exact MIB request at Java server side. For more information., see TMIB(5).

2.1.1 Perform/Admin Request

There are methods to perform the /Admin request by calling TMIB service or Java server /Admin service: using TMIB, or using Java Server /Admin Interface.

If invoking the /Admin request via TMIB the service name is .TMIB, and the TA_SRVGRP and TA_SRVID are mandatory.

The following code sample illustrates how to invoke the /Admin Request using TMIB.

SRVCNM .TMIB
TA_CLASS       T_TJS
TA_OPERATION   GET/SET
TA_SRVGRP      JSVRGRP
TA_SRVID       1001
TA_TJS_CLASS   T_TJSXXX
...

If invoking the /Admin request via Java server /Admin interface the service name is ..TJSADM_GRPID_SRVID, the TA_SRVGRP and TA_SRVID are optional.

The following code sample illustrates how to invoke the /Admin Request in the Java Server /Admin Interface.

SRVCNM ..TJSADM_9200_1001
TA_CLASS       T_TJS
TA_OPERATION   GET/SET
TA_TJS_CLASS   T_TJSXXX
...

2.1.2 tmadmin Administration Console

A tmadmin sub-command, tjsreload, is provided so that an administrator can perform a full reload, and reload a server module to a Java server. tjsreload uses the group name and server identifier to locate the target Java server. For more information, see tmadmin Commands in tmadmin (1).