Hi Did you use the jre.properties.cxf? eg to replace that with the existing jre.properties.
And after installing all the bundles and whatnot. Have you tried restarting Karaf? And have you tried downgrading to CXF 2.5.x? And again what you assemble is essentially a like Apache ServiceMix, however the SMX team make sure it all works together. On Wed, May 9, 2012 at 7:45 AM, ED Barwani <ed.barw...@gmail.com> wrote: > Hello, > > I have a camel route that looks like: > <camel:route> > <camel:from uri="cxf:bean:AddressSearchEndpoint?dataFormat=PAYLOAD" /> > > <camel:to uri="xslt:transforms/request.xsl" /> > <camel:log message="Transformed Request: ${body}" loggingLevel="DEBUG" /> > > <camel:to uri="activemq:queue:{{msh.request}}" /> > > <camel:to uri="xslt:transforms/response.xsl" /> > <camel:log message="Transformed Response: ${body}" loggingLevel="DEBUG" /> > </camel:route> > > This route works desirably when I run it using the camel maven plugin > "mvn camel:run". However, when I run it in the karaf container I get a > NullPointerException > > 2012-05-09 11:26:40,108 | WARN | tp1202105401-632 | > Soap11FaultOutInterceptor | - - | Error writing to > XMLStreamWriter. > javax.xml.stream.XMLStreamException: Trying to output second root, > <soap:Fault> > at > com.ctc.wstx.sw.BaseStreamWriter.throwOutputError(BaseStreamWriter.java:1524)[122:woodstox-core-asl:4.1.2] > at > com.ctc.wstx.sw.BaseStreamWriter.throwOutputError(BaseStreamWriter.java:1531)[122:woodstox-core-asl:4.1.2] > at > com.ctc.wstx.sw.BaseStreamWriter.reportNwfStructure(BaseStreamWriter.java:1559)[122:woodstox-core-asl:4.1.2] > at > com.ctc.wstx.sw.BaseNsStreamWriter.checkStartElement(BaseNsStreamWriter.java:469)[122:woodstox-core-asl:4.1.2] > at > com.ctc.wstx.sw.SimpleNsStreamWriter.writeStartOrEmpty(SimpleNsStreamWriter.java:252)[122:woodstox-core-asl:4.1.2] > at > com.ctc.wstx.sw.BaseNsStreamWriter.writeStartElement(BaseNsStreamWriter.java:317)[122:woodstox-core-asl:4.1.2] > at > org.apache.cxf.binding.soap.interceptor.Soap11FaultOutInterceptor$Soap11FaultOutInterceptorInternal.handleMessage(Soap11FaultOutInterceptor.java:75)[135:org.apache.cxf.cxf-rt-bindings-soap:2.6.0] > ... > > The entire exception can be found in the attached log snippet. > > I am posting because am not entirely certain what is the issue here. > Is it my karaf instance, or is it an issue with CXF? A little nudge in > the right direction will help. Thanks! > > *Environment* > Java: Oracle/Sun version "1.6.0_32" > Karaf: 2.2.7 > ActiveMQ: 5.5.1 > CXF: 2.6.0 > Camel: 2.9.2 -- Claus Ibsen ----------------- CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/