  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | - Re: regardig jboss-beans.xml | - Re: regardig jboss-beans.xml 2007-08-13 - By ALRubinger
Back I use an alternative approach, using the Service Binding Manager...
In $JBOSS_HOME/server/[serverName]/conf I have service-bindings.xml (obtained from $JBOSS_HOME/docs/examples/binding-manager/sample-bindings.xml in a new installation), and this is sufficient for 4 configurations of servers. Then, I deploy the Service Binding Manager in an MBean (new binding_manager-service.xml file):
<mbean code="org.jboss.services.binding.ServiceBindingManager" | name="jboss.system:service=ServiceBindingManager"> | <attribute name="ServerName">ports-default</attribute> | <attribute name="StoreURL">file:../server/port-bindings.xml< /attribute> | <attribute name="StoreFactoryClassName"> | org.jboss.services.binding.XMLServicesStoreFactory | </attribute> | </mbean>
...where I can pass in the ServerName specific to each instance I'd like to use.
S, ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4073677#4073677
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4073677 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |