Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Works as designed
    • Affects Version/s: 2.5.1
    • Fix Version/s: 2.6
    • Component/s: None
    • Labels:
      None
    • Environment:

      GF 4.0.1 nightly snapshot containing Jersey 2.5.1

      Description

      A very simple war containing a single resource with a @POST method will fail once the resource is annotated with @javax.annotation.ManagedBean and a beans.xml is supplied.
      In that case, Jersey sends the warning "...the request body has been consumed by the servlet or a servlet filter accessing the request parameters..."

      Removing the @ManagedBean and beans.xml fixes this, but that means no CDI can be used.

        Issue Links

          Activity

          Hide
          Miroslav Fuksa added a comment -

          I have reproduced the issue on GF.

          Show
          Miroslav Fuksa added a comment - I have reproduced the issue on GF.
          Hide
          Miroslav Fuksa added a comment -

          This problem must be solved on the specification level.

          Show
          Miroslav Fuksa added a comment - This problem must be solved on the specification level.

            People

            • Assignee:
              Unassigned
              Reporter:
              johanvos
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: