[jboss-user] [JNDI/Naming/Network] - Re: Difference JDK - connection problems

AlexKomlev do-not-reply at jboss.com
Wed May 2 05:16:11 EDT 2007


Hello
We try change host, we try run JBoss witn params - no effect.
In telnet we see:

??srvjava.rmi.MarshalledObject|-^??c?>O¦I¦hashlocBytestO[BobjBytesq~Oxpr^?)urO[B
¦°T?Oxp$??thttp://MCBC24:8083/q~q~uq~¦L??sr org.jnp.server.NamingServer_StubOOxr
java.rmi.server.RemoteStub?¦-???eOxrLjava.rmi.server.RemoteObjectLa+?
                                                                     a3^¦xpw4
                                                                             Uni
castRef2        127.0.0.1¦J?+GO¦L--{?Ox

in Eclipse, then we try to start application:

Exception in thread "main" javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: 
	java.net.ConnectException: Connection refused: connect]
	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
	at javax.naming.InitialContext.lookup(Unknown Source)
	at org.AppTest1.main(AppTest1.java:49)
Caused by: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: 
	java.net.ConnectException: Connection refused: connect
	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:625)
	... 3 more
Caused by: java.net.ConnectException: Connection refused: connect
	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.(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


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

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




More information about the jboss-user mailing list