2012-08-04 1 views
0

내가 아래에 오류가javax.naming.CommunicationException

Exception in thread "main" javax.naming.CommunicationException 
[Root exception is java.rmi.ConnectIOException: Exception creating connection to: 10.10.100.49; 

중첩 된 예외는 : JBoss 서버가 설치된 가상 머신은 최근

java.net.NoRouteToHostException: No route to host] 
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:649) 
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509) 
at javax.naming.InitialContext.lookup(Unknown Source) 
at org.jboss.Shutdown.main(Shutdown.java:188) 
Caused by: java.rmi.ConnectIOException: Exception creating connection to: 10.10.100.49; nested exception is: 
java.net.NoRouteToHostException: No route to host 
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source) 
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source) 
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source) 
at sun.rmi.server.UnicastRef.invoke(Unknown Source) 
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) 
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530) 
... 3 more 
Caused by: java.net.NoRouteToHostException: No route to host 
at java.net.PlainSocketImpl.socketConnect(Native Method) 
at java.net.PlainSocketImpl.doConnect(Unknown Source) 
at java.net.PlainSocketImpl.connectToAddress(Unknown Source) 
at java.net.PlainSocketImpl.connect(Unknown Source) 
at java.net.SocksSocketImpl.connect(Unknown Source) 
at java.net.Socket.connect(Unknown Source) 
at java.net.Socket.connect(Unknown Source) 
at java.net.Socket.<init>(Unknown Source) 
at java.net.Socket.<init>(Unknown Source) 
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source) 
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source) 
... 9 more 

했다 다른 IP 주소로 새 가상 시스템에 복사됩니다. 이전 IP가 여전히 참조되는 위치가 확실하지 않습니다.

답변

0

JBoss 루트 폴더에서 10.10.100.49을 검색하십시오. 당신은 유닉스 계열 OS에 경우

, 시도 :

find /path/to/jboss/home -type f -exec grep -l '10.10.100.49' {} \;