RMIRegistry ExportException
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ivn_Tcakov
Posted On:   Tuesday, June 26, 2001 10:40 AM

Hello, I have a problem when trying to run Tools/RMIRegistry. Usually, it can just be turned on and off and it worked like that for a while. But hten it started giving me this exception: java.rmi.server.ExportException: Port already in use: 1099; nested exception is: java.net.BindException: Address already in use java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:414) at java.net.ServerSocket. (ServerSocket.java:182) at java.net.ServerSocket. (ServerSocket.java:94) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFacto   More>>
			
Hello,
I have a problem when trying to run Tools/RMIRegistry.
Usually, it can just be turned on and off and it worked
like that for a while.
But hten it started giving me this exception:

java.rmi.server.ExportException: Port already in use: 1099; nested exception is:
java.net.BindException: Address already in use
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:414)
at java.net.ServerSocket. (ServerSocket.java:182)
at java.net.ServerSocket. (ServerSocket.java:94)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:34)
at sun
.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:316)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:573)
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:214)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:186)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:331)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:131)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServer
Ref.java:126)
at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:96)
at sun.rmi.registry.RegistryImpl. (RegistryImpl.java:82)
at sun.rmi.registry.RegistryImpl.main(RegistryImpl.java:321)

Now, I have tried killing the RMI ports that are running and it still
gives out this exception.
Also, if I set the RMIRegistry on xterm, my code would run
to those settings, even though the jbuilder RMI setting
is still giving this error message.
I can't figure it out, maybe it is my policy file and I have played
around fixing that one too and it still didn't help.
I hope you can give me some helpfull tips or suggestions
thanks
Ivan
   <<Less
About | Sitemap | Contact