This content has been marked as final.
Show 2 replies
-
1. Re: Configuring multiple instances with ServiceBindingManage
peterj Aug 14, 2009 5:12 PM (in response to jfillman)If you run only one app server instance, just modify the port settings within the StandardBindings.
But if you need multiple app servers and need specific setting for some ports, my guess is that you would use the same syntax used to define the individual port values in the StandardBindings bean:<bean name="MyCustomBindings" class="org.jboss.services.binding.impl.ServiceBindingSet"> <constructor> <!-- The name of the set --> <parameter>ports-default</parameter> <!-- Default host name --> <parameter>${jboss.bind.address}</parameter> <!-- The port offset --> <parameter>0</parameter> <!-- Set of bindings to which the "offset by X" approach can't be applied --> <parameter class="java.util.Collection"> <set elementClass="org.jboss.services.binding.ServiceBindingMetadata"> <bean class="org.jboss.services.binding.ServiceBindingMetadata"> <property name="serviceName">jboss.web:service=WebServer</property> <property name="port">80</property> <property name="description">JBoss Web HTTP connector socket; also drives the values for the HTTPS and AJP sockets</property> <property name="serviceBindingValueSourceConfig"><inject bean="JBossWebConnectorXSLTConfig"/></property> </bean> </set> </parameter> </constructor> </bean>
-
2. Re: Configuring multiple instances with ServiceBindingManage
jfillman Aug 14, 2009 7:04 PM (in response to jfillman)Thanks PeterJ.
That was exactly what i was looking for.
I had to change to just but once i did that, it worked perfectly.
cheers,
--james