Table of Contents Previous Next PDF


TXST Command and Variable Reference

TXST Command and Variable Reference
This chapter contains the following sections:
TXST Command Categories Overview
TXST commands are divided into the following categories.
 
Browse Commands
cd
Use with TXST: online(connected to domain)
Description
Navigates the hierarchy of beans. This command uses a model that is similar to navigating a file system in a Windows or UNIX command shell. For example, to navigate back to a bean, enter cd('..'). The character string ‘. .’(dot-dot), refers to the directory immediately above the current directory. To get back to the root bean after navigating to a bean that is deep in the hierarchy, enter cd(‘/’).
You can navigate to beans in the current hierarchy and to any child or instance.
The cd command returns a stub of the bean instance, if one exists. In the event of an error, the command returns a TXSTException.
Syntax
cd(mbeanName)
 
Examples
The following example navigates the hierarchy of beans. The first command navigates to the simple bean instance, the second, to the GROUP1 bean instance, and the last back up two levels to the original directory location.
txst:simpapp_38075:/> cd(‘lmid1’)
txst:simpapp_38075:/lmid1> cd('lmid1')
txst:simpapp_38075:/lmid1> cd('GROUP1')
txst:simpapp_38075:/lmid1/GROUP1> cd('../..')
txst:simpapp_38075:/>
prompt
Use with TXST: online(connected to domain)
Description
Toggles the display of path information at the prompt, when entered without an argument. This command is useful when the prompt becomes too long due to the length of the path.
You can also explicitly specify on or off as an argument to the command. When you specify off, TXST hides the TXST prompt and defaults to the Jython prompt. By default, the TXST prompt displays the navigation path information.
When you disable the prompt details, to determine your current location in the hierarchy, you can use the pwd command, as described in pwd.
Syntax
prompt(onoff = None)
 
Examples
The following example hides and then redisplays the path information at the prompt.
txst:simpapp_38075> cd('simple')
txst: simpapp_38075/simple> cd('GROUP1')
txst: simpapp_38075/simple/GROUP1> prompt('off')
>>>prompt()
txst: simpapp_38075/simple/GROUP1>
pwd
Use with TXST: offline or online
Description
Displays the current location in the bean hierarchy. This command is useful when you have turned off the prompt display of the path information using the prompt command, as described in prompt.
Syntax
pwd()
Examples
The following example displays the current location in the bean hierarchy.
txst:simpapp_38075/simple/GROUP1> pwd()
' /simple/GROUP1’
Control Commands
connect
Use with TXST: offline
Description
Connects TXST to a Tuxedo Domain or JMX agent.
If the monitored Tuxedo domain enables authentication and Authorization, TXST must provide credentials when it attaches a Tuxedo domain. If authentication passed, the following tasks are executed afterwards. If authentication failed, the connection is rejected. For now, we only support plaintext password.
SECURITY
Provide tuxedo application password for authentication.
Provide application password, user name and user password for authentication
The client name of Tuxedo users used by TXST must be ‘tpsysadm’, otherwise connect will fail with authentication.
The client must connect master machine, otherwise it might have no right to execute ‘start’ command.
In the event of an error, the command returns a TXSTException.
Syntax
connect(url, domainId, ipckey, appPassword, userName, password)
Examples
txst: /offline> connect('//slce04cn03.us.oracle.com:5037', 'simpapp', ‘38075’)
txst:simpapp_38075:/>
Above example shows how to connect to domain.
Or
txst: /offline> connect('//slce04cn03.us.oracle.com:5037')
txst: slce04cn03.us.oracle.com_5037:/>
This is an instance of connecting to jmx.
connectDomain
Use with TXST: online(connected to JMX agent)
Description
Connects TXST to a Tuxedo Domain from JMX agent. You must connect to jmx before invoking this command. Except without argument url, for the other information, please refer connect.
Syntax
connectDomain(domainId, ipckey, appPassword, userName, password)
Examples
txst:bjlinux16.cn.oracle.com_5037>connectDomain('simpapp', '58103')
txst:simpapp_58103:/>
disconnectDomain
Use with TXST: online(connected to domain)
Description
Disconnect TXST from a Tuxedo domain instance and go back to jmx agent connection.
In the event of an error, the command returns a TXSTException.
Syntax
disconnectDomain()
Examples
txst:simpapp_38075:/simple/GROUP1>disconnectDomain()
txst:bjlinux16.cn.oracle.com_5037>
disconnect
Use with TXST: online
Description
Disconnects TXST from a Tuxedo instance. The disconnect command does not cause TXST to exit the interactive scripting shell; it closes the current Tuxedo instance connection and resets all the variables while keeping the interactive shell alive.
In the event of an error, the command returns a TXSTException.
Syntax
disconnect()
Examples
txst:simpapp_38075:/simple/GROUP1>disconnect()
txst: /offline>
exit
Use with TXST: online or offline
Description
Exits TXST from the user session and closes the scripting shell. By default, TXST calls system.exit(0). If you would like to exit with a different exit code, you can specify a value using the exitcode argument.
Syntax
exit( [exitcode])
 
 
Examples
txst:simpapp_38075:/>exit(1);
c:\jython\bin>
Editing Commands
create
Use with TXST: online(connected to domain)
Description
Creates a bean of the specified type for the current bean.
The create command returns a stub for the newly created bean except for queue.
In the event of an error, the command returns a TXSTException.
Syntax
create(name, childtype,**argv)
Type of bean that you are creating. The valid value should be MACHINE, GROUP, BRIDGE, SERVER, TMS or QUEUE.
Note:
Except creating queue, the return value will be the instance of Mbean which you create. For queue, the return value will be None.
Examples
The following example creates a bean of type server named simpserv for the current bean, storing the stub as server1:
txst:simpapp_38075:/simple/GROUP1> srv1 = create(“simpserv”, "SERVER", srvID =40)
txst:simpapp_38075:/simple/GROUP1> ls(‘c’)
childBean:
server simpserv_1
server simpserv_2
server simpserv_40
delete
Use with TXST: online(connected to domain)
Description
Deletes an instance of a bean of the specified type for the current bean.
In the event of an error, the command returns a TXSTException.
Note:
Syntax
delete(name, force)
 
