glassfish
  1. glassfish
  2. GLASSFISH-6990

argument not substituted in IOP5001 message

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1
    • Fix Version/s: future release
    • Component/s: security
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      6,990

      Description

      After deploying a (probably faulty) EJB application, I found the following error
      message in the server log.

      IOP5001: Exception creating security tagged component: [

      {0}]
      java.lang.RuntimeException: java.lang.ClassNotFoundException:
      test.isjee.verifier.ejb.ejb1.HelloRemote

      The argument of the IOP5001 message was not substituted.

      I checked the source, and just like in issue 6987 the Logger API might have been
      understood incorrectly.

      With the Logger method that is currently used, there is no need to add an
      argument, the stacktrace will be correctly logged with it even when the {0}

      is
      omitted.

      So the fix would be to remove ": [

      {0}

      ]" at the end of message IOP5001 in line 15
      of
      appserv-commons/src/java/com/sun/logging/enterprise/resource/corba/LogStrings.properties

      iiop.createcompund_exception=IOP5001: Exception creating security tagged component

        Activity

          People

          • Assignee:
            JeffTancill
            Reporter:
            Dies Koper
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: