You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "Preben.Asmussen" <pr...@dr.dk> on 2013/09/04 15:00:43 UTC

org.xml.sax.SAXParseException: Premature end of file in split

Hi

I'm running into a error in production, but not in test while using a
splitter with a xpath expression.

The route is receiving messages from a jms queue and is calling a rest
service on anoter tomcat box.
The response should be splittet and send to an activemq topic ->
In production I get an SaxParseException: Premature end of file. The same
deployment runs fine in test.

Route
<from uri="hubQueue:queue:TRACK_PLAYING_HUB" />
			<transacted/>
			<removeHeaders pattern="Camel*"/>
			<inOut uri="cxfrs:bean:playlist?synchronous=true"/>
			<split parallelProcessing="false">
				<xpath>/ns4:now_previus_tracks_response/tracks_list/tracks</xpath>
				<bean beanType="xx.xxx.xxUtil" method="concat"/>
				<setHeader headerName="channel"><xpath
resultType="java.lang.String">/tracks/ns3:channel/source_url</xpath></setHeader>
				<recipientList>
					<simple>activemq:topic:music.playing.${in.header.channel}</simple>
				</recipientList>
			</split> 

Camel version 2.10.0

I wonder if the root cause is that the rest call is streaming the response,
and if so how best to solve it. ???
Anybody seen this before.

If it is a streaming problem how to solve it.
do a convertbody to string before the split, or let the splitter run in
streaming mode. 

btw is xpath able to run in streaming mode ?





Camel trace and Stacktrace : --->
]
[JmsConsumer[TRACK_PLAYING_HUB]] 04 Sep. 2013 - 12:46:24,044 INFO
org.apache.camel.processor.interceptor.Tracer
[ID-oas10-net-dr-dk-53250-1378291075376-0-5 >>> (playliste-nnp-out-Route)
direct://audit --> cxfrs://bean:playlist?synchronous=true <<<
Pattern:InOnly,
Headers:{breadcrumbId=ID-oas11-net-dr-dk-10395-1378289104952-0-73,
JMSReplyTo=null, JMSDeliveryMode=2, JMSTimestamp=1378291582482,
JMSXUserID=INTAQ, JMS_OracleDeliveryMode=2, JMSType=null, JMSXGroupID=null,
JMS_OracleDelay=0, JMSXState=0, JMS_OracleTimestamp=1378291582482,
JMSExpiration=0, JMSXRecvTimestamp=1378291584029,
JMSDestination=INTAQ.TRACK_PLAYING_HUB, JMSRedelivered=false, MessageID=OR,
JMSPriority=1, JMSXDeliveryCount=1, JMSCorrelationID=null,
JMSMessageID=ID:E58C42B0AF0D41D4E040650AC90C6296,
adapterName=playliste-nnp-out}, BodyType:String, Body:<?xml version="1.0"
encoding="UTF-8"?><BroadcastMonitor>
	<updated>2013-09-04T12:43:19</updated>
	<stationName>OR</stationName>
	<Current>
		<startTime>2013-09-04T12:43:19</startTime>
		<itemId>1000209980:2028293</itemId>
		<titleId>701149</titleId>
		<itemCode>2200757-0104</itemCode>
		<itemReference> </itemReference>
		<titleName>Working On The Highway</titleName>
		<artistName>Bruce Springsteen</artistName>
		<albumName></albumName>
	</Current>
	<Next>
		<startTime>2013-09-04T12:46:29</startTime>
		<itemId>1000209980:2028294</itemId>
		<titleId>720935</titleId>
		<itemCode>9006673-0101</itemCode>
		<itemReference> </itemReference>
		<titleName>Ask Yourself</titleName>
		<artistName>Nabiha</artistName>
		<albumName></albumName>
	</Next>
</BroadcastMonitor>
]
[JmsConsumer[TRACK_PLAYING_HUB]] 04 Sep. 2013 - 12:46:25,913 INFO
org.apache.camel.processor.interceptor.Tracer
[ID-oas10-net-dr-dk-53250-1378291075376-0-5 >>> (playliste-nnp-out-Route)
cxfrs://bean:playlist?synchronous=true --> split[XPath:
/ns4:now_previus_tracks_response/tracks_list/tracks] <<< Pattern:InOnly,
Headers:{JMSTimestamp=1378291582482, JMSCorrelationID=null,
JMSXGroupID=null, Transfer-Encoding=chunked, adapterName=playliste-nnp-out,
JMSXState=0, JMSXRecvTimestamp=1378291584029,
breadcrumbId=ID-oas11-net-dr-dk-10395-1378289104952-0-73, JMSReplyTo=null,
JMSType=null, CamelHttpResponseCode=200, Date=Wed, 04 Sep 2013 10:46:25 GMT,
JMSRedelivered=false, Server=Apache-Coyote/1.1,
JMS_OracleTimestamp=1378291582482, MessageID=OR,
JMSDestination=INTAQ.TRACK_PLAYING_HUB, JMS_OracleDelay=0, JMSPriority=1,
JMSExpiration=0, JMSXUserID=INTAQ, JMSDeliveryMode=2,
Content-Type=application/xml, JMS_OracleDeliveryMode=2, JMSXDeliveryCount=1,
JMSMessageID=ID:E58C42B0AF0D41D4E040650AC90C6296},
BodyType:org.apache.cxf.jaxrs.impl.ResponseImpl, Body:<?xml version="1.0"
encoding="UTF-8" standalone="yes"?><ns4:now_previus_tracks_response
xmlns:ns2="http://www.dr.dk/namespaces/schemas/common/message_header"
xmlns:ns3="http://www.dr.dk/namespaces/schemas/common/channel"
xmlns:ns4="http://dr.dk/service/common/playlister/2010/02"><ns2:message_header><message_timestamp>2013-09-04T12:46:24</message_timestamp><message_action>RETRIEVE</message_action><message_application>dr.dk/service/playlister</message_application></ns2:message_header><tracks_list><tracks><ns3:channel><name>P4
Østjylland</name><source_url>AR4</source_url><type>radio</type></ns3:channel><current_program><program_id>28124794</program_id><title>Smutvejen</title><start_time>2013-09-04T12:18:00</start_time><source_id>206371038813</source_id></current_program><nnp_tracks><now><track_title>Working
the highway</track_title><display_artist>Bruce
Springsteen</display_artist><start_time>2013-09-04T12:43:19</start_time><detail_id>2200757-1-4</detail_id><source_system>DALET_NOW</sourc...
[Body clipped after 1000 chars, total length is 17541]]
[JmsConsumer[TRACK_PLAYING_HUB]] 04 Sep. 2013 - 12:46:25,915 ERROR
org.apache.camel.processor.DefaultErrorHandler [Failed delivery for
(MessageId: ID-oas10-net-dr-dk-53250-1378291075376-0-6 on ExchangeId:
ID-oas10-net-dr-dk-53250-1378291075376-0-5). Exhausted after delivery
attempt: 1 caught: org.apache.camel.TypeConversionException: Error during
type conversion from type: org.apache.cxf.jaxrs.impl.ResponseImpl to the
required type: org.w3c.dom.Document with value
org.apache.cxf.jaxrs.impl.ResponseImpl@2aa7556f due
org.xml.sax.SAXParseException: Premature end of file.]
org.apache.camel.TypeConversionException: Error during type conversion from
type: org.apache.cxf.jaxrs.impl.ResponseImpl to the required type:
org.w3c.dom.Document with value
org.apache.cxf.jaxrs.impl.ResponseImpl@2aa7556f due
org.xml.sax.SAXParseException: Premature end of file.
	at
