1 Reply Latest reply: Jul 11, 2009 12:21 AM by Ron Sigal RSS

Can not get connection to server - port out of range -1

Tom Saulpaugh Newbie

I'm getting this exception from the Invoker:

INFO | jvm 1 | main | 2009/05/21 16:21:13 | EXCEPTION: org.jboss.remoting.CannotConnectException: Can not get connection to
server. Problem establishing socket connection for InvokerLocator [socket://toms-d2003x64/10.1.3.100:1600]
INFO | jvm 1 | main | 2009/05/21 16:21:13 | org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem
establishing socket connection for InvokerLocator [socket://toms-d2003x64/10.1.3.100:1600]
INFO | jvm 1 | main | 2009/05/21 16:21:13 | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroS
ocketClientInvoker.java:525)
INFO | jvm 1 | main | 2009/05/21 16:21:13 | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.j
ava:125)
INFO | jvm 1 | main | 2009/05/21 16:21:13 | at org.jboss.remoting.Client.invoke(Client.java:630)
INFO | jvm 1 | main | 2009/05/21 16:21:13 | at org.jboss.remoting.Client.invoke(Client.java:622)
INFO | jvm 1 | main | 2009/05/21 16:21:13 | at org.jboss.remoting.Client.invoke(Client.java:607)
INFO | jvm 1 | main | 2009/05/21 16:21:13 | at com.i365.archive.contentservice.ContentServiceImpl.invoke(ContentServiceImpl.
java:436)
INFO | jvm 1 | main | 2009/05/21 16:21:13 | at com.metalincs.analysis.framework.Main.startAllServices(Main.java:403)
INFO | jvm 1 | main | 2009/05/21 16:21:13 | at com.metalincs.analysis.framework.Main.start(Main.java:169)
INFO | jvm 1 | main | 2009/05/21 16:21:13 | at org.tanukisoftware.wrapper.WrapperManager$11.run(WrapperManager.java:3011)
INFO | jvm 1 | main | 2009/05/21 16:21:13 | Caused by: java.lang.IllegalArgumentException: port out of range:-1
INFO | jvm 1 | main | 2009/05/21 16:21:13 | at java.net.InetSocketAddress.(Unknown Source)
INFO | jvm 1 | main | 2009/05/21 16:21:13 | at org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketCl
ientInvoker.java:178)
INFO | jvm 1 | main | 2009/05/21 16:21:13 | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(Mi
croSocketClientInvoker.java:796)
INFO | jvm 1 | main | 2009/05/21 16:21:13 | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroS
ocketClientInvoker.java:521)
INFO | jvm 1 | main | 2009/05/21 16:21:13 | ... 8 more
INFO | jvm 1 | main | 2009/05/21 16:21:13 |

Does anybody know what causes this?

Is this valid?: socket://toms-d2003x64/10.1.3.100:1600

I also get this if I try port 5400 like in the samples.

Thanks,

Tom