Geronimo
  1. Geronimo
  2. GERONIMO-3806

CLONE -Extraneous WARN messages during deployment of resource-env-refs in EJB jar

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.2, 2.1, 2.1.1, 2.2
    • Fix Version/s: 2.0.3, 2.1.1, 2.2
    • Component/s: deployment
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Environment:

      Windows XP SP2

    • Patch Info:
      Patch Available
    • Regression:
      Regression

      Description

      During deployment of one of my EJB jar files in my EAR, I get the following WARN messages:

      14:29:37,425 WARN  [AdminObjectRefBuilder] Failed to build reference to Admin object reference [jms/UnsequencedDestination, jms/MailQueue, jms/InboundEventQueue, jms/OutboundQueue, jms/SystemQueue, jms/ActionQueue, jms/SequencedDestination, jms/InboundIntegrationQueue, jms/OutboundEventQueue] defined in plan file, reason - corresponding entry in deployment descriptor missing.
      14:29:37,440 WARN  [ResourceRefBuilder] Failed to build reference to resource reference [jms/ConnectionFactory, jms/QueueConnectionFactory, mail/MailSession, jms/TopicConnectionFactory] defined in plan file, reason - corresponding entry in deployment descriptor missing.
      

      This occurs at the point in the following point in the stack:

      AdminObjectRefBuilder.buildNaming(XmlObject, XmlObject, Module, Map) line: 160
      

      The "specDD" that is passed in is a XML fragment for a specific session bean. However, the "plan" that is passed in contains all the resource-ref and resource-env-ref elements in the openejb-jar.xml plan. Therefore, the "refMap" variable does not get completely emptied out, since the specific session bean will only contain a subset of the resource-env-refs that are defined in the plan.

      1. GERONIMO-3806-r639837.patch
        4 kB
        Manu T George
      2. GERONIMO-3806-2.0.2.patch
        3 kB
        toby cabot

        Issue Links

          Activity

            People

            • Assignee:
              Manu T George
              Reporter:
              toby cabot
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development