[jboss-user] [EJB 3.0] - Re: Could not obtain connection to any of these urls: Remote

a0001428 do-not-reply at jboss.com
Fri Aug 21 07:57:31 EDT 2009


Hi,

problem is the same:

javax.naming.CommunicationException [Root exception is java.rmi.UnknownHostException: Unknown host: obelix; nested exception is: 
	java.net.UnknownHostException: obelix]
	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:724)
	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
	at javax.naming.InitialContext.lookup(Unknown Source)
	at demoEJB.Testing.main(Testing.java:27)
Caused by: java.rmi.UnknownHostException: Unknown host: obelix; nested exception is: 
	java.net.UnknownHostException: obelix
	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:627)
	... 3 more
Caused by: java.net.UnknownHostException: obelix
	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.(Unknown Source)
	at java.net.Socket.(Unknown Source)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
	... 9 more


Server remote modify Host file:

127.0.0.1       localhost
x.x.x.x   obelix 

I was traying:

obelix   77.226.178.32 
x.x.x.x   localhost

I was traying:

obelix   77.226.178.32 
localhost  x.x.x.x

is the same . 


help me.












View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250864#4250864

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250864



More information about the jboss-user mailing list