我看到一個奇怪的問題:RMI服務器拿起一箇舊的IP地址
我有一臺Linux機器,安裝在機器上的JDK1.6,有些企業的推移,一些天后不得不改變機器的IP地址。現在有些個月後......我試圖得到一些Spring應用程序的工作......這似乎RMI服務器開始在我的舊的IP地址......
21:12:45,412 DEBUG [org.springframework.remoting.rmi.RmiServiceExporter] RMI registry access threw exception
java.rmi.ConnectIOException: Exception creating connection to: 192.168.13.55; nested exception is:
java.net.SocketException: Network is unreachable
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:614)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
at sun.rmi.registry.RegistryImpl_Stub.list(Unknown Source)
at org.springframework.remoting.rmi.RmiServiceExporter.testRegistry(RmiServiceExporter.java:411)
at org.springframework.remoting.rmi.RmiServiceExporter.getRegistry(RmiServiceExporter.java:391)
能有人爲解釋這一過程或揭示了這裏發生的一切,或者可能會在這裏發生。