org.apache.camel.impl.converter.BaseTypeConverterRegistry.convertTo(BaseTypeConverterRegistry.java:126)
	at
org.apache.camel.builder.xml.XPathBuilder.doGetDocument(XPathBuilder.java:967)
	at
org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:946)
	at
org.apache.camel.builder.xml.XPathBuilder.doInEvaluateAs(XPathBuilder.java:790)
	at
org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:697)
	at
org.apache.camel.builder.xml.XPathBuilder.evaluate(XPathBuilder.java:667)
	at
org.apache.camel.builder.xml.XPathBuilder.evaluate(XPathBuilder.java:147)
	at
org.apache.camel.processor.Splitter.createProcessorExchangePairs(Splitter.java:101)
	at
org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:209)
	at org.apache.camel.processor.Splitter.process(Splitter.java:96)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:163)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
	at
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
	at
org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:61)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at org.apache.camel.processor.Pipeline.process(Pipeline.java:148)
	at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
	at
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:225)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:98)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:111)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:163)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
	at
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:225)
	at
org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:183)
	at
org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34)
	at
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:202)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:133)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:102)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:111)
	at
org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:61)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
	at
org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:61)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.processor.UnitOfWorkProcessor.processAsync(UnitOfWorkProcessor.java:150)
	at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:117)
	at
org.apache.camel.processor.RouteInflightRepositoryProcessor.processNext(RouteInflightRepositoryProcessor.java:57)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:87)
	at
org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:104)
	at
org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:561)
	at
org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)
	at
org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)
	at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
	at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:243)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1059)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:909)
	at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.camel.RuntimeCamelException:
org.xml.sax.SAXParseException: Premature end of file.
	at
org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1280)
	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:936)
	at
org.apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceMethodTypeConverter.java:66)
	at
org.apache.camel.component.cxf.converter.CxfConverter.convertTo(CxfConverter.java:169)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:932)
	at
org.apache.camel.impl.converter.StaticMethodFallbackTypeConverter.convertTo(StaticMethodFallbackTypeConverter.java:50)
	at
org.apache.camel.impl.converter.BaseTypeConverterRegistry.doConvertTo(BaseTypeConverterRegistry.java:289)
	at
org.apache.camel.impl.converter.BaseTypeConverterRegistry.convertTo(BaseTypeConverterRegistry.java:111)
	at
org.apache.camel.builder.xml.XPathBuilder.doGetDocument(XPathBuilder.java:967)
	at
org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:946)
	at
org.apache.camel.builder.xml.XPathBuilder.doInEvaluateAs(XPathBuilder.java:790)
	at
org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:697)
	at
org.apache.camel.builder.xml.XPathBuilder.evaluate(XPathBuilder.java:667)
	at
org.apache.camel.builder.xml.XPathBuilder.evaluate(XPathBuilder.java:147)
	at
org.apache.camel.processor.Splitter.createProcessorExchangePairs(Splitter.java:101)
	at
org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:209)
	at org.apache.camel.processor.Splitter.process(Splitter.java:96)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:163)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
	at
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
	at
org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at org.apache.camel.processor.Pipeline.process(Pipeline.java:117)
	at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
	at
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:98)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:111)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:163)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
	at
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220)
	at
org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:180)
	at
org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
	at
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:173)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:133)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:102)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:111)
	at
