블로그 이미지
OSSW(Open Source System SoftWare

calendar

        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30  

Notice

JBoss Service Binding Manager에서 제공하는 binding set은 ports-default, ports-01, ports-02, ports-03이 있으며, 그 외에 인스턴스를 더 추가할 때에는 아래와 같이 설정합니다.

bindings-jboss-beans.xml 

파일 경로: /jboss/jboss-6.1.0.Final/server/default/conf/bindingservice.beans/META-INF

<!-- The binding sets -->

<parameter>

   <set>

<inject bean="PortsDefaultBindings"/>

<Inject bean="Ports01Bindings"/>

<Inject bean="Ports02Bindings"/>

<Inject bean="Ports03Bindings"/>

<Inject bean="Ports04Bindings"/> <-- 추가

<Inject bean="Ports05Bindings"/> <-- 추가

<Inject bean="Ports06Bindings"/> <-- 추가

  </set>

<!-- The ports-04 bindings are obtained by taking ports-default and adding 400 to each port value -->

 <bean name="Ports04Bindings" class="org.jboss.services.binding.impl.ServiceBindingSet">

  <contructor>

<!-- The name of the set -->

<parameter>ports-04</parameter> <-- 4,5,6 port를 추가해줘야지만 부팅

<!--Default hostname-->

<parameter>${jboss.bind.address}</parameter>

<!--The port offset-->

<parameter>400</parameter>    <-- 4 = 400, 5 = 500, 6= 600

<!-- Set of bindings to which the "offset by X" approach can't be applied -->

<parameter><null/></parameter>

   </constructor>

 </bean>

 

by. 강수현(8월)

posted by lovelywas