cannot start jstatd

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.

[1337 byte] By [ag2uki@yahoo.co.uka] at [2007-11-27 1:01:46]
# 1

i am also connot start jstatd on linux machine. and i got this exception:

Could not bind /JStatRemoteHost to RMI Registry

java.rmi.ConnectIOException: non-JRMP server at remote endpoint

at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:217)

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.main(Jstatd.java:126)

How could i solve this problem?

Thank you!

david.tao.zh@gmial.coma at 2007-7-11 23:36:43 > top of Java-index,Core,Monitoring & Management...