Forum Discussion
Don_22992
Oct 06, 2009Nimbostratus
Load balancing Java RMI calls
Can the BigIp load balance Java RMI connections?
BigIp LTM upfront, with JBoss web servers as backend clients. Web clients need to communicate with other applications (on backend serve...
Don_22992
Feb 16, 2010Nimbostratus
Update:
As of JBoss 4.3, the handling of RMI calls has changed. I would have to ask my developer to explain better, but as I understand it RMI can now listen on 0.0.0.0 and so the IP address of the connection is not as important as the DNS name.
I now have an RMI virtual server, connecting to several nodes on port 1099. The initial RMI call, which creates a stub, is load balanced between all active nodes (I am using simple Round Robin). This call returns the stub information, which contains the server name to which the F5 load-balanced the call. Subsequent communication then occurs directly from the origin to this named server. And it all works for us.
YMMV, but this is how this turned out here. It did require a new version of JBoss (the initial attempts were made with JBoss 4.0.3)
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects