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

hardcode port in plan.xml of plugin farming.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 2.1.4, 2.1.5, 2.2
    • 2.2.2, 3.0.0
    • Clustering
    • Security Level: public (Regular issues)
    • None
    • 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_G21.patch
          3 kB
          Lin Quan Jiang
        2. G4688_trunk.patch
          3 kB
          Lin Quan Jiang

        Activity

          People

            genspring Lin Quan Jiang
            genspring Lin Quan Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: