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

Invalid gbean names in config.xml do not prevent server starting or module starting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.1, 1.2
    • 1.1, 1.2
    • startup/shutdown
    • Security Level: public (Regular issues)
    • None

    Description

      config.xml has this in it, which includes an invalid gbean name:

      <module name="geronimo/j2ee-security/${pom.currentVersion}/car">
      <gbean name="geronimo.remoting:target=JaasLoginServiceRemotingServer">
      <attribute name="host">${PlanServerHostname}</attribute>
      <attribute name="port">${PlanRemoteLoginPort}</attribute>
      </gbean>
      <gbean name="JMXService">
      <attribute name="protocol">rmi</attribute>
      <attribute name="host">${PlanServerHostname}</attribute>
      <attribute name="port">${PlanJMXPort}</attribute>
      <attribute name="urlPath">/jndi/rmi://${PlanServerHostname}:${PlanNamingPort}/JMXConnector</attribute>
      </gbean>
      </module>

      At the minimum this modules shouldn't start: I would prefer the server to not start.

      Obviously we also need to fix the name in all the config.xmls, in this case it should be name="JaasLoginServiceRemotingServer"

      Attachments

        Activity

          People

            djencks David Jencks
            djencks David Jencks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: