glassfish
  1. glassfish
  2. GLASSFISH-4629

[UB]Some wrong MDB warnings at startup when attribute value is 0

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: docs
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: PC

    • Issuezilla Id:
      4,629

      Description

      There were a couple of observed WARNING messages during cluster startup when
      some of the EJB attribute settings were 0:

      For example,

      error 3
      [#|2008-03-27T13:32:19.175+1100|WARNING|sun-appserver9.1|javax.enterprise.system.container.ejb.mdb|_ThreadID=10;_ThreadName=main;ejbtuning_server:MDB;0;max-pool-size;1;_RequestID=6dc41603-cc8f-44d9-85d5-75abf1fc7963;|MDB00060:
      [ejbtuning_server:MDB]: Invalid value [0] for [max-pool-size] , use [1] instead|#]

      ...

      error 3
      [#|2008-03-27T15:55:07.433+1100|WARNING|sun-appserver9.1|javax.enterprise.system.container.ejb.mdb|_ThreadID=10;_ThreadName=main;ejbtuning_server:MDB;0;idle-timeout-in-seconds;1;_RequestID=6dd3f8e6-6a6d-4945-b61c-c2f2b9b17f27;|MDB00060:
      [ejbtuning_server:MDB]: Invalid value [0] for [idle-timeout-in-seconds] , use
      [1] instead|#]

      ...

      It seems to me that there may be a bug in the code for
      MessageBeanContainer.validateValue method because the validation code is not
      accounting for the fact that 0 has a special meaning for some of the MDB
      attributes (accounting to the administration manual)

        Activity

        Hide
        Cheng Fang added a comment -

        Fixed ejb-container MessageBeanContainer in 3.2 trunk
        Committed revision 48856

        Show
        Cheng Fang added a comment - Fixed ejb-container MessageBeanContainer in 3.2 trunk Committed revision 48856
        Hide
        Cheng Fang added a comment -

        re-assign to docs team to adjust GlassFish dev guide, according to Nigel and Marina's comments above.

        Show
        Cheng Fang added a comment - re-assign to docs team to adjust GlassFish dev guide, according to Nigel and Marina's comments above.
        Hide
        Rebecca Parks added a comment -

        Does this apply to 3.1.2?

        Show
        Rebecca Parks added a comment - Does this apply to 3.1.2?
        Hide
        Paul Davies added a comment -

        [UB]: Unbundled documentation

        Show
        Paul Davies added a comment - [UB] : Unbundled documentation
        Hide
        Mike Fitch added a comment -

        Changed fix version to 4.0 so this issue gets picked up by OSE 4.0 release queries.

        Nigel & Cheng:
        Given that GL 3.2 is now 4.0 and MQ 4.6 is now 5.0, am I right in assuming that this issue is applicable to GF 4.0 (which bundles MQ 5.0)?
        Thanks,
        --Mike

        Show
        Mike Fitch added a comment - Changed fix version to 4.0 so this issue gets picked up by OSE 4.0 release queries. Nigel & Cheng: Given that GL 3.2 is now 4.0 and MQ 4.6 is now 5.0, am I right in assuming that this issue is applicable to GF 4.0 (which bundles MQ 5.0)? Thanks, --Mike

          People

          • Assignee:
            Paul Davies
            Reporter:
            dinglemouse
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: