glassfish
  1. glassfish
  2. GLASSFISH-13152

Message Key is missing in LogStrings.properties file...

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: V3
    • Component/s: web_container
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      13,152

      Description

      Following message key is used in your code but message id and diagnostic info
      for the same is missing in LogStrings.properties file. Please fix this as soon
      as possible.

      • Found key 'core.web_container_not_installed' used in
        /space/gfv3/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/WebContainerStarter.java
        logger.info("core.web_container_not_installed");
      • Found key 'core.start_container_done' used in
        /space/gfv3/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/WebContainerStarter.java
        logger.log(Level.INFO, "core.start_container_done",
      • Found key 'core.unable_start_container_no_exception' used in
        /space/gfv3/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/WebContainerStarter.java
        logger.severe("core.unable_start_container_no_exception");
      • Found key 'core.unable_start_container' used in
        /space/gfv3/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/WebContainerStarter.java
        rb.getString("core.unable_start_container"),

        Activity

        Hide
        Shing Wai Chan added a comment -

        The message id is in
        v3/core/kernel/src/main/resources/com/sun/enterprise/LogStrings.properties

        The diagnostic messages for
        core.unable_start_container_no_exception
        core.unable_start_container
        are there.

        There is no need for diagnostic message for core.start_container_done.
        So, the only missing diagnostic message is for core.web_container_not_installed.

        Show
        Shing Wai Chan added a comment - The message id is in v3/core/kernel/src/main/resources/com/sun/enterprise/LogStrings.properties The diagnostic messages for core.unable_start_container_no_exception core.unable_start_container are there. There is no need for diagnostic message for core.start_container_done. So, the only missing diagnostic message is for core.web_container_not_installed.
        Hide
        Shing Wai Chan added a comment -

        Sending src/main/resources/com/sun/enterprise/LogStrings.properties
        Transmitting file data .
        Committed revision 40338.

        Show
        Shing Wai Chan added a comment - Sending src/main/resources/com/sun/enterprise/LogStrings.properties Transmitting file data . Committed revision 40338.
        Hide
        Shing Wai Chan added a comment -

        As mentioned by Dies Koper, there is an extra ":" in the messages.

        Sending src/main/resources/com/sun/enterprise/LogStrings.properties
        Transmitting file data .
        Committed revision 40365.

        Show
        Shing Wai Chan added a comment - As mentioned by Dies Koper, there is an extra ":" in the messages. Sending src/main/resources/com/sun/enterprise/LogStrings.properties Transmitting file data . Committed revision 40365.

          People

          • Assignee:
            Shing Wai Chan
            Reporter:
            naman_mehta
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: