%@page contentType="text/html"
import="java.net.*,java.io.*"
%>
Clustered JBoss Management Console
Cluster View Bootstrap
Reinvoke Bootstrap
Loaded Clusters
<%
String partition = (String) request.getAttribute("partition");
%>
<%= partition %>
<%
String[] partitionHosts = (String[]) request.getAttribute("partitionHosts");
for(int h = 0; h < partitionHosts.length; h ++)
{
String host = partitionHosts[h];
String hostname = "";
try
{
hostname = InetAddress.getByName(host).getHostName();
}
catch(IOException e) {}
String hostURL = "http://"+host+":8080/jmx-console//HtmlAdaptor?action=displayMBeans";
%>
- <%= hostname %>
<%
}
%>
|