Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-171

inMethodFlag not set automatically

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • EJB 3.0 Beta 1
    • Preview 5
    • None
    • None

      Call to any of javax.ejb.Timer methods yeilds
      'java.lang.IllegalStateException: Cannot obtain inMethodFlag for: Timer.<methodName>'.
      Temporary solution: put
      org.jboss.ejb.
      AllowedOperationsAssociation
      .pushInMethodFlag(AllowedOperationsAssociation.IN_BUSINESS_METHOD);
      in the beginning of each business method and
      org.jboss.ejb.
      AllowedOperationsAssociation
      .popInMethodFlag();
      at end(before 'return' in getter or '}' in setter).

            kkhan1@redhat.com Kabir Khan
            rkrylov_jira Roman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 5 minutes
                5m
                Remaining:
                Remaining Estimate - 5 minutes
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified