> -----Original Message-----
> From: Mark Streit [mailto:[email protected]]
> Sent: Friday, April 11, 2014 4:20 PM
> To: [email protected]
> Subject: Re: Jettison Issues converting from WebLogic 10.3.4 to 12.1.1.0
> 
> Just a guess, but any chance the new version of Weblogic contains a
> Jettison jar in in its "stack" somewhere?.
> 
> We used to have similar issues on IBM WAS7 with JAX-WS stuff where they're
> notorious for including all these other JAR files (some of them altered by
> IBM) and something older or altered, got loaded in the classloader first
> and it gets hit first instead of the one you expect for your app.
> 
> Just a thought.

Bingo.  That appeared to fix it.  I thought about that possibility briefly when 
I added the other override, but I concluded "nah, there's no way Oracle would 
include Jettison".

> On Friday, April 11, 2014, KARR, DAVID <[email protected]> wrote:
> 
> > 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/}MobilityBuyFlowResultsControllerh
> as 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?
> >
> 
> 
> --
> Regards,
> 
> Mark
> 
> Sent from Gmail Mobile on iPhone

Reply via email to