Examples
The following example deletes the bean of type server named simpserv_1:
txst:simpapp_38075:/simple/GROUP1>delete(“simpserv_40”)
txst:simpapp_38075:/simple/GROUP1>ls(‘c’)
childBean:
server simpserv_1
server simpserv_2
get
Use with TXST: online(connected to domain)
Description
Returns the value of the specified attribute, or the dictionary of the specified attributes
In the event of an error, the command returns a TXSTException.
Note:
Syntax
get(attrs=None, path=None)
 
Examples
txst:simpapp_38075:/simple/GROUP1> dic = get([“TA_CURLMID”,”TA_STATE”])
txst:simpapp_38075:/simple/GROUP1> print dic
{'TA_CURLMID': u'simple', 'TA_STATE': u'ACTIVE'}
Or
txst:simpapp_38075:/> dic = get([“TA_CURLMID”,”TA_STATE”], path=”/simple/GROUP1”)
txst:simpapp_38075:/> print dic
{'TA_CURLMID': u'simple', 'TA_STATE': u'ACTIVE'}
set
Use with TXST: online(connected to domain)
Description
Sets the specified attribute value for the specified bean
You can list all attributes and their current values by entering ls(‘b’)
In the event of an error, the command returns a TXSTException.
Syntax
set(attrs,[path])
 
Attributes:
 
Examples
txst:simpapp_38075:/simple/>a = {"TA_SEC_PRINCIPAL_NAME":"SEC"}
txst:simpapp_38075:/simple/>set (a)
or
txst:simpapp_38075:/>a = {"TA_SEC_PRINCIPAL_NAME":"SEC"}
txst:simpapp_38075:/>set (a, “/simple”)
Information Commands
find
Use with TXST: online(connected to domain)
Description
Finds MBeans in the hierarchy.
TXST returns the pathname to the MBean that is specified by name.
In the event of an error, the command returns a TXSTException.
Syntax
find([name], [beanType], [path])
 
Examples
txst:simpapp_38075:/simple/GROUP1>find(name=’simpserv’,type=’server’)
/simple/GROUP1/simpserv_1
/simple/GROUP1/simpserv_2
getMBean
Use with TXST: online(connected to domain)
Description
Returns the MBean by browsing to the specified path.
In the event of an error, the command returns a TXSTException.
Syntax
getMBean(path)
 
Examples
The following example returns the MBean specified by the path.
txst:simpapp_38075:/simple/GROUP1>com=getMBean(“/simple/GROUP1/simpserv_1”)
txst:simpapp_38075:/simple/GROUP1>com.getType()
‘server’
getPath
Description
Returns the MBean’s path for the specified MBean instance
In the event of an error, the command returns a TXSTException.
Syntax
getPath(bean)
 
Examples
The following example returns the MBean specified by the path.
txst:simpapp_38075:/simple/GROUP1>com=getMBean(“/simple/GROUP1/simpserv_1”)
txst:simpapp_38075:/simple/GROUP1>cd(‘..’)
txst:simpapp_38075:/simple>path=getPath(com)
txst:simpapp_38075:/simple>print path
GROUP1/simpserv_1
lookup
Use with TXST: online(connected to domain)
Description
Looks up the specified MBean. The MBean must be a child of the current MBean
In the event of an error, the command returns a TXSTException.
Syntax
lookup(name, [childtype])
 
Examples
The following example looks up the specified server, simpserv_1, and stores the returned stub in the sbean variable.
txst:simpapp_38075:/simple/GROUP1>sbean=lookup(‘^simpserv_1$’,’server’)
txst:simpapp_38075:/simple/GROUP1>sbean[0].getName()
‘simpserv_1’
or
txst:simpapp_38075:/simple/GROUP1>sbean=lookup(”simpserv”,’server’)
txst:simpapp_38075:/simple/GROUP1>sbean[0].getName()
‘simpserv_1’
txst:simpapp_38075:/simple/GROUP1>sbean[1].getName()
‘simpserv_2’
ls
Use with TXST: online(connected to domain)
Description
Lists all the child beans and/or attributes for the current bean.
You can optionally control the output by specifying an argument. If no argument is specified, the command lists all child beans and attributes in the domain. The output is returned as a string.
In the event of an error, the command returns a TXSTException.
Syntax
ls( ['a' | 'c' | 'b' ], [path] )
 
