Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

cannot start jstatd

843798Apr 13 2007 — edited Apr 28 2007
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 26 2007
Added on Apr 13 2007
1 comment
1,873 views