Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2354 | minor | always | 01-22-08 08:31 | 02-13-08 10:11 | |
|
|||||
Reporter: | ferg | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.4 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.5 | ||
|
|||||
Summary: | 0002354: JMX: serverconnector not showing own server | ||||
Description: |
We have 10 Resin servers (3.0.24) in the cluster, but when I try to list them using JMX I got only 9 of them listed. It doesn't list the local server (the one from which the servlet is actually invoked). Here is the code: for (int i = 0; i < clusterList.length; i++) { ClusterMXBean cluster = (ClusterMXBean) Jmx.findGlobal(clusterList[i].getObjectName()); ServerConnectorMXBean[] srunNames = cluster.getServers(); for (int j = 0; j < srunNames.length; j++) { ServerConnectorMXBean server = (ServerConnectorMXBean) Jmx .findGlobal(srunNames[j].getObjectName()); String host = server.getAddress(); int port = server.getPort(); String state = server.getState(); } } And here is the configuration when I list all resin MX objects: resin:type=SessionManager,Host=default,WebApp=/ resin:type=ServerConnector,name=i resin:type=ServerConnector,name=h resin:type=ServerConnector,name=b resin:type=Resin resin:type=ServerConnector,name=j resin:type=ProxyCache resin:type=Host,name=default resin:type=ServerConnector,name=c resin:type=ServerConnector,name=e resin:type=Port,name=192.68.1.50-6802 resin:type=ServerConnector,name=g resin:type=ServerConnector,name=a resin:type=ThreadPool resin:type=WebApp,Host=default,name=/ resin:type=WebApp,Host=default,name=/mya resin:type=ConnectionPool,Host=default,WebApp=/mya,name=jdbc/mya resin:type=ServerConnector,name=f resin:type=Cluster,name=cluster1 resin:type=ServerConnector,name=d resin:type=SessionManager,Host=default,WebApp=/mya resin:type=Server |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|