You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by xu...@apache.org on 2009/06/29 07:18:38 UTC

svn commit: r789213 - in /geronimo/server/branches/2.1/plugins/clustering/farming: pom.xml src/main/plan/plan.xml

Author: xuhaihong
Date: Mon Jun 29 05:18:37 2009
New Revision: 789213

URL: http://svn.apache.org/viewvc?rev=789213&view=rev
Log:
GERONIMO-4688 hardcode port in plan.xml of plugin farming. (Patch from Shawn Jiang)

Modified:
    geronimo/server/branches/2.1/plugins/clustering/farming/pom.xml
    geronimo/server/branches/2.1/plugins/clustering/farming/src/main/plan/plan.xml

Modified: geronimo/server/branches/2.1/plugins/clustering/farming/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/plugins/clustering/farming/pom.xml?rev=789213&r1=789212&r2=789213&view=diff
==============================================================================
--- geronimo/server/branches/2.1/plugins/clustering/farming/pom.xml (original)
+++ geronimo/server/branches/2.1/plugins/clustering/farming/pom.xml Mon Jun 29 05:18:37 2009
@@ -94,6 +94,17 @@
                                 </gbean>
                                 <gbean name="ClusterInfo">
                                     <attribute name="name">#{clusterName}</attribute>
+                                    <attribute propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor" name="extendedJMXConnectorInfo">
+                                        <ns:javabean class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo" xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0">
+                                            <ns:property name="username">system</ns:property>
+                                            <ns:property name="password">manager</ns:property>
+                                            <ns:property name="protocol">rmi</ns:property>
+                                            <ns:property name="host">localhost</ns:property>
+                                            <ns:property name="port">${NamingPort + PortOffset}</ns:property>
+                                            <ns:property name="urlPath">JMXConnector</ns:property>
+                                            <ns:property name="local">true</ns:property>
+                                        </ns:javabean>
+                                    </attribute>
                                 </gbean>
                             </config-xml-content>
                             <config-substitution key="clusterNodeName">NODE</config-substitution>

Modified: geronimo/server/branches/2.1/plugins/clustering/farming/src/main/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/plugins/clustering/farming/src/main/plan/plan.xml?rev=789213&r1=789212&r2=789213&view=diff
==============================================================================
--- geronimo/server/branches/2.1/plugins/clustering/farming/src/main/plan/plan.xml (original)
+++ geronimo/server/branches/2.1/plugins/clustering/farming/src/main/plan/plan.xml Mon Jun 29 05:18:37 2009
@@ -87,7 +87,7 @@
                   <ns:property name="password">manager</ns:property>
                   <ns:property name="protocol">rmi</ns:property>
                   <ns:property name="host">localhost</ns:property>
-                  <ns:property name="port">1099</ns:property>
+                  <ns:property name="port">${PlanNamingPort}</ns:property>
                   <ns:property name="urlPath">JMXConnector</ns:property>
                   <ns:property name="local">true</ns:property>
               </ns:javabean>