Examples
The following example displays all the child beans, and attribute names and values for the MBean GROUP1:
txst:simpapp_38075:/simple/GROUP1>ls()
redirect
Use with TXST: online(connected to domain)
Description
Redirects TXST output to the specified filename.
In the event of an error, the command returns a TXSTException.
Syntax
redirect(outputFile, [toStdOut])
 
Limitation:
After invoking redirect when toStdOut is TRUE, sys.stdout is assigned to TXST’s internal Pyobject which only supports the following functions: write(), writelines(), flush(), close()
After invoking redirect when toStdOut is FALSE, sys.stdout is assigned to FileOutputStream’s object.
Examples
The following example begins redirects TXST output to the logs/txst.log file in the current directory:
txst:simpapp_38075:/> redirect('./logs/txst.log')
startRecording
Use with TXST: online(connected to domain)
Description
Records all user interactions with TXST. This command is useful for capturing commands for replay. In the event of an error, the command returns a TXSTException.
Limitation:
This command doesn’t take effect when TXST works as a Jython Module, because the interpreter is InteractiveInterpreter but not TXSTInterpreter. This command depends on TXSTInterpreter.
Syntax
startRecording(recordFile)
 
Examples
The following example begins recording commands in the record.py file:
txst:simpapp_38075:/> startRecording('c:/myScripts/record.py')
stopRecording
Use with TXST: online(connected to domain)
Description
Stops recording TXST commands. For information about starting a recording
In the event of an error, the command returns a TXSTException.
Limitation:
This command doesn’t take effect when TXST works as a Jython Module, because the interpreter is InteractiveInterpreter but not TXSTInterpreter. This command depends on TXSTInterpreter.
Syntax
stopRecording()
Examples
txst:simpapp_38075:/> stopRecording()
stopRedirect
Use with TXST: online(connected to domain)
Description
Stops the redirection of TXST output to a file, if redirection is in progress.
In the event of an error, the command returns a TXSTException.
Syntax
stopRedirect()
Examples
txst:simpapp_38075:/> stopRedirect()
easeSyntax
Use with TXST: online or offline
Description
This command allow users to invoke some commands without typing the parenthese.
If you want to turn off the easy syntax mode, just simply issue this command again.
The supported commands are as follows:
cd, ls, find,connect,startRecording, migrate, resume, shutdown, start, suspend, prompt, disconnect, pwd, stopRecording, stopRedirect, easeSyntax, exit.
Syntax
easeSyntax()
Examples
txst:simpapp_58103:/>easeSyntax()
easeSyntax on now.
txst:simpapp_58103:/>ls c
childBean:
tuxedo_machine L1
Life Cycle Commands
migrate
Use with TXST: online(connected to domain)
Description
Migrates the servers in the specified scope to an alternate location. This command only is supported by Machine MBean and Group’s.
In the event of an error, the command returns a TXSTException.
Syntax
migrate( name )
 
Examples
txst:simpapp_38075:/simple/GROUP1> migrate()
or
txst:simpapp_38075:/> migrate(“/simple/GROUP1”)
resume
Use with TXST: online(connected to domain)
Description
Resume an object that is suspended.
In the event of an error, the command returns a TXSTException.
Syntax
resume( targetName, Mbean )
 
Examples
Resume the client named ‘clientID’ which belongs to machine ‘simple’:
txst:simpapp_38075:/simple> resume(“clientID”)
or
txst:simpapp_38075:/> resume(“clientID”, “/simple”)
shutdownDomain
Use with TXST: online(connected to domain)
Description
Gracefully shutdown the tuxedo domain. If domain is shutdown successfully, TXST will disconnect from domain and go back to connect jmx.
In the event of an error, the command returns a TXSTException.
Notes:
Syntax
shutdownDomain()
Examples
txst:simpapp_58103:/>shutdownDomain()
Shutting down server processes ...
Server Id = 1 Group Id = GROUP1 Machine = L1: SIGTERM
Shutting down admin processes ...
Server Id = 0 Group Id = L1 Machine = L1: shutdown succeeded
2 processes stopped.
txst:bjlinux16.cn.oracle.com_5037>
startDomain
Use with TXST: online(connected to JMX agent)
Description
Start the tuxedo domain. If invoking is success, you can connect to domain.
In the event of an error, the command returns a TXSTException.
Notes:
Syntax
startDomain(tuxconfig)
 
