Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-3769

Missing JSON-B and JSON-P MessageBodyWriter and MessageBodyReader

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.0.0-M7
    • Fix Version/s: 9.0.0-M8
    • Component/s: TomEE Core Server
    • Labels:
      None

      Description

      If I start any simple JAX-RS example application on 9.0.0-M3, TomEE logs these MessageBodyWriters and MessageBodyReaders:

      Using readers:
      ...
      org.apache.openejb.server.cxf.rs.johnzon.TomEEJsonbProvider@7c9274f6
      org.apache.openejb.server.cxf.rs.johnzon.TomEEJsonpProvider@b02722c
      ...
      Using writers:
      ...
      org.apache.openejb.server.cxf.rs.johnzon.TomEEJsonbProvider@7c9274f6
      org.apache.openejb.server.cxf.rs.johnzon.TomEEJsonpProvider@b02722c
      ...

       

      Since 9.0.0-M7 these are missing (not logged any more), so JAX-RS methods returning POJOs will fail with HTTP status code 500:
      No message body writer has been found for class my.package.MyPojo, ContentType: application/json

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                eric_8_1 Eric Kraußer
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: