The Artima Developer Community
Sponsored Link

Java Answers Forum
rmiregistry healing needed!

1 reply on 1 page. Most recent reply: Mar 16, 2006 4:33 AM by Guido

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Guido

Posts: 38
Nickname: kiethb
Registered: May, 2002

rmiregistry healing needed! Posted: Mar 15, 2006 1:41 PM
Reply to this message Reply
Advertisement
I have been working with RMI and having no problems starting the registry service. I have not explicitly changed anything. simply compiling, starting and then running the server.

Obviously something changed, but I do not know what to look for. I BELIEVE the stack trace looks something like this, actually its not the exact one because it opens the extra registry window and closes too quick to be able to capture it. I found this on the web, and for what i can see of mine, it looks similar.

can anyone point me in the direction of rmiregistry healing?

java.rmi.server.ExportException: Listen failed on port: 1099; nested exception i
s:
java.net.SocketException: Invalid argument: listen failed
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:245)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:178
)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:382)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:14
5)
at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:92)
at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:78)
at sun.rmi.registry.RegistryImpl.main(RegistryImpl.java:317)
Caused by: java.net.SocketException: Invalid argument: listen failed
at java.net.PlainSocketImpl.socketListen(Native Method)
at java.net.PlainSocketImpl.listen(PlainSocketImpl.java:333)
at java.net.ServerSocket.bind(ServerSocket.java:309)
at java.net.ServerSocket.bind(ServerSocket.java:266)
at java.net.ServerSocket.<init>(ServerSocket.java:182)
at java.net.ServerSocket.<init>(ServerSocket.java:94)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMI
DirectSoc ketFactory.java:27)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMI
MasterSoc ketFactory.java:306)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:61
5)
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:231)
... 7 more


Guido

Posts: 38
Nickname: kiethb
Registered: May, 2002

Re: rmiregistry healing needed! Posted: Mar 16, 2006 4:33 AM
Reply to this message Reply
Please disregard. As simply as doing nothing to cause it, I did nothing to fix it. However, even after several reboots yesterday, it still did not work, but upon booting today, it works again.

Flat View: This topic has 1 reply on 1 page
Topic: NetBeans 4.1..why this problem? Previous Topic   Next Topic Topic: parse a string into an array

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use