Examples
txst:bjlinux16.cn.oracle.com_5037>startDomain('/nfs/users/bosguo/workspace/txst/simpapp/tuxconfig')
INFO: Oracle Tuxedo, Version 12.1.3.0.0 beta, 64-bit, Patch Level (none)
Booting admin processes ...
exec BBL -A :
process id=1996 ... Started.
Booting server processes ...
exec server -A :
process id=1999 ... Started.
2 processes started.
txst:bjlinux16.cn.oracle.com_5037>
shutdown
Use with TXST: online(connected to domain)
Description
Gracefully shuts down the specified object
In the event of an error, the command returns a TXSTException.
Note:
Syntax
shutdown( name )
 
Examples
shutdown the server ‘simpserv_01’
txst:simpapp_38075:/simple/GROUP1/simpserv_01> shutdown()
 
#simpserv_01 is shutdown.
or
shutdown the servers which AOUT is ‘simpserv’ in machine simple
txst:simpapp_38075:/simple>shutdown(“/simple:simpserv”)
 
#simpserv_01, simpserv_02 are shutdown.
start
Use with TXST: online(connected to domain)
Description
Start the specified object
In the event of an error, the command returns a TXSTException.
Note:
Syntax
start ( name)
 
Examples
boot the server ‘simpserv_01’
txst:simpapp_38075:/simple/GROUP1/simpserv_01> start()
 
#simpserv_01 is booted.
or
boot the server which AOUT is ‘simpserv’
txst:simpapp_38075:/simple>start(“/simple:simpserv”)
 
#simpserv_01, simpserv_02 are booted.
suspend
Use with TXST: online(connected to domain)
Description
Suspends the specified object.
In the event of an error, the command returns a TXSTException.
Syntax
suspend(targetName, Mbean)
 
Examples
Suspend the client named ‘clientID’ which belongs to machine ‘simple’
txst:simpapp_38075:/simple> suspend(“clientID”)
or
txst:simpapp_38075:/> suspend(“clientID”, “simple”)
TXST Variable Reference
Following table describes TXST variables and their common usage.
 
Jython Class for Tuxedo Mbeans
In TXST, all the Tuxedo Mbeans have corresponding Jython class. Jython class has a set of function to implements corresponding Mbean’s operations. This section describes the Jython class in TXST.
Mbean
This is the root class for other classes in TXST. It provides a set of basic operation.
getName
get the object’s name
getType
get the object’s type
getMbeanName
get the MBean’s objectName.
DomainMbean
Inherited from MBean
CreateMachine
Syntax
CreateMachine(pmid,lmid,tuxconfig,tuxdir,appdir)
This function invokes JMX interface createMachine of Domain Mbean. For more information, refer to Tuxedo Domain MBean.
GetParameters
Syntax
GetParameters()
Output
A dictionary which includes all attributes and values.
This function invokes JMX interface getParameters of Domain Mbean. For more information, refer to Tuxedo Domain MBean.
GetParameter
Syntax
GetParameter(name)
This function invokes JMX interface getParameter of Domain Mbean. For more information, refer to Tuxedo Domain MBean.
SetParameters
Syntax
SetParameters(data)
Input
data: A dictionary which includes the attributes and values to be set.
This function invokes JMX interface setParameters of Domain Mbean. For more information, refer to Tuxedo Domain MBean.
SetParameter
Syntax
SetParameter(name, value)
This function invokes JMX interface setParameter of Domain Mbean. For more information, refer to Tuxedo Domain MBean.
GetRoutings
Syntax
GetRoutings()
Output
A list includes all attributes and values of all routings.
This function invokes JMX interface getRouting of Domain Mbean. For more information, refer to Tuxedo Domain MBean.
Add Routing
Syntax
AddRouting(routingName,routingType,bufType,field,ranges)
This function invokes JMX interface addRouting of Domain Mbean. For more information, refer to Tuxedo Domain MBean.
DeleteRouting
Syntax
DeleteRouting(routingName,buftype,field,type)
This function invokes JMX interface deleteRouting of Domain Mbean. For more information, refer to Tuxedo Domain MBean.
SetRoutingParameter
Syntax
SetRoutingParameter(routingName,buftype,field,type, parameterName,parameterValue)
This function invokes JMX interface setRoutingParameter of Domain Mbean. For more information, refer to Tuxedo Domain MBean.
SetRoutingParameters
Syntax
SetRoutingParameters(routingName,buftype,field,ta_type,attrs)
Input
attrs: A dictionary includes the attributes and values to be set.
This function invokes JMX interface setRoutingParameters of Domain Mbean. For more information, refer to Tuxedo Domain MBean.
GetRoutingParameter
Syntax
GetRoutingParameter(routingName,buftype,field,type,parameterName)
Output
A dictionary includes the attribute and the value.
This function invokes JMX interface getRoutingParameter of Domain Mbean. For more information, refer to Tuxedo Domain MBean.
Swap
Syntax
Swap()
This function invokes JMX interface swap of Domain Mbean. For more information, refer to Tuxedo Domain MBean.
Tuxedo_Domain
Syntax
Tuxedo_Domain()
Output
TUXEDO_ECM_DOMAIN_MBEAN
 
