Interesting. I did a bunch of searches for: javax.xml.stream.isInterning and am not finding much. It seems to be some proprietary property IBM through in for websphere.
That looks like to me is that it's somehow getting some sort of custom implementation of JAXB that IBM has created (instead of our 2.0.5 from Sun) that expects to be working with their Stax parser instead of woodstox, which it is finding. I'm not really sure how all that happens... I guess I would suggest one of two things: 1) Somehow figure out how to get the classloaders set to use the Sun JAXB implementaion. or 2) Remove the wstx-asl jar we ship and rely on the Stax parser that IBM provides. Dan On Thursday 28 February 2008, Satishstp wrote: > I need some help with Websphere 6.1.x and CXF2.0.4. I wrote a simple > service and client using CXF and getting below exception when a Client > code invokes the service. > > Can anyone help me out? > > [2/28/08 17:22:26:334 EST] 00000023 PhaseIntercep I > org.apache.cxf.phase.PhaseInterceptorChain doIntercept Interceptor has > thrown exception, unwinding now > org.apache.cxf.interceptor.Fault: > Unmarshalling Error: Unrecognized property > 'javax.xml.stream.isInterning' at > org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.j >ava:595) at > org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.j >ava:498) at > org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:40) at > org.apache.cxf.interceptor.DocLiteralInInterceptor.getPara(DocLiteralI >nInterceptor.java:228) at > org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLi >teralInInterceptor.java:119) at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto >rChain.java:208) at > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitia >tionObserver.java:77) at > org.apache.cxf.transport.servlet.ServletDestination.doMessage(ServletD >estination.java:79) at > org.apache.cxf.transport.servlet.ServletController.invokeDestination(S >ervletController.java:264) at > org.apache.cxf.transport.servlet.ServletController.invoke(ServletContr >oller.java:160) at > org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXF >Servlet.java:170) at > org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXF >Servlet.java:148) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at > com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper. >java:989) at > com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWr >apper.java:501) at > com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(Servlet >Wrapper.java:464) at > com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3252) > at > com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:26 >4) at > com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:8 >11) at > com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java >:1439) at > com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java >:112) at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminat >ion(HttpInboundLink.java:454) at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformat >ion(HttpInboundLink.java:383) at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInbound >Link.java:263) at > com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDis >criminators(NewConnectionInitialReadCallback.java:214) at > com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete( >NewConnectionInitialReadCallback.java:113) at > com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted( >AioReadCompletionListener.java:165) at > com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFutur >e.java:217) at > com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannel >Future.java:161) at > com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at > com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195) at > com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.ja >va:743) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873) > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469) Caused > by: java.lang.IllegalArgumentException: Unrecognized property > 'javax.xml.stream.isInterning' > at > com.ctc.wstx.api.CommonConfig.getProperty(CommonConfig.java:81) at > com.ctc.wstx.sr.BasicStreamReader.getProperty(BasicStreamReader.java:5 >78) at > com.ctc.wstx.sr.ValidatingStreamReader.getProperty(ValidatingStreamRea >der.java:177) at > org.apache.cxf.staxutils.DepthXMLStreamReader.getProperty(DepthXMLStre >amReader.java:151) at > com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.create(St >AXStreamConnector.java:67) at > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(U >nmarshallerImpl.java:329) at > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Un >marshallerImpl.java:311) at > org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.j >ava:578) ... 34 more -- J. Daniel Kulp Principal Engineer, IONA [EMAIL PROTECTED] http://www.dankulp.com/blog
