Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Jettison Issues converting from WebLogic 10.3.4 to 12.1.1.0

$
0
0
I have a small CXF app (currently on 2.7.7) that has been running in WebLogic 10.3.4 for quite a while.

I'm now trying to port it to WebLogic 12.1.1.0.

I first commented out my dependency on jsr311-api, as I heard that that was a required step.

I also adding "javax.ws.rs.*" to my "prefer-application-packages" list, so I use what my app provides, not what Weblogic provides.

Requests that return XML are fine. However, returning JSON is failing with errors like this:

WARNING: Interceptor for {http://content.service.sunlight.att.com/}MobilityBuyFlowResultsController has thrown exception, unwinding now

javax.ws.rs.InternalServerErrorException: java.lang.NoSuchMethodError: org.codehaus.jettison.AbstractXMLStreamWriter.serializeAsArray(Ljava/lang/String;)V

at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.handleWriteException(JAXRSOutInterceptor.java:396)

This is curious, as the version of Jettison that is being deployed does have this method.

What might be the problem here?

Viewing all articles
Browse latest Browse all 5648

Trending Articles