MachineMbean
Inherited from MBean
CreateGroup
Syntax
CreateGroup(groupName,groupNo)
This function invokes JMX interface createGroup of Machine Mbean.
CreateBridge
Syntax
CreateBridge(lmid,naddr,nlsaddr)
This function invokes JMX interface createBridge of Machine Mbean.
GetParameters
Syntax
GetParameters()
Output
A dictionary which includes all attributes and values.
This function invokes JMX interface getParameters of Machine Mbean.
GetParameter
Syntax
GetParameter(name)
This function invokes JMX interface getParameter of Machine Mbean.
SetParameters
Syntax
SetParameters(data)
Input
data: A dictionary which includes the attributes and values to be set.
This function invokes JMX interface setParameters of Machine Mbean.
SetParameter
Syntax
SetParameter(name, value)
This function invokes JMX interface setParameter of Machine Mbean.
DeleteRecursively
Syntax
DeleteRecursively()
Invokes JMX interface deleteRecursively of Machine Mbean.
Delete
Syntax
Delete()
Invokes JMX interface delete of Machine Mbean.
Migrate
Syntax
Migrate()
Invokes JMX interface migrate of Machine Mbean.
Clean
Syntax
Clean()
Invokes JMX interface clean of Machine Mbean.
GetNativeClients
Syntax
GetNativeClients()
Invokes JMX interface getNativeClients of Machine Mbean.
Suspend
Syntax
Suspend(clientId)
Invokes JMX interface suspend of Machine Mbean.
Resume
Syntax
Resume(clientId)
Invokes JMX interface resume of Machine Mbean.
KillClient
Syntax
KillClient(clientId)
Invokes JMX interface killClient of Machine Mbean.
GetTransactions
Syntax
GetTransactions()
Output
A list includes all transactions’ attributes.
This function invokes JMX interface get Transations of Machine Mbean.
AbortTransaction
Syntax
AbortTransaction(transId,xId)
Invokes JMX interface abortTransaction of Machine Mbean.
GetUlog
Syntax
GetUlog(date, startTime, endTime, line,ulogCat, serverity, totalLine)
Output
A list includes all attributes of ulogs.
Invokes JMX interface getULog of Machine Mbean.
Client_Connections
Syntax
Client_Connections()
Output
CLIENT_CONNECTION_NUMBER_MBEAN
 
Machine_Operation_Statistics
Syntax
Machine_Operation_Statistics ()
Output:
MACHINE_OPERATION_STATISTICS_MBEAN
 
Tuxedo_machines
Syntax
Tuxedo_machines()
Output
TUXEDO_ECM_MACHINE_MBEAN
 
GroupMbean
Inherited from MBean
CreateServer
Syntax
CreateServer(aout,srvID)
Invokes JMX interface createServer of Group Mbean.
GetParameters
Syntax
GetParameters()
Output
A dictionary which includes all attributes and values.
This function invokes JMX interface getParameters of Group Mbean.
GetParameter
Syntax
GetParameter(name)
This function invokes JMX interface getParameter of Group Mbean.
SetParameters
Syntax
SetParameters(data)
Input
data: A dictionary which includes the attributes and values to be set.
This function invokes JMX interface setParameters of Group Mbean.
SetParameter
Syntax
SetParameter(name, value)
This function invokes JMX interface setParameter of Group Mbean.
CreateTMS
Syntax
CreateTMS(rmsName,rmid,tmsName)
Invokes JMX interface createTMS of Group Mbean.
DeleteRecursively
Syntax:
DeleteRecursively()
Invokes JMX interface deleteRecursively of Group Mbean.
Delete
Syntax
Delete()
Invokes JMX interface delete of Group Mbean.
Migrate
Syntax
Migrate()
Invokes JMX interface migrate of Group Mbean.
Tuxedo_groups
Syntax
Tuxedo_groups()
Output
TUXEDO_ECM_GROUPS_MBEAN
 
BridgeMbean
Inherited from MBean
GetParameters
Syntax
GetParameters()
Output
A dictionary which includes the attributes.
This function invokes JMX interface getParameters() of Bridge Mbean.
GetParameter
Syntax
GetParameter(name)
This function invokes JMX interface getParameter() of Bridge Mbean.
GetRemoteLinks
Syntax
GetRemoteLinks ()
Output
A list which includes the attributes.
This function invokes JMX interface getRemoteLinks () of Bridge Mbean.
GetRemoteLinkParameter
Syntax
GetRemoteLinkParameter(lmid, name)
This function invokes JMX interface getRemoteLinkParameter () of Bridge Mbean.
SetRemoteLinkParameters
Syntax
SetRemoteLinkParameters (lmid, data)
Input
data: A dictionary which includes the attributes.
This function invokes JMX interface setRemoteLinkParameters () of Bridge Mbean.
SuspendRemoteLink
Syntax
SuspendRemoteLink (lmid)
This function invokes JMX interface suspend () of Bridge Mbean.
ResumeRemoteLink
Syntax
ResumeRemoteLink (lmid)
This function invokes JMX interface resume () of Bridge Mbean.
DeactivateRemoteLink
Syntax
DeactivateRemoteLink (lmid)
This function invokes JMX interface deactive () of Bridge Mbean.
Bridge_Remote_Link_Statistics
Syntax
Bridge_Remote_Link_Statistics()
Output
REMOTE_LINK_STATISTICS_MBEAN
 
