<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error Calling DI Job  from ESB Route - tRouteInput_1_In Error on line 1 of document  : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-Calling-DI-Job-from-ESB-Route-tRouteInput-1-In-Error-on/m-p/2287647#M61213</link>
    <description>&lt;P&gt;I have simple requirement&amp;nbsp;:&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;I have created route that&amp;nbsp;looks for file on&amp;nbsp;FTP,&amp;nbsp;&lt;/LI&gt; 
 &lt;LI&gt;Copy that file onto shared location&lt;/LI&gt; 
 &lt;LI&gt;Call DI job to process that file&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Route&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FTP Route.PNG" style="width: 466px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lwq6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145731i8B345614DCEFB9EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lwq6.png" alt="0683p000009Lwq6.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&lt;STRONG&gt;DI Job screenshot&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DI Job.PNG" style="width: 518px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lwsz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154317i445C8476EBC3BDA5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lwsz.png" alt="0683p000009Lwsz.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;however i&amp;nbsp;keep getting this error&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Any idea?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Exception in component tRouteInput_1_In (TestRouteDIJob)&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;org.dom4j.DocumentException: Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.dom4j.io.SAXReader.read(SAXReader.java:482)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.dom4j.io.SAXReader.read(SAXReader.java:365)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at routines.system.ParserUtils.parseTo_Document(ParserUtils.java:280)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at routines.system.ParserUtils.parseTo_Document(ParserUtils.java:259)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at routines.system.ParserUtils.parseTo_Document(ParserUtils.java:255)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at misc_projects.testroutedijob_0_1.TestRouteDIJob.tRouteInput_1_LoopProcess(TestRouteDIJob.java:1074)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at misc_projects.testroutedijob_0_1.TestRouteDIJob.runJobInTOS(TestRouteDIJob.java:1949)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at misc_projects.testroutedijob_0_1.TestRouteDIJob$1.runSingleUseJob(TestRouteDIJob.java:364)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.talend.camel.TalendProducer.invokeTalendJob(TalendProducer.java:206)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.talend.camel.TalendProducer.process(TalendProducer.java:122)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:145)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:95)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at misc_projects.ncoa_dummy_route_0_1.NCOA_Dummy_Route$1$1$1.process(NCOA_Dummy_Route.java:150)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:95)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:468)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:197)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.processor.Pipeline.process(Pipeline.java:83)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.processor.Pipeline.process(Pipeline.java:63)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:172)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:454)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.component.file.remote.RemoteFileConsumer.processExchange(RemoteFileConsumer.java:137)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:226)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:190)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:175)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:102)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at java.util.concurrent.FutureTask.runAndReset(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at java.lang.Thread.run(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Nested exception: &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.dom4j.io.SAXReader.read(SAXReader.java:465)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.dom4j.io.SAXReader.read(SAXReader.java:365)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at routines.system.ParserUtils.parseTo_Document(ParserUtils.java:280)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at routines.system.ParserUtils.parseTo_Document(ParserUtils.java:259)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at routines.system.ParserUtils.parseTo_Document(ParserUtils.java:255)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at misc_projects.testroutedijob_0_1.TestRouteDIJob.tRouteInput_1_LoopProcess(TestRouteDIJob.java:1074)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at misc_projects.testroutedijob_0_1.TestRouteDIJob.runJobInTOS(TestRouteDIJob.java:1949)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at misc_projects.testroutedijob_0_1.TestRouteDIJob$1.runSingleUseJob(TestRouteDIJob.java:364)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.talend.camel.TalendProducer.invokeTalendJob(TalendProducer.java:206)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.talend.camel.TalendProducer.process(TalendProducer.java:122)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#000000"&gt;Eventually I will update my DI job to process file something&amp;nbsp;tFilelist--&amp;gt;tFileInputDelimited--&amp;gt;tMap--&amp;gt;SQL once I figure out this error.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 08:22:45 GMT</pubDate>
    <dc:creator>nmodi</dc:creator>
    <dc:date>2024-11-16T08:22:45Z</dc:date>
    <item>
      <title>Error Calling DI Job  from ESB Route - tRouteInput_1_In Error on line 1 of document  : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-Calling-DI-Job-from-ESB-Route-tRouteInput-1-In-Error-on/m-p/2287647#M61213</link>
      <description>&lt;P&gt;I have simple requirement&amp;nbsp;:&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;I have created route that&amp;nbsp;looks for file on&amp;nbsp;FTP,&amp;nbsp;&lt;/LI&gt; 
 &lt;LI&gt;Copy that file onto shared location&lt;/LI&gt; 
 &lt;LI&gt;Call DI job to process that file&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Route&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FTP Route.PNG" style="width: 466px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lwq6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145731i8B345614DCEFB9EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lwq6.png" alt="0683p000009Lwq6.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&lt;STRONG&gt;DI Job screenshot&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DI Job.PNG" style="width: 518px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lwsz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154317i445C8476EBC3BDA5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lwsz.png" alt="0683p000009Lwsz.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;however i&amp;nbsp;keep getting this error&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Any idea?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Exception in component tRouteInput_1_In (TestRouteDIJob)&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;org.dom4j.DocumentException: Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.dom4j.io.SAXReader.read(SAXReader.java:482)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.dom4j.io.SAXReader.read(SAXReader.java:365)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at routines.system.ParserUtils.parseTo_Document(ParserUtils.java:280)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at routines.system.ParserUtils.parseTo_Document(ParserUtils.java:259)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at routines.system.ParserUtils.parseTo_Document(ParserUtils.java:255)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at misc_projects.testroutedijob_0_1.TestRouteDIJob.tRouteInput_1_LoopProcess(TestRouteDIJob.java:1074)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at misc_projects.testroutedijob_0_1.TestRouteDIJob.runJobInTOS(TestRouteDIJob.java:1949)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at misc_projects.testroutedijob_0_1.TestRouteDIJob$1.runSingleUseJob(TestRouteDIJob.java:364)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.talend.camel.TalendProducer.invokeTalendJob(TalendProducer.java:206)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.talend.camel.TalendProducer.process(TalendProducer.java:122)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:145)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:95)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at misc_projects.ncoa_dummy_route_0_1.NCOA_Dummy_Route$1$1$1.process(NCOA_Dummy_Route.java:150)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:95)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:468)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:197)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.processor.Pipeline.process(Pipeline.java:83)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.processor.Pipeline.process(Pipeline.java:63)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:172)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:454)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.component.file.remote.RemoteFileConsumer.processExchange(RemoteFileConsumer.java:137)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:226)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:190)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:175)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:102)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at java.util.concurrent.FutureTask.runAndReset(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at java.lang.Thread.run(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Nested exception: &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.dom4j.io.SAXReader.read(SAXReader.java:465)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.dom4j.io.SAXReader.read(SAXReader.java:365)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at routines.system.ParserUtils.parseTo_Document(ParserUtils.java:280)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at routines.system.ParserUtils.parseTo_Document(ParserUtils.java:259)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at routines.system.ParserUtils.parseTo_Document(ParserUtils.java:255)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at misc_projects.testroutedijob_0_1.TestRouteDIJob.tRouteInput_1_LoopProcess(TestRouteDIJob.java:1074)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at misc_projects.testroutedijob_0_1.TestRouteDIJob.runJobInTOS(TestRouteDIJob.java:1949)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at misc_projects.testroutedijob_0_1.TestRouteDIJob$1.runSingleUseJob(TestRouteDIJob.java:364)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.talend.camel.TalendProducer.invokeTalendJob(TalendProducer.java:206)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.talend.camel.TalendProducer.process(TalendProducer.java:122)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#000000"&gt;Eventually I will update my DI job to process file something&amp;nbsp;tFilelist--&amp;gt;tFileInputDelimited--&amp;gt;tMap--&amp;gt;SQL once I figure out this error.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-Calling-DI-Job-from-ESB-Route-tRouteInput-1-In-Error-on/m-p/2287647#M61213</guid>
      <dc:creator>nmodi</dc:creator>
      <dc:date>2024-11-16T08:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error Calling DI Job  from ESB Route - tRouteInput_1_In Error on line 1 of document  : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-Calling-DI-Job-from-ESB-Route-tRouteInput-1-In-Error-on/m-p/2287648#M61214</link>
      <description>&lt;P&gt;I think I solved this issue, the issue was that I had tRouteInput component&amp;nbsp;input as document type &amp;amp; incoming file was txt that I was trying to parse as xml&amp;nbsp;hence this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed that to string &amp;amp; added another component as&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;tFilelist--&amp;gt;tFileInputDelimited--&amp;gt;tMap--&amp;gt;SQL&amp;nbsp;to process my file in DI job.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-18 lia-quilt-column-left lia-quilt-column-main-left"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-left"&gt;&lt;DIV class="lia-rating-metoo lia-component-me-too"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-06 lia-quilt-column-right lia-quilt-column-main-right"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Apr 2018 22:50:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-Calling-DI-Job-from-ESB-Route-tRouteInput-1-In-Error-on/m-p/2287648#M61214</guid>
      <dc:creator>nmodi</dc:creator>
      <dc:date>2018-04-19T22:50:46Z</dc:date>
    </item>
  </channel>
</rss>

