JBoss Community

homes and connecthomes parameter

created by Gusti Benawi in JBoss Remoting - View the full discussion

Hello,

 

If the number of homes entered does not equal the number of connecthomes, then I will get following exception:

 

java.lang.IndexOutOfBoundsException: Index: 2, Size: 2

    at java.util.ArrayList.RangeCheck(ArrayList.java:547)

    at java.util.ArrayList.get(ArrayList.java:322)

    at org.jboss.remoting.transport.bisocket.BisocketServerInvoker.start(BisocketServerInvoker.java:285)

    at org.jboss.remoting.transport.Connector.start(Connector.java:344)

 

 

for example:

 

bisocket://multihome:1234/?homes=myhost!localhost&connecthomes=exthost1!exthost2!localhost

 

 

homes has 2 parameters: myhost and localhost

connecthomes has 3 parameters: exthost1, exthost2 and localhost

 

It it a bug or feature?

 

I need 3 parameters for the connecthomes, since the server has to be reached from those two external hosts and off course from localhost.

Reply to this message by going to Community

Start a new discussion in JBoss Remoting at Community