I am facing a issues with the binding address of the Jboss.
Currently I am having two instances of Jboss on two different linux machines(For Ex: 10.20.30.40 and 10.20.30.41).
These two machines are monitored by VCS as we have set up a Cluster between these two.
We have setup the floating IP as: 10.20.30.42 for this Jboss.
So at a time only one instance of Jboss will be running with this floating IP.
The Jboss is Started successfully and I am able to access the server with the Floating IP.
But When ever I send a SOAP message from my application to some other application the SourceIP is going as the main IP of the machine(10.20.30.40 or 10.20.30.41), not as the Floating IP(10.20.30.42 ) on which Jboss is listening.
Since the other application is doing some validation on the SOurce IP, we are facing Invalid IP error. The application on the other side is expecting the SOurce IP to be as Floating IP.
We are using Apache Axis for the WebServices.
Could some one help me on why Jboss is not sending the soap message with the Floating IP on which it has binded?
If you were using JBoss Web Services I could tell you which config file to change to set the IP address to use, but I have no idea where, or if, such a configuration setting is available for Apache Axis. Let me link this to the web services forum, perhaps someone there will know.