Which web connector port settings will be used when the Service Binding Manager and JBoss Web's server.xml are both modified in JBoss EAP 5?
Issue
-
Say you want to modify the AJP port (default 8009), and there are two places you can change ports: ServiceBindingManager and inside jbossweb.sar. How does JBoss decide which sets to use?
- $JBOSS_HOME/server/$INSTANCE/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml
- $JBOSS_HOME/server/$INSTANCE/deploy/jbossweb.sar/server.xml
-
I changed the port in server.xml for http from 8080 to 8081 and the change took effect. I expected values in server.xml to be ignored, as ports are injected by the ports binding file.
Environment
- JBoss Enterprise Application Server (EAP)
- 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.