org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
	at
org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.processor.UnitOfWorkProcessor.processAsync(UnitOfWorkProcessor.java:150)
	at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:117)
	at
org.apache.camel.processor.RouteInflightRepositoryProcessor.processNext(RouteInflightRepositoryProcessor.java:48)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:86)
	at
org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:104)
	at
org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:560)
	at
org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)
	at
org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)
	at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
	at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:243)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	... 1 more
Caused by: org.xml.sax.SAXParseException: Premature end of file.
	at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
	at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
	at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
	at
com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1059)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
	at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
	at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
	at
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:235)
	at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
	at
weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.java:163)
	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
	at
org.apache.camel.converter.jaxp.XmlConverter.toDOMDocument(XmlConverter.java:755)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:932)
	... 100 more
[JmsConsumer[TRACK_PLAYING_HUB]] 04 Sep. 2013 - 12:46:25,916 WARN
org.apache.camel.spring.spi.TransactionErrorHandler [Transaction rollback
(0x36bc8f7f) redelivered(false) for (MessageId:
ID:E58C42B0AF0D41D4E040650AC90C6296 on ExchangeId:
ID-oas10-net-dr-dk-53250-1378291075376-0-5) caught: Error during type
conversion from type: org.apache.cxf.jaxrs.impl.ResponseImpl to the required
type: org.w3c.dom.Document with value
org.apache.cxf.jaxrs.impl.ResponseImpl@2aa7556f due
org.xml.sax.SAXParseException: Premature end of file.]
[JmsConsumer[TRACK_PLAYING_HUB]] 04 Sep. 2013 - 12:46:25,916 WARN
org.apache.camel.component.jms.EndpointMessageListener [Execution of JMS
message listener failed. Caused by: [org.apache.camel.RuntimeCamelException
- org.xml.sax.SAXParseException: Premature end of file.]]
org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException:
Premature end of file.
	at
org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1280)
	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:936)
	at
org.apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceMethodTypeConverter.java:66)
	at
org.apache.camel.component.cxf.converter.CxfConverter.convertTo(CxfConverter.java:169)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:932)
	at
org.apache.camel.impl.converter.StaticMethodFallbackTypeConverter.convertTo(StaticMethodFallbackTypeConverter.java:50)
	at
org.apache.camel.impl.converter.BaseTypeConverterRegistry.doConvertTo(BaseTypeConverterRegistry.java:289)
	at
org.apache.camel.impl.converter.BaseTypeConverterRegistry.convertTo(BaseTypeConverterRegistry.java:111)
	at
org.apache.camel.builder.xml.XPathBuilder.doGetDocument(XPathBuilder.java:967)
	at
org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:946)
	at
org.apache.camel.builder.xml.XPathBuilder.doInEvaluateAs(XPathBuilder.java:790)
	at
org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:697)
	at
org.apache.camel.builder.xml.XPathBuilder.evaluate(XPathBuilder.java:667)
	at
org.apache.camel.builder.xml.XPathBuilder.evaluate(XPathBuilder.java:147)
	at
org.apache.camel.processor.Splitter.createProcessorExchangePairs(Splitter.java:101)
	at
org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:209)
	at org.apache.camel.processor.Splitter.process(Splitter.java:96)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:163)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
	at
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
	at
org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at org.apache.camel.processor.Pipeline.process(Pipeline.java:117)
	at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
	at
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:98)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:111)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:163)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
	at
org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
	at
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220)
	at
org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:180)
	at
org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
	at
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:173)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:133)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:102)
	at
org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:111)
	at
org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
	at
org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.processor.UnitOfWorkProcessor.processAsync(UnitOfWorkProcessor.java:150)
	at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:117)
	at
org.apache.camel.processor.RouteInflightRepositoryProcessor.processNext(RouteInflightRepositoryProcessor.java:48)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:86)
	at
org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:104)
	at
org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:560)
	at
org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)
	at
org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)
	at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
	at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:243)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
Caused by: org.xml.sax.SAXParseException: Premature end of file.
	at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
	at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
	at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
	at
com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1059)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
	at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
	at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
	at
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:235)
	at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
	at
weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.java:163)
	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
	at
org.apache.camel.converter.jaxp.XmlConverter.toDOMDocument(XmlConverter.java:755)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:932)
	... 100 more





--
View this message in context: http://camel.465427.n5.nabble.com/org-xml-sax-SAXParseException-Premature-end-of-file-in-split-tp5738675.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: org.xml.sax.SAXParseException: Premature end of file in split

Posted by "Preben.Asmussen" <pr...@dr.dk>.
Ahh - thanks.



--
View this message in context: http://camel.465427.n5.nabble.com/org-xml-sax-SAXParseException-Premature-end-of-file-in-split-tp5738675p5739106.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: org.xml.sax.SAXParseException: Premature end of file in split

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Read the release notes
http://camel.apache.org/camel-2120-release.html

See section: Changes that may affect end users

On Wed, Sep 11, 2013 at 10:50 AM, Preben.Asmussen <pr...@dr.dk> wrote:
> Hi Christian
>
> Thanks - and sorry for the somewhat rough tests. Currently I'm trying to
> solve multiple problems at the same time
>
> And I tried it on 1.12.0 yesterday and there it works as you say. There
> seems to be another problem with tracing on 1.12.0 though. When you activate
> tracing using jmx console the tracing seems not to be invoked.
>
> I haven't had the time to dig closer into it, so atm. take this only as a
> hunch that there might be some problems here.
>
> Best,
> Preben
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/org-xml-sax-SAXParseException-Premature-end-of-file-in-split-tp5738675p5739101.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Re: org.xml.sax.SAXParseException: Premature end of file in split

