How to install the Stat Web Client? Which ports are required?
Stat's Web client is part of Stat Agent module, so there is not additional installation steps required if the Stat Agent is up and running. To access the Stat Web Client using the default port profile, go to http://hostname:8080/stat.
The following ports are needed for the Stat Agent and Web client to fully operate.
Pre-defined port configurations:
The stat-bindings.xml file contains three sets of port configurations. The first, called "ports-default", contains the default ports used in a standard agent installation. The second, or "ports-01", contains a variant definition of ports that could be used if there are conflicts with the ports defined in the default, or could be used for a second agent. The third, or "ports-02", contains yet another definition of ports that could be used in a port conflict situation, or if a third agent is necessary. The ports used by each configuration are summarized in the table below.
ports-default ports-01 ports-02
1098 1198 1298
1099 1199 1299
8083 8183 8283
4444 4544 4644
1100 1200 1300
4445 4545 4645
3528 3628 3728
19001 19101 19201
1162 1262 1362
8089 8189 8289
8090 8190 8290
8092 8192 8292
8093 8193 8293
1701 1801 1901
8080 8180 8280
To edit the default port settings:
1. Stop the Agent
2. Open %Stat_home%\app\server\default\conf\jboss-service.xml with a text editor.
3. Search for the following section located under the Service Binding header:
<!--
| Binding service manager for port/host mapping. This is a sample
| config that demonstrates a JBoss instances with a server name 'jboss1'
| loading its bindings from an XML file using the ServicesStoreFactory
| implementation returned by the XMLServicesStoreFactory.
|
| ServerName: The unique name assigned to a JBoss server instance for
| lookup purposes. This allows a single ServicesStore to handle mulitiple
| JBoss servers.
|
| StoreURL: The URL string passed to org.jboss.services.binding.ServicesStore
| during initialization that specifies how to connect to the bindings store.
| StoreFactory: The org.jboss.services.binding.ServicesStoreFactory interface
| implementation to create to obtain the ServicesStore instance. -->
<mbean code="org.jboss.services.binding.ServiceBindingManager"
name="jboss.system:service=ServiceBindingManager">
<attribute name="ServerName">ports-default</attribute>
<attribute name="StoreURL">../../config/stat-bindings.xml</attribute>
<attribute name="StoreFactoryClassName">
org.jboss.services.binding.XMLServicesStoreFactory
</attribute>
</mbean>
4. The setting of "ServerName">ports-default means that the agent will use the ports-default configuration.
5. To change this, modify the setting to "ServerName">ports-01 or "ServerName">ports-02.
6. Save the file and restart the Stat Agent.