In the today post we are going to learn how to deploy a Web service in two AppNodes using different ports to receiving requests. When I named a “Web Service” I’m referring to a Process that expose an HTTP connection to receive requests.
You may think this is not a problem if I want to deploy an application using the TIBCO BW 6.x series I upload the Application Archive to the TEA and I start the Application deployment in the different nodes. Ok, first of all you should know that the configuration values are the same, at first, for every AppNode you deploy. Another important thing is that if you create an HTTP Resource with the default configuration the port is not configured used a property (this is not occurring with the hostname value, for example), so you have to do the following tasks:
- Configure your HTTP Resource inside your application to specify the port number using a Module Property.
- Change the initial configuration at least in one AppNode.