Bridge_Queue_Statistics
Syntax
Bridge_Queue_Statistics()
Output
BRIDGE_QUEUE_STATISTICS_MBEAN
 
Tuxedo_ECM_Bridge
Syntax
Tuxedo_ECM_Bridge()
Output
TUXEDO_ECM_BRIDGE_MBEAN
 
ServerMbean
Inherited from MBean
GetParameters
Syntax
GetParameters()
Output
A dictionary which includes all attributes and values.
This function invokes JMX interface getParameters of Server Mbean.
GetParameter
Syntax
GetParameter(name)
This function invokes JMX interface getParameter of Server Mbean.
SetParameters
Syntax
SetParameters(data)
Input
data: A dictionary which includes the attributes and values to be set.
This function invokes JMX interface setParameters of Server Mbean.
SetParameter
Syntax
SetParameter(name, value)
This function invokes JMX interface setParameter of Server Mbean.
Delete
Syntax
Delete()
This function invokes JMX interface delete of Server Mbean.
SetServiceParam
Syntax
SetServiceParam(serviceName,parameterName,parameterValue)
Invokes JMX interface setServiceParameter of Server Mbean.
GetServiceParam
Syntax
GetServiceParam(serviceName,parameterName)
Output
A dictionary includes the attribute name and value.
Invokes JMX interface getServiceParameter of Server Mbean.
DeleteService
Syntax
DeleteService(serviceName)
Invokes JMX interface deleteService of Server Mbean.
GetServices
Syntax
GetServices()
Output
A list includes all services’ attributes.
Invokes JMX interface getServices of Server Mbean.
SuspendService
Syntax
SuspendService(serviceName)
Invokes JMX interface suspendService of Server Mbean.
ResumeService
Syntax
ResumeService(serviceName)
Invokes JMX interface resumeService of Server Mbean.
Server_Statistics
Syntax
Server_Statistics()
Output
SERVER_STATISTICS_MBEAN
 
Service_Statistics
Syntax:
Service_Statistics()
Output
SERVICE_STATISTICS_MBEAN
 
IPC_Queue_Statistics
Syntax
IPC_Queue_Statistics()
Output
IPC_QUEUE_STATISTICS_MBEAN
 
Tuxedo_servers
Syntax
Tuxedo_servers()
Output
TUXEDO_ECM_SERVERS_MBEAN
 
SystemServerMbean
Inherited from MBean
GetParameters
Syntax
GetParameters()
Output:
A dictionary which includes all attributes and values.
This function invokes JMX interface getParameters of System Server Mbean.
GetParameter
Syntax
GetParameter(name)
This function invokes JMX interface getParameter of System Server Mbean.
SetParameters
Syntax
SetParameters(data)
Input
data: A dictionary which includes the attributes and values to be set.
This function invokes JMX interface setParameters of System Server Mbean.
SetParameter
Syntax
SetParameter(name, value)
This function invokes JMX interface setParameter of System Server Mbean.
Delete
Syntax
Delete()
This function invokes JMX interface delete of System Server Mbean.
System_Server_Number
Syntax
System_Server_Number()
Output
SYSTEM_SERVER_NUMBER_MBEAN
 
TMSMbean
Inherited from MBean
GetParameters
Syntax
GetParameters()
Output
A dictionary which includes the attributes.
This function invokes JMX interface getParameters() of TMS Mbean.
GetParameter
Syntax
GetParameter(name)
This function invokes JMX interface getParameter() of TMS Mbean.
SetParameters
Syntax
SetParameters(data)
Input
data: A dictionary which includes the attributes.
This function invokes JMX interface setParameters() of TMS Mbean.
SetParameter
Syntax
SetParameter(name, value)
This function invokes JMX interface setParameter() of TMS Mbean.
Delete
Syntax:
Delete()
This function invokes JMX interface delete() of TMS Mbean.
TMS_Transaction_Statistics
Syntax:
TMS_Transaction_Statistics()
Output:
TMS_TRANSACTION_STATISTICS_MBEAN
 
Tuxedo_TMS
Syntax
Tuxedo_TMS()
Output
 
TDomainGatewayMbean
Inherited from MBean
GetParameters
Syntax
GetParameters()
Output
A dictionary which includes the attributes.
This function invokes JMX interface getParameters() of /T domain gateway Mbean.
GetParameter
Syntax
GetParameter(name)
This function invokes JMX interface getParameter() of /T domain gateway Mbean.
SetParameters
Syntax
SetParameters(data)
Input
data: A dictionary which includes the attributes.
This function invokes JMX interface setParameters() of /T domain gateway Mbean.
SetParameter
Syntax
SetParameter(name, value)
This function invokes JMX interface setParameter() of /T domain gateway Mbean.
Delete
Syntax
Delete()
This function invokes JMX interface delete() of /T domain gateway Mbean.
Remote_Link_Statistics
Syntax
Remote_Link_Statistics()
Output
REMOTE_LINK_STATISTICS_MBEAN
 