Posted by Christian Müller <ch...@gmail.com>.
I logged a ticket: https://issues.apache.org/jira/browse/CAMEL-6735

Best,
Christian
-----------------

Software Integration Specialist

Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member: https://www.apache.org/foundation/members.html

https://www.linkedin.com/pub/christian-mueller/11/551/642


On Wed, Sep 11, 2013 at 10:50 AM, Preben.Asmussen <pr...@dr.dk> wrote:

> Hi Christian
>
> Thanks - and sorry for the somewhat rough tests. Currently I'm trying to
> solve multiple problems at the same time
>
> And I tried it on 1.12.0 yesterday and there it works as you say. There
> seems to be another problem with tracing on 1.12.0 though. When you
> activate
> tracing using jmx console the tracing seems not to be invoked.
>
> I haven't had the time to dig closer into it, so atm. take this only as a
> hunch that there might be some problems here.
>
> Best,
> Preben
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/org-xml-sax-SAXParseException-Premature-end-of-file-in-split-tp5738675p5739101.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Re: org.xml.sax.SAXParseException: Premature end of file in split

Posted by "Preben.Asmussen" <pr...@dr.dk>.
Hi Christian

Thanks - and sorry for the somewhat rough tests. Currently I'm trying to
solve multiple problems at the same time 

And I tried it on 1.12.0 yesterday and there it works as you say. There
seems to be another problem with tracing on 1.12.0 though. When you activate
tracing using jmx console the tracing seems not to be invoked.

I haven't had the time to dig closer into it, so atm. take this only as a
hunch that there might be some problems here.

Best,
Preben



--
View this message in context: http://camel.465427.n5.nabble.com/org-xml-sax-SAXParseException-Premature-end-of-file-in-split-tp5738675p5739101.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: org.xml.sax.SAXParseException: Premature end of file in split

Posted by Christian Müller <ch...@gmail.com>.
Hello Preben!

I polished your test a bit and tried it with Camel 2.12.0 and
2.11.2-SNAPSHOT (projects attached).
The good thing is, it works with 2.12.0.
The bad thing is, it doesn't work with 2.11.2-SNAPSHOT.

I will try to find some time to digg into it...

Best,
Christian
-----------------

Software Integration Specialist

Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member: https://www.apache.org/foundation/members.html

https://www.linkedin.com/pub/christian-mueller/11/551/642


On Mon, Sep 9, 2013 at 1:15 PM, Preben.Asmussen <pr...@dr.dk> wrote:

> Did 2 tests that shows the problem with enabling the tracer.
>
> If you run RouteWithoutTracerTest it runs ok
> The other RouteWithTracerTest fails with  org.xml.sax.SAXParseException:
> Premature end of file.
>
> The tracer seems to break stuff somewhere.
>
> tracerbug.zip
> <http://camel.465427.n5.nabble.com/file/n5738935/tracerbug.zip>
>
> btw. run the tests separate in ide due to cxf test port conflicts. But that
> another case.
>
> Best,
> Preben
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/org-xml-sax-SAXParseException-Premature-end-of-file-in-split-tp5738675p5738935.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Re: org.xml.sax.SAXParseException: Premature end of file in split

Posted by "Preben.Asmussen" <pr...@dr.dk>.
Did 2 tests that shows the problem with enabling the tracer.

If you run RouteWithoutTracerTest it runs ok
The other RouteWithTracerTest fails with  org.xml.sax.SAXParseException:
Premature end of file.

The tracer seems to break stuff somewhere. 

tracerbug.zip
<http://camel.465427.n5.nabble.com/file/n5738935/tracerbug.zip>  

btw. run the tests separate in ide due to cxf test port conflicts. But that
another case.

Best,
Preben



--
View this message in context: http://camel.465427.n5.nabble.com/org-xml-sax-SAXParseException-Premature-end-of-file-in-split-tp5738675p5738935.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: org.xml.sax.SAXParseException: Premature end of file in split

Posted by "Preben.Asmussen" <pr...@dr.dk>.
Just tested it on 2.11.1 with the same result



--
View this message in context: http://camel.465427.n5.nabble.com/org-xml-sax-SAXParseException-Premature-end-of-file-in-split-tp5738675p5738841.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: org.xml.sax.SAXParseException: Premature end of file in split

Posted by "Preben.Asmussen" <pr...@dr.dk>.
Well It didn't work as expected. 

After I added convertBody to byte[] the error persists when enabling
tracing.

Changed route ->
........
<inOut uri="cxfrs:bean:playlist?synchronous=true" id="playws"/>
			<convertBodyTo type="byte[]"/>
			<split parallelProcessing="false">
				<xpath>/ns4:now_previus_tracks_response/tracks_list/tracks</xpath>
				<bean beanType="dk.dr.drip.adapters.playlist.PlaylisteUtil"
method="concat"/>
				<setHeader headerName="channel"><xpath
resultType="java.lang.String">/tracks/ns3:channel/source_url</xpath></setHeader>
				<recipientList>
					<simple>activemq:topic:music.playing.${in.header.channel}</simple>
				</recipientList>
				<setHeader
headerName="MessageID"><simple>${in.header.channel}</simple></setHeader>
				<setHeader
headerName="adapterName"><constant>playliste-push-out</constant></setHeader>
				<to uri="direct:audit"/>
			</split>

