All,
I was trying to execute jstatd from my linux machine, but I got this exception:
[user@localhost jdk1.5.0_05]$ bin/jstatd -J-Djava.security.policy=jstatd.all.policy
Could not contact registry
Connection refused to host: 67.15.129.30; nested exception is:
java.net.ConnectException: Connection refused
java.rmi.ConnectException: Connection refused to host: 67.15.129.30; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Naming.java:160)
at sun.tools.jstatd.Jstatd.bind(Jstatd.java:40)
at sun.tools.jstatd.Jstatd.bind(Jstatd.java:49)
at sun.tools.jstatd.Jstatd.main(Jstatd.java:126)
Caused by: java.net.ConnectException: Connection refused
I have no idea why jstatd is trying to connect to 67.15.129.30. How could i solve this problem?
I've tried to run jstatd on my windows xp machine, but i didn't find any problems.
Thank you.