Domain_Gateway_Transaction_Statistics
Syntax:
Domain_Gateway_Transaction_Statistics()
Output:
DOMAIN_GATEWAY_TRANSACTION_STATISTICS_MBEAN
 
EventBrokerMbean
Inherited from MBean
GetParameters
Syntax
GetParameters()
Output
A dictionary which includes the attributes.
This function invokes JMX interface getParameters() of event broker Mbean.
GetParameter
Syntax
GetParameter(name)
This function invokes JMX interface getParameter() of event broker Mbean.
SetParameters
Syntax
SetParameters(data)
Input
data: A dictionary which includes the attributes.
This function invokes JMX interface setParameters() of event broker Mbean.
SetParameter
Syntax
SetParameter(name, value)
This function invokes JMX interface setParameter() of event broker Mbean.
Delete
Syntax
Delete()
This function invokes JMX interface delete() of event broker Mbean.
Event_Statistics
Syntax
Event_Statistics()
Output
EVENT_STATISTICS_MBEAN
 
QueueServerMbean
Inherited from MBean
GetParameters
Syntax
GetParameters()
Output
A dictionary which includes the attributes.
This function invokes JMX interface getParameters() of OTMQ Mbean.
GetParameter
Syntax
GetParameter(name)
This function invokes JMX interface getParameter() of OTMQ Mbean.
SetParameters
Syntax
SetParameters(data)
Input
data: A dictionary which includes the attributes.
This function invokes JMX interface setParameters() of OTMQ Mbean.
SetParameter
Syntax
SetParameter(name, value)
This function invokes JMX interface setParameter() of OTMQ Mbean.
Delete
Syntax
Delete()
This function invokes JMX interface delete() of OTMQ Mbean.
Queue_Space_Statistics
Syntax
Queue_Space_Statistics()
Output
QUEUE_SPACE_STATISTICS_MBEAN
 
Queue_Space_Peak
Syntax
Queue_Space_Peak()
Output
QUEUE_SPACE_PEAK_MBEAN
 
Queue_Statistics
Syntax
Queue_Statistics()
Output
QUEUE_STATISTICS_MBEAN
 
Tuxedo_Q_QSPACE
Syntax
Tuxedo_Q_QSPACE()
Output
TUXEDO_ECM_SLASH_QUEUE_QSPACE_MBEAN
 
Tuxedo_Q_QUEUE
Syntax
Tuxedo_Q_QUEUE()
Output
TUXEDO_ECM_SLASH_QUEUE_QUEUE_MBEAN
 
WebServiceGatewayMbean
GetParameter
Syntax
GetParameter(parameterName)
This function invokes JMX interface getParameter(parameterName) of Tuxedo Web Service Gateway Mbean.
GetParameters
Syntax
GetParameters(parameterName)
This function invokes JMX interface getParameters(parameterName) of Tuxedo Web Service Gateway Mbean.
SetParameter
Syntax
SetParameter(parameterName, parameterValue)
This function invokes JMX interface setParameter(parameterName, parameterValue) of Tuxedo Web Service Gateway Mbean.
SetParameters
Syntax
SetParameters(date)
Input
The parameter “data” type is dictionary which includes parameter names and values. It’ll be converted to CompositeData type to invoke JMX interface.
This function invokes JMX interface setParameters(parameters) of Tuxedo Web Service Gateway Mbean.
Delete
Syntax
Delete()
This function invokes JMX interface delete() of Tuxedo Web Service Gateway Mbean.
Web_Service_Gateway_Statistics
Syntax
Web_Service_Gateway_Statistics()
Output
WEBSERVICE_GATEWAY_STATISTICS_MBEAN
 