Trace ->
[JmsConsumer[TRACK_PLAYING_HUB]] Tracer                         INFO 
ID-A70103-56878-1378460141699-0-1 >>> (playliste-nnp-out-Route)  -->
split[XPath: /ns4:now_previus_tracks_response/tracks_list/tracks] <<<
Pattern:InOnly, Headers:{JMS_OracleTimestamp=1378460209064,
Server=Apache-Coyote/1.1, JMSExpiration=0, JMSReplyTo=null, JMSType=null,
CamelHttpResponseCode=200, JMSRedelivered=false, JMSXDeliveryCount=1,
JMSDeliveryMode=2, JMSMessageID=ID:E5B4C32C35522667E040650A940D3A3C,
MessageID=DRMAMA, JMSDestination=INTAQ.TRACK_PLAYING_HUB, JMS_OracleDelay=0,
JMSPriority=1, JMSXRecvTimestamp=1378460209275, JMSTimestamp=1378460209064,
JMSXGroupID=null, Content-Type=application/xml, JMSXUserID=INTAQ,
JMS_OracleDeliveryMode=2, Date=Fri, 06 Sep 2013 09:36:49 GMT,
breadcrumbId=ID-A70103-56882-1378460145057-0-1, Content-Length=827,
JMSCorrelationID=null, JMSXState=0, adapterName=playliste-nnp-out},
BodyType:byte[], Body:

