Configure the UAF agents using the following files: service-config.xml, service-config.xml and agent-plugin.xml. The tables UAF elements of service-config.xml, UAF-Operations Console Elements of service-config.xml, and UAF-Component elements of agent-plugin.xml describe the available elements.
The service-config.xmlfile located in the ua/services/RMI directory contains the UAF agent configuration information.
Element |
Description |
---|---|
port |
Contains the UAF agent port. This is the port used by the operations console to send administrative commands to the UAF agent. |
The service-config.xml located in the ua/services/Discovery directory contains contains UAF agent-Operations Console communication information.
Element |
Description |
---|---|
host |
Contains the name of the machine hosting the JINI server. |
port |
Contains the JINI server port. |
The file agent-plugin.xmllocated in the ua/plugins/com.sybase.rapservice/ directory contains information about the UAF agent-component (publisher or subscriber) communication.
Element |
Description |
---|---|
rap.service_host |
Contains the name of the machine hosting the component (publisher or subscriber) communicating with the UAF agent. |
rap.service_port |
Contains the component administration port. This should match the AdminPort value of the publisher specified in publisher.xml or the subscriber specified in opensubscriber.xml. |
rap.service_startCommand |
Contains the command used to start the component. |
rap.service_plugindisplayname |
Contains the display name for the component e.g. a value of My Component in the agent-plugin.xml file for the Demo Subscriber would be displayed in the operations console as Demo Subscriber (My Component). |