camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lmuser <padma.nipp...@lmco.com>
Subject xstream unmarshalling suddenly stopped working
Date Fri, 01 Jun 2012 19:49:27 GMT
I am using servicemix 4.4.1.  I have the following data format in my
blueprint:
		<dataFormats>
			<xstream id="xstream" encoding="">
				<camel:aliases>
					<camel:alias class="my.class"
						name="MyClass" />
				</camel:aliases>
			</xstream>
		</dataFormats>

I was able to use this to unmarshall an xml message received on a jms topic. 
Suddenly, starting yesterday, this stopped working and I have the following
error in my servicemix log file;

(DefaultMessageListenerContainer.java:947)[137:org.springframework.jms:3.0.6.RELEASE]
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_26]
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_26]
	at java.lang.Thread.run(Thread.java:662)[:1.6.0_26]
Caused by: javax.xml.stream.FactoryConfigurationError: Provider
com.ctc.wstx.stax.WstxInputFactory not found
	at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:50)[:]
	at
org.apache.camel.converter.jaxp.StaxConverter.getInputFactory(StaxConverter.java:148)
	at
org.apache.camel.converter.jaxp.StaxConverter.createXMLStreamReader(StaxConverter.java:92)
	at
org.apache.camel.dataformat.xstream.XStreamDataFormat.createHierarchicalStreamReader(XStreamDataFormat.java:107)
	at
org.apache.camel.dataformat.xstream.AbstractXStreamWrapper.unmarshal(AbstractXStreamWrapper.java:209)
	at
org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:57)
	at
org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50)

The code that handles the receiving object has not changed and neither has
the component that is sending the xml.

How can I resolve this error?  Please help

Thank you

--
View this message in context: http://camel.465427.n5.nabble.com/xstream-unmarshalling-suddenly-stopped-working-tp5713824.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message