[JmsConsumer[TRACK_PLAYING_HUB]] DefaultErrorHandler            ERROR Failed
delivery for (MessageId: ID-A70103-56878-1378460141699-0-2 on ExchangeId:
ID-A70103-56878-1378460141699-0-1). Exhausted after delivery attempt: 1
caught: org.apache.camel.TypeConversionException: Error during type
conversion from type: byte[] to the required type: org.w3c.dom.Document with
value [B@2a1ffc2 due org.xml.sax.SAXParseException: Premature end of file.
org.apache.camel.TypeConversionException: Error during type conversion from
type: byte[] to the required type: org.w3c.dom.Document with value
[B@2a1ffc2 due org.xml.sax.SAXParseException: Premature end of file.
	at
org.apache.camel.impl.converter.BaseTypeConverterRegistry.convertTo(BaseTypeConverterRegistry.java:126)
	at
org.apache.camel.builder.xml.XPathBuilder.doGetDocument(XPathBuilder.java:967)
	at
org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:946)
	at
org.apache.camel.builder.xml.XPathBuilder.doInEvaluateAs(XPathBuilder.java:790)
....

It seems that the tracer will read the cxf response stream when tracing gets
enabled resulting in an parseException.

This smells like a in camel-cxf ??

Btw the reason to convert the body to a byte array and not a string is that
the response is in utf-8 including bom. 

Best,
Preben



--
View this message in context: http://camel.465427.n5.nabble.com/org-xml-sax-SAXParseException-Premature-end-of-file-in-split-tp5738675p5738840.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: org.xml.sax.SAXParseException: Premature end of file in split

Posted by Claus Ibsen <cl...@gmail.com>.
Yeah converting to a String is a good idea if the data is in-memory
only, eg not a 500mb file you read from the file system etc.

A side note:
Also the xpath engine from JDK is purely in-memory only. It cannot
split / evaluate in streaming mode.

You can find some links about splitting big xml files on the Camel
articles page for solutions to this problem.

On Thu, Sep 5, 2013 at 8:31 AM, Preben.Asmussen <pr...@dr.dk> wrote:
> Hi Willem
>
> No the tracing was enabled using jmx to trubleshot.
> Thinking of it I recall some bug in Camel with a toString method and
> streaming. It might be that when tracing is enabled it consumes the stream
> when calling toString in camel version 2.10.0 ??
>
> What would be the best approach here to avoid that ?
> Upgrade or would converting to a String just before the split ?
>
> Best,
> Preben
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/org-xml-sax-SAXParseException-Premature-end-of-file-in-split-tp5738675p5738722.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Re: org.xml.sax.SAXParseException: Premature end of file in split

Posted by "Preben.Asmussen" <pr...@dr.dk>.
Hi Willem

No the tracing was enabled using jmx to trubleshot. 
Thinking of it I recall some bug in Camel with a toString method and
streaming. It might be that when tracing is enabled it consumes the stream
when calling toString in camel version 2.10.0 ??

What would be the best approach here to avoid that ?
Upgrade or would converting to a String just before the split ?

Best,
Preben



--
View this message in context: http://camel.465427.n5.nabble.com/org-xml-sax-SAXParseException-Premature-end-of-file-in-split-tp5738675p5738722.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: org.xml.sax.SAXParseException: Premature end of file in split

Posted by Willem Jiang <wi...@gmail.com>.
Hi,

Do you always enable to camel tracing in your production environment?

SaxParseException: Premature end of file.  It looks like a stream consuming
issue.
We need to know if the message is consumed before routing the splitter for
processing.



Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
(English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem


On Wed, Sep 4, 2013 at 9:00 PM, Preben.Asmussen <pr...@dr.dk> wrote:

> Hi
>
> I'm running into a error in production, but not in test while using a
> splitter with a xpath expression.
>
> The route is receiving messages from a jms queue and is calling a rest
> service on anoter tomcat box.
> The response should be splittet and send to an activemq topic ->
> In production I get an SaxParseException: Premature end of file. The same
> deployment runs fine in test.
>
> Route
> <from uri="hubQueue:queue:TRACK_PLAYING_HUB" />
>                         <transacted/>
>                         <removeHeaders pattern="Camel*"/>
>                         <inOut uri="cxfrs:bean:playlist?synchronous=true"/>
>                         <split parallelProcessing="false">
>
> <xpath>/ns4:now_previus_tracks_response/tracks_list/tracks</xpath>
>                                 <bean beanType="xx.xxx.xxUtil"
> method="concat"/>
>                                 <setHeader headerName="channel"><xpath
>
> resultType="java.lang.String">/tracks/ns3:channel/source_url</xpath></setHeader>
>                                 <recipientList>
>
> <simple>activemq:topic:music.playing.${in.header.channel}</simple>
>                                 </recipientList>
>                         </split>
>
> Camel version 2.10.0
>
> I wonder if the root cause is that the rest call is streaming the response,
> and if so how best to solve it. ???
> Anybody seen this before.
>
> If it is a streaming problem how to solve it.
> do a convertbody to string before the split, or let the splitter run in
> streaming mode.
>
> btw is xpath able to run in streaming mode ?
>
>
>
>
>
> Camel trace and Stacktrace : --->
> ]
> [JmsConsumer[TRACK_PLAYING_HUB]] 04 Sep. 2013 - 12:46:24,044 INFO
> org.apache.camel.processor.interceptor.Tracer
> [ID-oas10-net-dr-dk-53250-1378291075376-0-5 >>> (playliste-nnp-out-Route)
> direct://audit --> cxfrs://bean:playlist?synchronous=true <<<
> Pattern:InOnly,
> Headers:{breadcrumbId=ID-oas11-net-dr-dk-10395-1378289104952-0-73,
> JMSReplyTo=null, JMSDeliveryMode=2, JMSTimestamp=1378291582482,
> JMSXUserID=INTAQ, JMS_OracleDeliveryMode=2, JMSType=null, JMSXGroupID=null,
> JMS_OracleDelay=0, JMSXState=0, JMS_OracleTimestamp=1378291582482,
> JMSExpiration=0, JMSXRecvTimestamp=1378291584029,
> JMSDestination=INTAQ.TRACK_PLAYING_HUB, JMSRedelivered=false, MessageID=OR,
> JMSPriority=1, JMSXDeliveryCount=1, JMSCorrelationID=null,
> JMSMessageID=ID:E58C42B0AF0D41D4E040650AC90C6296,
> adapterName=playliste-nnp-out}, BodyType:String, Body:<?xml version="1.0"
> encoding="UTF-8"?><BroadcastMonitor>
>         <updated>2013-09-04T12:43:19</updated>
>         <stationName>OR</stationName>
>         <Current>
>                 <startTime>2013-09-04T12:43:19</startTime>
>                 <itemId>1000209980:2028293</itemId>
>                 <titleId>701149</titleId>
>                 <itemCode>2200757-0104</itemCode>
>                 <itemReference> </itemReference>
>                 <titleName>Working On The Highway</titleName>
>                 <artistName>Bruce Springsteen</artistName>
>                 <albumName></albumName>
>         </Current>
>         <Next>
>                 <startTime>2013-09-04T12:46:29</startTime>
>                 <itemId>1000209980:2028294</itemId>
>                 <titleId>720935</titleId>
>                 <itemCode>9006673-0101</itemCode>
>                 <itemReference> </itemReference>
>                 <titleName>Ask Yourself</titleName>
>                 <artistName>Nabiha</artistName>
>                 <albumName></albumName>
>         </Next>
> </BroadcastMonitor>
> ]
> [JmsConsumer[TRACK_PLAYING_HUB]] 04 Sep. 2013 - 12:46:25,913 INFO
> org.apache.camel.processor.interceptor.Tracer
> [ID-oas10-net-dr-dk-53250-1378291075376-0-5 >>> (playliste-nnp-out-Route)
> cxfrs://bean:playlist?synchronous=true --> split[XPath:
> /ns4:now_previus_tracks_response/tracks_list/tracks] <<< Pattern:InOnly,
> Headers:{JMSTimestamp=1378291582482, JMSCorrelationID=null,
> JMSXGroupID=null, Transfer-Encoding=chunked, adapterName=playliste-nnp-out,
> JMSXState=0, JMSXRecvTimestamp=1378291584029,
> breadcrumbId=ID-oas11-net-dr-dk-10395-1378289104952-0-73, JMSReplyTo=null,
> JMSType=null, CamelHttpResponseCode=200, Date=Wed, 04 Sep 2013 10:46:25
> GMT,
> JMSRedelivered=false, Server=Apache-Coyote/1.1,
> JMS_OracleTimestamp=1378291582482, MessageID=OR,
> JMSDestination=INTAQ.TRACK_PLAYING_HUB, JMS_OracleDelay=0, JMSPriority=1,
> JMSExpiration=0, JMSXUserID=INTAQ, JMSDeliveryMode=2,
> Content-Type=application/xml, JMS_OracleDeliveryMode=2,
> JMSXDeliveryCount=1,
> JMSMessageID=ID:E58C42B0AF0D41D4E040650AC90C6296},
> BodyType:org.apache.cxf.jaxrs.impl.ResponseImpl, Body:<?xml version="1.0"
> encoding="UTF-8" standalone="yes"?><ns4:now_previus_tracks_response
> xmlns:ns2="http://www.dr.dk/namespaces/schemas/common/message_header"
> xmlns:ns3="http://www.dr.dk/namespaces/schemas/common/channel"
> xmlns:ns4="http://dr.dk/service/common/playlister/2010/02
> "><ns2:message_header><message_timestamp>2013-09-04T12:46:24</message_timestamp><message_action>RETRIEVE</message_action><message_application>
> dr.dk/service/playlister
> </message_application></ns2:message_header><tracks_list><tracks><ns3:channel><name>P4
>
> Østjylland</name><source_url>AR4</source_url><type>radio</type></ns3:channel><current_program><program_id>28124794</program_id><title>Smutvejen</title><start_time>2013-09-04T12:18:00</start_time><source_id>206371038813</source_id></current_program><nnp_tracks><now><track_title>Working
> the highway</track_title><display_artist>Bruce
>
> Springsteen</display_artist><start_time>2013-09-04T12:43:19</start_time><detail_id>2200757-1-4</detail_id><source_system>DALET_NOW</sourc...
> [Body clipped after 1000 chars, total length is 17541]]
> [JmsConsumer[TRACK_PLAYING_HUB]] 04 Sep. 2013 - 12:46:25,915 ERROR
> org.apache.camel.processor.DefaultErrorHandler [Failed delivery for
> (MessageId: ID-oas10-net-dr-dk-53250-1378291075376-0-6 on ExchangeId:
> ID-oas10-net-dr-dk-53250-1378291075376-0-5). Exhausted after delivery
> attempt: 1 caught: org.apache.camel.TypeConversionException: Error during
> type conversion from type: org.apache.cxf.jaxrs.impl.ResponseImpl to the
> required type: org.w3c.dom.Document with value
> org.apache.cxf.jaxrs.impl.ResponseImpl@2aa7556f due
> org.xml.sax.SAXParseException: Premature end of file.]
> org.apache.camel.TypeConversionException: Error during type conversion from
> type: org.apache.cxf.jaxrs.impl.ResponseImpl to the required type:
> org.w3c.dom.Document with value
> org.apache.cxf.jaxrs.impl.ResponseImpl@2aa7556f due
> org.xml.sax.SAXParseException: Premature end of file.
>         at
>
> org.apache.camel.impl.converter.BaseTypeConverterRegistry.convertTo(BaseTypeConverterRegistry.java:126)
>         at
>
> org.apache.camel.builder.xml.XPathBuilder.doGetDocument(XPathBuilder.java:967)
>         at
>
> org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:946)
>         at
>
> org.apache.camel.builder.xml.XPathBuilder.doInEvaluateAs(XPathBuilder.java:790)
>         at
> org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:697)
>         at
> org.apache.camel.builder.xml.XPathBuilder.evaluate(XPathBuilder.java:667)
>         at
> org.apache.camel.builder.xml.XPathBuilder.evaluate(XPathBuilder.java:147)
>         at
>
> org.apache.camel.processor.Splitter.createProcessorExchangePairs(Splitter.java:101)
>         at
>
> org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:209)
>         at org.apache.camel.processor.Splitter.process(Splitter.java:96)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:163)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
>         at
>
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
>         at
>
> org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:61)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:148)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
>         at
>
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:225)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:98)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:111)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:163)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
>         at
>
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:225)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:183)
>         at
>
> org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34)
>         at
>
> org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:202)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:133)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:102)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:111)
>         at
>
> org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:61)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
>         at
>
> org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:61)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.processor.UnitOfWorkProcessor.processAsync(UnitOfWorkProcessor.java:150)
>         at
>
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:117)
>         at
>
> org.apache.camel.processor.RouteInflightRepositoryProcessor.processNext(RouteInflightRepositoryProcessor.java:57)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:112)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:87)
>         at
>
> org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:104)
>         at
>
> org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:561)
>         at
>
> org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)
>         at
>
> org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)
>         at
>
> org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
>         at
>
> org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:243)
>         at
>
> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1059)
>         at
>
> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)
>         at
>
> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:909)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.camel.RuntimeCamelException:
> org.xml.sax.SAXParseException: Premature end of file.
>         at
>
> org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1280)
>         at
> org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:936)
>         at
>
> org.apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceMethodTypeConverter.java:66)
>         at
>
> org.apache.camel.component.cxf.converter.CxfConverter.convertTo(CxfConverter.java:169)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:932)
>         at
>
> org.apache.camel.impl.converter.StaticMethodFallbackTypeConverter.convertTo(StaticMethodFallbackTypeConverter.java:50)
>         at
>
> org.apache.camel.impl.converter.BaseTypeConverterRegistry.doConvertTo(BaseTypeConverterRegistry.java:289)
>         at
>
> org.apache.camel.impl.converter.BaseTypeConverterRegistry.convertTo(BaseTypeConverterRegistry.java:111)
>         at
>
> org.apache.camel.builder.xml.XPathBuilder.doGetDocument(XPathBuilder.java:967)
>         at
>
> org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:946)
>         at
>
> org.apache.camel.builder.xml.XPathBuilder.doInEvaluateAs(XPathBuilder.java:790)
>         at
> org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:697)
>         at
> org.apache.camel.builder.xml.XPathBuilder.evaluate(XPathBuilder.java:667)
>         at
> org.apache.camel.builder.xml.XPathBuilder.evaluate(XPathBuilder.java:147)
>         at
>
> org.apache.camel.processor.Splitter.createProcessorExchangePairs(Splitter.java:101)
>         at
>
> org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:209)
>         at org.apache.camel.processor.Splitter.process(Splitter.java:96)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:163)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
>         at
>
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
>         at
>
> org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:117)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
>         at
>
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:98)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:111)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:163)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
>         at
>
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:180)
>         at
>
> org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
>         at
>
> org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:173)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:133)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:102)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:111)
>         at
>
> org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
>         at
>
> org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.processor.UnitOfWorkProcessor.processAsync(UnitOfWorkProcessor.java:150)
>         at
>
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:117)
>         at
>
> org.apache.camel.processor.RouteInflightRepositoryProcessor.processNext(RouteInflightRepositoryProcessor.java:48)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:86)
>         at
>
> org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:104)
>         at
>
> org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:560)
>         at
>
> org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)
>         at
>
> org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)
>         at
>
> org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
>         at
>
> org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:243)
>         at
>
> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)
>         at
>
> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)
>         at
>
> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         ... 1 more
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
>         at
>
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
>         at
>
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
>         at
>
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
>         at
>
> com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
>         at
>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1059)
>         at
>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
>         at
>
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
>         at
>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
>         at
>
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
>         at
>
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
>         at
>
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
>         at
>
> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:235)
>         at
>
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
>         at
>
> weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.java:163)
>         at
> javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
>         at
>
> org.apache.camel.converter.jaxp.XmlConverter.toDOMDocument(XmlConverter.java:755)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:932)
>         ... 100 more
> [JmsConsumer[TRACK_PLAYING_HUB]] 04 Sep. 2013 - 12:46:25,916 WARN
> org.apache.camel.spring.spi.TransactionErrorHandler [Transaction rollback
> (0x36bc8f7f) redelivered(false) for (MessageId:
> ID:E58C42B0AF0D41D4E040650AC90C6296 on ExchangeId:
> ID-oas10-net-dr-dk-53250-1378291075376-0-5) caught: Error during type
> conversion from type: org.apache.cxf.jaxrs.impl.ResponseImpl to the
> required
> type: org.w3c.dom.Document with value
> org.apache.cxf.jaxrs.impl.ResponseImpl@2aa7556f due
> org.xml.sax.SAXParseException: Premature end of file.]
> [JmsConsumer[TRACK_PLAYING_HUB]] 04 Sep. 2013 - 12:46:25,916 WARN
> org.apache.camel.component.jms.EndpointMessageListener [Execution of JMS
> message listener failed. Caused by: [org.apache.camel.RuntimeCamelException
> - org.xml.sax.SAXParseException: Premature end of file.]]
> org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException:
> Premature end of file.
>         at
>
> org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1280)
>         at
> org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:936)
>         at
>
> org.apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceMethodTypeConverter.java:66)
>         at
>
> org.apache.camel.component.cxf.converter.CxfConverter.convertTo(CxfConverter.java:169)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:932)
>         at
>
> org.apache.camel.impl.converter.StaticMethodFallbackTypeConverter.convertTo(StaticMethodFallbackTypeConverter.java:50)
>         at
>
> org.apache.camel.impl.converter.BaseTypeConverterRegistry.doConvertTo(BaseTypeConverterRegistry.java:289)
>         at
>
> org.apache.camel.impl.converter.BaseTypeConverterRegistry.convertTo(BaseTypeConverterRegistry.java:111)
>         at
>
> org.apache.camel.builder.xml.XPathBuilder.doGetDocument(XPathBuilder.java:967)
>         at
>
> org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:946)
>         at
>
> org.apache.camel.builder.xml.XPathBuilder.doInEvaluateAs(XPathBuilder.java:790)
>         at
> org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:697)
>         at
> org.apache.camel.builder.xml.XPathBuilder.evaluate(XPathBuilder.java:667)
>         at
> org.apache.camel.builder.xml.XPathBuilder.evaluate(XPathBuilder.java:147)
>         at
>
> org.apache.camel.processor.Splitter.createProcessorExchangePairs(Splitter.java:101)
>         at
>
> org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:209)
>         at org.apache.camel.processor.Splitter.process(Splitter.java:96)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:163)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
>         at
>
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
>         at
>
> org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:117)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
>         at
>
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:98)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:111)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:163)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:56)
>         at
>
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
>         at
>
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:180)
>         at
>
> org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
>         at
>
> org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:173)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:133)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:102)
>         at
>
> org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:111)
>         at
>
> org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
>         at
>
> org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.processor.UnitOfWorkProcessor.processAsync(UnitOfWorkProcessor.java:150)
>         at
>
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:117)
>         at
>
> org.apache.camel.processor.RouteInflightRepositoryProcessor.processNext(RouteInflightRepositoryProcessor.java:48)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>         at
>
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>         at
>
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:86)
>         at
>
> org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:104)
>         at
>
> org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:560)
>         at
>
> org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)
>         at
>
> org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)
>         at
>
> org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
>         at
>
> org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:243)
>         at
>
> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)
>         at
>
> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)
>         at
>
> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
>         at
>
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
>         at
>
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
>         at
>
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
>         at
>
> com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
>         at
>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1059)
>         at
>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
>         at
>
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
>         at
>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
>         at
>
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
>         at
>
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
>         at
>
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
>         at
>
> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:235)
>         at
>
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
>         at
>
> weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.java:163)
>         at
> javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
>         at
>
> org.apache.camel.converter.jaxp.XmlConverter.toDOMDocument(XmlConverter.java:755)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:932)
>         ... 100 more
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/org-xml-sax-SAXParseException-Premature-end-of-file-in-split-tp5738675.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>