Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
3.1.4
-
None
-
None
-
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)<version.cxf>3.1.4</version.cxf>
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
<version>2.6.4</version>
</dependency><dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>${version.cxf}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
<version>${version.cxf}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>${version.cxf}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http-jetty</artifactId>
<version>${version.cxf}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-extension-providers</artifactId>
<version>${version.cxf}</version>
</dependency><dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-client</artifactId>
<version>${version.cxf}</version>
</dependency>java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) <version.cxf>3.1.4</version.cxf> <dependency> <groupId>com.fasterxml.jackson.jaxrs</groupId> <artifactId>jackson-jaxrs-json-provider</artifactId> <version>2.6.4</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>${version.cxf}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-jaxrs</artifactId> <version>${version.cxf}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http</artifactId> <version>${version.cxf}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http-jetty</artifactId> <version>${version.cxf}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-rs-extension-providers</artifactId> <version>${version.cxf}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-rs-client</artifactId> <version>${version.cxf}</version> </dependency>
-
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.