tmac:bin tgautier$ ./tc-stats.sh –host localhost createSession
Exception in thread “main” java.net.UnknownHostException: null
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
at java.net.Socket.connect(Socket.java:520)
at java.net.Socket.connect(Socket.java:470)
at java.net.Socket.(Socket.java:367)
at java.net.Socket.(Socket.java:180)
at com.sun.jmx.remote.socket.SocketConnection.connect(SocketConnection.java:94)
at com.sun.jmx.remote.generic.ClientSynchroMessageConnectionImpl.connect(ClientSynchroMessageConnectionImpl.java:70)
at javax.management.remote.generic.GenericConnector.connect(GenericConnector.java:177)
at javax.management.remote.jmxmp.JMXMPConnector.connect(JMXMPConnector.java:119)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.tc.management.JMXConnectorProxy.determineConnector(JMXConnectorProxy.java:73)
at com.tc.management.JMXConnectorProxy.ensureConnector(JMXConnectorProxy.java:80)
at com.tc.management.JMXConnectorProxy.access$000(JMXConnectorProxy.java:25)
at com.tc.management.JMXConnectorProxy$ConnectorInvocationHandler.invoke(JMXConnectorProxy.java:86)
at $Proxy0.getMBeanServerConnection(Unknown Source)
at com.tc.management.JMXConnectorProxy.getMBeanServerConnection(JMXConnectorProxy.java:141)
at com.tc.statistics.cli.GathererConnection.connect(GathererConnection.java:55)
at com.tc.statistics.cli.CliCommands.processCommandList(CliCommands.java:86)
at com.tc.statistics.cli.CVT.run(CVT.java:87)
at com.tc.statistics.cli.CVT.main(CVT.java:158)
Comments
Alex Miller2008-08-28
Just a typo in retrieving properties from the Commons CLI stuff inside CVT. Fixed in trunk (post 2.7). Will merge to 2.7 or 2.6 branches if requested.
Just a typo in retrieving properties from the Commons CLI stuff inside CVT. Fixed in trunk (post 2.7). Will merge to 2.7 or 2.6 branches if requested.