Hi,
I have set the port 8080 to 18080 in ${JBoss_Home}/server/node1/deploy/jbossweb-tomcat50.sar/server.xml .
As per my understanding no matter what the port numbers are in the service descriptor file (server.xml), Those port numbers should be overridden by the ones given to ServiceBindingManager via ${Jboss_Home}/server/node1/deploy/conf/service-bindings.xml.
But this is not what is happening. Even though I start the 2nd instance of jboss using the following command, port 18080 is being used.
nohup ./run.sh -Djboss.server.ports=ports-01 -c node1.
I am expecting it to use port 8180, which is mentioned in ${Jboss_Home}/server/node1/deploy/conf/service-bindings.xml.
I am using JBoss 4.0.1.
Please suggest,
Thanks & Regards,
-GnanaShekar-