mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
jconsole
git-svn-id: http://code.alibabatech.com/svn/druid/trunk@252 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
@@ -166,7 +166,7 @@ public class DruidPanel extends JPanel {
|
||||
|
||||
NodeInfo dataSourceNodeInfo = new NodeInfo(conn, statInstance, NodeType.DataSource, dataSourceInfo, dataSourceInfo.getName());
|
||||
DefaultMutableTreeNode dataSourceNode = new DefaultMutableTreeNode(dataSourceNodeInfo, true);
|
||||
|
||||
|
||||
NodeInfo connectionsNodeInfo = new NodeInfo(conn, statInstance, NodeType.Connections, dataSourceInfo, "Connections");
|
||||
DefaultMutableTreeNode connections = new DefaultMutableTreeNode(connectionsNodeInfo, true);
|
||||
{
|
||||
@@ -198,8 +198,8 @@ public class DruidPanel extends JPanel {
|
||||
frame.pack();
|
||||
frame.setSize(1024, 768);
|
||||
|
||||
final String urlPath = "/jndi/rmi://192.168.1.103:9005/jmxrmi";
|
||||
// final String urlPath = "/jndi/rmi://10.20.138.25:9006/jmxrmi";
|
||||
// final String urlPath = "/jndi/rmi://192.168.1.103:9005/jmxrmi";
|
||||
final String urlPath = "/jndi/rmi://10.20.138.25:9006/jmxrmi";
|
||||
JMXServiceURL jmxUrl = new JMXServiceURL("rmi", "", 0, urlPath);
|
||||
|
||||
JMXConnector connector = JMXConnectorFactory.connect(jmxUrl);
|
||||
|
||||
Reference in New Issue
Block a user