glassfish
  1. glassfish
  2. GLASSFISH-18584

"description" elements in glassfish-resources.xml not moved to "description" fields in domain.xml

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1.1, 3.1.2
    • Fix Version/s: None
    • Component/s: jca
    • Labels:
      None
    • Environment:

      All

      Description

      For application/module resources files (glassfish-resources.xml) located in either the "META-INF" or "WEB-INF" directories of war, ear, or ejb projects, the DTD at:
      http://glassfish.org/dtds/glassfish-resources_1_5.dtd

      Specifies that the "description" must be a subelement of many of the elements (not an attribute). Specifically the "property" element has a description subelement possible.

      However, the domain.xml file requires that the description be an attribute. This relates to issue GLASSFISH-16630 which is marked as "Won't fix". If we accept that we will not fix this because it causes problems migrating configuration from glassfish 2.x to 3.x, then at least when a project is deployed that has application/module resources, the "description" element should be copied into the "description" attribute.

      One of the great benefits of the new portable JNDI namespaces and application resource files, you can now modify an application/module resource inside the of the Glassfish Admin site without redeploying or packaging the application. However, it gets very confusing when your configuration properties do not have a description associated with them.

        Activity

        fishcream created issue -
        Tom Mueller made changes -
        Field Original Value New Value
        Assignee Tom Mueller [ tmueller ] Hong Zhang [ hzhang_jn ]
        Component/s deployment [ 10594 ]
        Component/s configuration [ 10593 ]
        Hong Zhang made changes -
        Assignee Hong Zhang [ hzhang_jn ] Jagadish [ jr158900 ]
        Component/s jca [ 10602 ]
        Component/s deployment [ 10594 ]
        Jagadish made changes -
        Assignee Jagadish [ jr158900 ] naman_mehta [ naman_mehta ]

          People

          • Assignee:
            naman_mehta
            Reporter:
            fishcream
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: