[jboss-user] [JBoss Remoting] - homes and connecthomes parameter
Gusti Benawi
do-not-reply at jboss.com
Tue Feb 19 07:56:37 EST 2013
Gusti Benawi [https://community.jboss.org/people/benawi] created the discussion
"homes and connecthomes parameter"
To view the discussion, visit: https://community.jboss.org/message/798330#798330
--------------------------------------------------------------
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
[https://community.jboss.org/message/798330#798330]
Start a new discussion in JBoss Remoting at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130219/7ee81265/attachment-0001.html
More information about the jboss-user
mailing list