sybase.system.log4j:Type=Notifier  Appendix A: Using EJB 1.0 JAR Support

Chapter 13: Using Systems Management

sybase.system.service:Name=Jaguar,Type=EAS

Description

The sybase.system.service:Name=Jaguar,Type=EAS MBean is a client of the EAServer Monitoring CORBA component. All the statistics provided by the Monitoring component are accessible via this MBean.

Attribute name

Description

Default value

Datatype

Host

Server host machine.

Name of the machine hosting the server

String

InstallDir

The EAServer installation directory.

String

JDK

The JDK version with which EAServer is running.

String

LogPath

The full path and name of the server’s log file.

$JAGUAR/bin/Jaguar.log

String

Password

User’s login password.

String

Port

IIOP connection port number.

9000

int

ReconnectDelay

The minimum delay required between successive attempts at reconnecting to EAServer if the first attempt fails.

5000

long

ServerName

The name of the server.

Jaguar

String

StartCommand

Command that was used to start the server.

String

StartTimeout

If EAServer takes longer than this specified number of seconds to start, it is assumed that EAServer failed to start.

60000

long

User

Login user’s name.

jagadmin

String




init

Description

Initializes the sybase.system.service:Name=Jaguar,Type=EAS MBean.

Syntax

start(void)

Returns

void




listEntityChildren

Description

Returns the data from the entity’s items() method.

Syntax

listEntityChildren(entityType java.lang.String, entityName java.lang.String)

Parameters

entityType

The entity type.

entityName

The entity name.

Returns

java.lang.String[][]




listEntityProperties

Description

Lists the contents of the properties file for the specified entity type and entity name.

Syntax

listEntityProperties(entityType java.lang.String, entityName java.lang.String)

Parameters

entityType

The entity type.

entityName

The entity name.

Returns

java.util.Properties




listMSNames

Description

Lists the entries for the specified Message Service component.

Syntax

listMSNames(ms_component java.lang.String)

Parameters

ms_component

Must be one of:

Returns

java.lang.String[]




listNetworkTypeNames

Description

Returns the listener types that you can configure with this MBean.

Syntax

listNetworkTypeNames(void)

Returns

java.lang.String[IIOP, IIOPS, HTTP, HTTPS, TDS, TDSS]




refresh

Description

Refreshes the MBean.

Syntax

refresh(void)

Returns

void




restart

Description

Restarts the MBean.

Syntax

restart(void)

Returns

void




retrieveComponentMonitorData

Description

Retrieves monitoring data about the specified EAServer component.

Syntax

retrieveComponentMonitorData(componentName java.lang.String)

Parameters

componentName

The name of the component for which to retrieve monitoring data.

Returns

double[]




retrieveConnCacheMonitorData

Description

Retrieves monitoring data about the specified connection cache.

Syntax

retrieveConnCacheMonitorData(cacheName java.lang.String)

Parameters

cacheName

The name of the connection cache for which to retrieve monitoring data.

Returns

double[]




retrieveConnectedUsers

Description

Retrieves information about connected users from the EAServer Monitor component.

Syntax

retrieveConnectedUsers(void)

Returns

com.sybase.jaguar.system.UserInfo[]




retrieveLog

Description

Retrieves the specified number of lines from the log file, beginning with the line number identified by the first parameter.

Syntax

retrieveLog(line_number int, total_lines int)

Parameters

line_number

The line number of the first line to retrieve.

total_lines

The total number of lines to retrieve.

Returns

java.lang.String[]




retrieveLog

Description

Retrieves the specified number of lines from the log file, beginning with the first line.

Syntax

retrieveLog(lines int)

Parameters

lines

The number of lines to retrieve from the log file.

Returns

java.lang.String[]




retrieveMSData

Description

Retrieves the Message Service runtime monitoring data.

Syntax

retrieveMSData(ms_component java.lang.String, instanceName java.lang.String)

Parameters

ms_component

The Message Service component type, which can be one of:

instanceName

The name of the Message Service component instance.

Returns

double[]




retrieveNetworkData

Description

Retrieves runtime monitoring data for the specified listener type.

Syntax

retrieveNetworkData(listenerType java.lang.String)

Parameters

listenerType

The listener type, which can be one of:

Returns

double[]




retrievePackageMonitorData

Description

Retrieves monitoring data about the specified EAServer package.

Syntax

retrievePackageMonitorData(packageName java.lang.String)

Parameters

packageName

The name of the package for which to retrieve monitoring data.

Returns

double[]




start

Description

Starts an MBean instance.

Syntax

start(void)

Returns

void




startRecursive

Description

Starts all MBean instances.

Syntax

startRecursive(void)

Returns

void




stop

Description

Stops an MBean instance.

Syntax

stop(void)

Returns

void




terminate

Description

Terminates all MBean instances.

Syntax

terminate(void)

Returns

void





Copyright © 2005. Sybase Inc. All rights reserved. Appendix A: Using EJB 1.0 JAR Support