WorkstationListenerMbean
GetParameter
Syntax
GetParameter(parameterName)
This function invokes JMX interface getParameter(parameterName) of Tuxedo Workstation Listener Mbean.
GetParameters
Syntax
GetParameters()
Output
The original type is CompositeData and the final output type is converted to dictionary.
This function invokes JMX interface getParameters() of Tuxedo Workstation Listener Mbean.
SetParameter
Syntax
SetParameter(parameterName, parameterValue)
This function invokes JMX interface setParameter(parameterName, parameterValue) of Tuxedo Workstation Listener Mbean.
SetParameters
Syntax
SetParameters(date)
Input
The parameter “data” type is dictionary which includes parameter names and values. It’ll be converted to CompositeData type to invoke JMX interface.
This function invokes JMX interface setParameters(parameters) of Tuxedo Workstation Listener Mbean.
Delete
Syntax
Delete()
This function invokes JMX interface delete() of Tuxedo Workstation Listener Mbean.
Get Handler Parameter
Syntax
GetHandlerParameter(clientId, parameterName)
This function invokes JMX interface getHandlerParameter() of Tuxedo Workstation Listener Mbean.
Get Handlers
Syntax
GetHandlers(ClientId)
Output
The original type is TabularData and the final output type is converted to list.
This function invokes JMX interface getHandlers(clientId) of Tuxedo Workstation Listener Mbean.
Suspend Handler
Syntax
SuspendHandler(clientId)
This function invokes JMX interface suspendHandler(clientId) of Tuxedo Workstation Listener Mbean.
Resume Handler
Syntax
ResumeHandler(clientId)
This function invokes JMX interface resumeHandler(clientId) of Tuxedo Workstation Listener Mbean.
Kill Handler
Syntax
KillHandler(clientId)
This function invokes JMX interface killHandler(clientId) of Tuxedo Workstation Listener Mbean.
Get Clients
Syntax
GetClients(wshClientID)
Output
The original type is TabularData and the final output type is converted to list.
This function invokes JMX interface getWSClients(clientId) of Tuxedo Workstation Listener Mbean.
Suspend Client
Syntax
SuspendClient(clientId)
This function invokes JMX interface suspendClient(clientId) of Tuxedo Workstation Listener Mbean.
Resume Client
Syntax
ResumeClient(clientId)
This function invokes JMX interface resumeClient(clientId) of Tuxedo Workstation Listener Mbean.
Kill Client
Syntax
KillClient(clientId)
This function invokes JMX interface killClient(clientId) of Tuxedo Workstation Listener Mbean.
Workstation_Listener_Statistics
Syntax
Workstation_Listener_Statistics()
Output
LISTENER_STATISTICS_MBEAN
 
JoltListenerMbean
GetParameter
Syntax
GetParameter(parameterName)
This function invokes JMX interface getParameter(parameterName) of Tuxedo Jolt Listener Mbean.
GetParameters
Syntax
GetParameters()
Output
The original type is CompositeData and the final output type is converted to dictionary.
This function invokes JMX interface getParameters() of Tuxedo Jolt Listener Mbean.
SetParameter
Syntax
SetParameter(parameterName, parameterValue)
This function invokes JMX interface setParameter(parameterName, parameterValue) of Tuxedo Jolt Listener Mbean.
SetParameters
Syntax
SetParameters(date)
Input:
The parameter “data” type is dictionary which includes parameter names and values. It’ll be converted to CompositeData type to invoke JMX interface.
This function invokes JMX interface setParameters(parameters) of Tuxedo Jolt Listener Mbean.
Delete JSL
Syntax
Delete ()
This function invokes JMX interface delete() of Tuxedo Jolt Listener Mbean.
Get Handlers
Syntax
GetHandlers()
Output
The original type is TabularData and the final output type is converted to list.
This function invokes JMX interface getHandlers() of Tuxedo Jolt Listener Mbean.
Suspend Handler
Syntax
SuspendHandler(clientId)
This function invokes JMX interface suspendHandler(clientId) of Tuxedo Jolt Listener Mbean.
Resume Handler
Syntax
ResumeHandler(clientId)
This function invokes JMX interface resumeHandler(clientId) of Tuxedo Jolt Listener Mbean.
Jolt_Listener_Statistics
Syntax
Jolt_Listener_Statistics()
Output
LISTENER_STATISTICS_MBEAN
 
ARTBatchSystemMbean
Inherited from MBean
GetBatchs
Syntax
GetBatchs(batchName, batchID, batchClass, batchOwner)
Output
A list which contains result.
This function invokes JMX interface getBatchs() of ART batch system Mbean.
CancelBatch
Syntax
CancelBatch(batchName, batchID, batchClass, batchOwner)
Output
A list which contains result.
This function invokes JMX interface cancelBatch() of ART batch system.
PurgeBatch
Syntax
PurgeBatch(batchName, batchID, batchClass, batchOwner)
Output
A list which contains result.
This function invokes JMX interface purgeBatch() of ART batch system Mbean.
HoldBatch
Syntax
HoldBatch(batchName, batchID, batchClass, batchOwner)
Output
A list which contains result.
This function invokes JMX interface holdBatch () of ART batch system Mbean.
ReleaseBatch
Syntax
ReleaseBatch(batchName, batchID, batchClass, batchOwner)
Output
A list which contains result.
This function invokes JMX interface releaseBatch() of ART batch system Mbean.
GetBatchSysOuts
Syntax
GetBatchSysOuts(batchID)
Output
A list which contains result.
This function invokes JMX interface getBatchSysOuts() of ART batch system Mbean.
SubmitBatch
Syntax
SubmitBatch (batchScript, batchOwner, batchEJROption,
batchShellOption, batchDBLogin, batchMTEnv)
Output
A list which contains result.
This function invokes JMX interface submitBatch() of ART batch system Mbean.
GetGDGFiles
Syntax
GetGDGFiles(batched, fileName)
Output
A dictionary which contains result.
This function invokes JMX interface getGDGFiles() of ART batch system Mbean.
GetBatchFiles
Syntax
GetBatchFiles()
Output
A list which contains result.
This function invokes JMX interface getBatchFiles () of ART batch system Mbean.
 

Copyright © 1994, 2017, Oracle and/or its affiliates. All rights reserved.