[jboss-user] [Remoting] - Re: With SSLBisocket is there is java.rmi.server.hostname or
TheNelson
do-not-reply at jboss.com
Tue Jan 13 17:39:30 EST 2009
Now I have a legitimate question:
I have a dual homed server with 10.12.2.8 and 10.12.2.50 as it's IP addresses. I create a bisocket connector with the following URI:
sslbisocket://multihome:7777/foobar/services?datatype=serializablehomes=10.12.2.50:7777!10.12.2.8:7777&serializationtype=jboss
and I get an Index exception:
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.jboss.remoting.transport.bisocket.BisocketServerInvoker.start(BisocketServerInvoker.java:285)
at org.jboss.remoting.transport.Connector.start(Connector.java:340)
at com.rovingplanet.npe.server.NPEManager.remoteConnectorSetup(NPEManager.java:851)
at com.rovingplanet.npe.server.NPEManager.startService(NPEManager.java:929)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
It's looking through the secondary port list. If I add a connect_home then it works but I can only connect to the connect_home. If I add both IPs to the connect_home then I get the same exception. How can I make it able to connect to both IPs? What's with the secondary port list?
thanks,
Ian
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201530#4201530
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201530
More information about the jboss-user
mailing list