Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-4688

hardcode port in plan.xml of plugin farming.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.1.4, 2.1.5, 2.2
    • Fix Version/s: 2.2.2, 3.0.0
    • Component/s: Clustering
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      In Gtrunk\plugins\clustering\farming\src\main\plan\plan.xml, there are some hardcodeed ser/pass/host/port string in it. I'm not sure if they should be something like ${PlanClusterNodeName} so that they can be set in server\config\config_substitution.properties.

      <gbean name="NodeInfo" class="org.apache.geronimo.farm.config.BasicNodeInfo">
      <attribute name="name">${PlanClusterNodeName}</attribute>
      <xml-attribute name="extendedJMXConnectorInfo">
      <ns:javabean xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" class="org.apache.geronimo.farm.deployment.DeploymentExtendedJMXConnectorInfo">
      <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">1099</ns:property>
      <ns:property name="urlPath">JMXConnector</ns:property>
      <ns:property name="local">true</ns:property>
      </ns:javabean>
      </xml-attribute>
      </gbean>

        Attachments

        1. G4688_trunk.patch
          3 kB
          Shawn Jiang
        2. G4688_G21.patch
          3 kB
          Shawn Jiang

          Activity

            People

            • Assignee:
              genspring Shawn Jiang
              Reporter:
              genspring Shawn Jiang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: