[jboss-dev-forums] [Design of POJO Server] - Location of Service Binding Manager bindings.xml file

pilhuhn do-not-reply at jboss.com
Tue May 26 05:06:30 EDT 2009


I may miss something very obvious here:

configurations are selected on the command line with -c  and the selected configuration would also select the port mappings from the service binding managers bindings.xml file.
Now when I want to run 2 configs on the same machine / IPs with different port bindings, I normally need to duplicate e.g. the 'default' directory (or at least data/, tmp/ and work/ ) per configuration. 
If I duplicate the whole default/ directory, each instance 'ports-01', 'ports-02'
would have its own conf/bootstrap/bindings.xml file.
This seems odd to me, as it means that bindings.xml could completely different in all of the different instances. Bindings.xml should only exist in one instance at e.g. the jbossas/server/ level. This is how it effectively was in AS4, as users just commented in the MBean which was pointing to the single instance in docs/examples/


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4233215#4233215

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4233215



More information about the jboss-dev-forums mailing list