Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6746

CXF 3.1.4 doesn't work with JacksonJsonProvider 2.6.4

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.1.4
    • None
    • Integration, JAX-RS
    • None
    • Unknown

    Description

      I observe some poblem during using JacksonJsonProvider.
      Firstly we have CXF v. 2.7.15 and using default Jettison provider.
      From some reasons (Jettison convert POJO String field to "json-number" if it's possible, http://stackoverflow.com/questions/22379082/jettison-string-returned-as-integer-when-marshalling) we decide change provider on JacksonJsonProvider.

      I change Jettison on JacksonJsonProvider v. 2.6.4 and observe some problem, application frozen after some time if we active use new provider.
      Because CXF v. 2.7.15 is too older, we decide change CXF version on latest 3.1.4

      After change version of CXF I observe that CXF use default Jettison proveder insted of JacksonJsonProvider despite the fact that in I configurate CXF for using JacksonJsonProvider. If I only change version of JacksonJsonProvider on 2.0.0 all works fine.

      Result:
      CXF v.2.7.15 with Jackson v.2.6.4 work, but have some bug (don't descride them because v.2.7.15 is too old).
      CXF v.3.1.4 with Jackson v.2.6.4 doesn't work, CXF use default Jettison.
      CXF v.3.1.4 with Jackson v.2.0.0 work fine.

      If you need some additional information please write here, thank you.

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            Artiom Artiom
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: