One Star

tSalesforceInput_1 error : org.apache.axis2.AxisFault:Read timed out

There is a master job executing multiple sub jobs , with in these sub jobs one job using tSalesforceInput_1 to reads data from Salesforce server and pass it to other component. Mostly it works fine but sometime it fails and give error :
Exception in component tSalesforceInput_1
org.apache.axis2.AxisFault: Read timed out
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)

Note : This sub job always works fine when i run itself manually. I am not using any proxy.

Appreciates any help in advance

Regards
Sumit Bumb
2 REPLIES
Community Manager

Re: tSalesforceInput_1 error : org.apache.axis2.AxisFault:Read timed out

Hi
Do you have several tSalesforceInput components using the same account to connect to the server at the same time when you execute the master job?
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: tSalesforceInput_1 error : org.apache.axis2.AxisFault:Read timed out

Hi there. I have a similar issue and it maybe because the job runs with several components logging into Saleforce. However the errors change. These were from a test phase and I eventually left it running from my Windos 2008 server but ideally it needs to be on the clients Linux server as a Cron job. It runs fine from Windows just not from Linux.
There are 4 errors below in order I received them. I ran once a week.
I'd be grateful for any thoughts.
Subject: Cron <root@server> sh /var/tmp/ETL/RWHACRONFILE_0.1/RWHACRONFILE/RWHACRONFILE_run.sh

Exception in component tSalesforceInput_5
org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxParsingException: Non-default namespace can not map to empty URI (as per Namespace 1.0 # 2) in XML 1.0 documents
at :
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:123)
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at com.salesforce.soap.partner.SforceServiceStub.queryMore(SforceServiceStub.java:10193)
at org.talend.salesforce.SforceManagementImpl.queryMore(SforceManagementImpl.java:758)
at rwha.rwhacronfile_0_1.RWHACRONFILE.tSalesforceInput_5Process(RWHACRONFILE.java:14292)
at rwha.rwhacronfile_0_1.RWHACRONFILE.runJobInTOS(RWHACRONFILE.java:17629)
at rwha.rwhacronfile_0_1.RWHACRONFILE.main(RWHACRONFILE.java:17495)
Caused by: org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxParsingException: Non-default namespace can not map to empty URI (as per Namespace 1.0 # 2) in XML 1.0 documents
at :
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:293)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:204)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:154)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:140)
at org.apache.axis2.builder.SOAPBuilder.processDocument(SOAPBuilder.java:67)
at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:197)
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:145)
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:108)
... 10 more
Caused by: com.ctc.wstx.exc.WstxParsingException: Non-default namespace can not map to empty URI (as per Namespace 1.0 # 2) in XML 1.0 documents
at :
at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:630)
at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:461)
at com.ctc.wstx.sr.BasicStreamReader.handleNsAttrs(BasicStreamReader.java:3054)
at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2936)
at com.ctc.wstx.sr.BasicStreamReader.handleRootElem(BasicStreamReader.java:2093)
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2073)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
at org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225)
at org.apache.axiom.util.stax.dialect.DisallowDoctypeDeclStreamReaderWrapper.next(DisallowDoctypeDeclStreamReaderWrapper.java:34)
at org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:672)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)
... 17 more


Subject: Cron <root@server> sh /var/tmp/ETL/RWHACRONFILE_0.1/RWHACRONFILE/RWHACRONFILE_run.sh

Exception in component tSalesforceInput_1
com.salesforce.soap.partner.UnexpectedErrorFault: UnexpectedErrorFault
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:374)
at java.lang.Class.newInstance(Class.java:327)
at com.salesforce.soap.partner.SforceServiceStub.login(SforceServiceStub.java:9889)
at org.talend.salesforce.SforceManagementImpl.login(SforceManagementImpl.java:133)
at rwha.rwhacronfile_0_1.RWHACRONFILE.tSalesforceInput_1Process(RWHACRONFILE.java:2594)
at rwha.rwhacronfile_0_1.RWHACRONFILE.runJobInTOS(RWHACRONFILE.java:17603)
at rwha.rwhacronfile_0_1.RWHACRONFILE.main(RWHACRONFILE.java:17495)
Exception in component tSalesforceInput_2
com.salesforce.soap.partner.UnexpectedErrorFault: UnexpectedErrorFault
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:374)
at java.lang.Class.newInstance(Class.java:327)
at com.salesforce.soap.partner.SforceServiceStub.login(SforceServiceStub.java:9889)
at org.talend.salesforce.SforceManagementImpl.login(SforceManagementImpl.java:133)
at rwha.rwhacronfile_0_1.RWHACRONFILE.tSalesforceInput_2Process(RWHACRONFILE.java:6092)
at rwha.rwhacronfile_0_1.RWHACRONFILE.runJobInTOS(RWHACRONFILE.java:17616)
at rwha.rwhacronfile_0_1.RWHACRONFILE.main(RWHACRONFILE.java:17495)
Exception in component tSalesforceInput_4
com.salesforce.soap.partner.UnexpectedErrorFault: UnexpectedErrorFault
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:374)
at java.lang.Class.newInstance(Class.java:327)
at com.salesforce.soap.partner.SforceServiceStub.login(SforceServiceStub.java:9889)
at org.talend.salesforce.SforceManagementImpl.login(SforceManagementImpl.java:133)
at rwha.rwhacronfile_0_1.RWHACRONFILE.tSalesforceInput_4Process(RWHACRONFILE.java:16133)
at rwha.rwhacronfile_0_1.RWHACRONFILE.tSalesforceInput_5Process(RWHACRONFILE.java:12441)
at rwha.rwhacronfile_0_1.RWHACRONFILE.runJobInTOS(RWHACRONFILE.java:17629)
at rwha.rwhacronfile_0_1.RWHACRONFILE.main(RWHACRONFILE.java:17495)

Subject: Cron <root@server> sh /var/tmp/ETL/RWHACRONFILE_0.1/RWHACRONFILE/RWHACRONFILE_run.sh

Exception in component tSalesforceInput_1
com.salesforce.soap.partner.UnexpectedErrorFault: UnexpectedErrorFault
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:374)
at java.lang.Class.newInstance(Class.java:327)
at com.salesforce.soap.partner.SforceServiceStub.login(SforceServiceStub.java:9889)
at org.talend.salesforce.SforceManagementImpl.login(SforceManagementImpl.java:133)
at rwha.rwhacronfile_0_1.RWHACRONFILE.tSalesforceInput_1Process(RWHACRONFILE.java:2594)
at rwha.rwhacronfile_0_1.RWHACRONFILE.runJobInTOS(RWHACRONFILE.java:17603)
at rwha.rwhacronfile_0_1.RWHACRONFILE.main(RWHACRONFILE.java:17495)
Exception in component tSalesforceInput_2
com.salesforce.soap.partner.UnexpectedErrorFault: UnexpectedErrorFault
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:374)
at java.lang.Class.newInstance(Class.java:327)
at com.salesforce.soap.partner.SforceServiceStub.login(SforceServiceStub.java:9889)
at org.talend.salesforce.SforceManagementImpl.login(SforceManagementImpl.java:133)
at rwha.rwhacronfile_0_1.RWHACRONFILE.tSalesforceInput_2Process(RWHACRONFILE.java:6092)
at rwha.rwhacronfile_0_1.RWHACRONFILE.runJobInTOS(RWHACRONFILE.java:17616)
at rwha.rwhacronfile_0_1.RWHACRONFILE.main(RWHACRONFILE.java:17495)
Exception in component tSalesforceInput_4
com.salesforce.soap.partner.UnexpectedErrorFault: UnexpectedErrorFault
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:374)
at java.lang.Class.newInstance(Class.java:327)
at com.salesforce.soap.partner.SforceServiceStub.query(SforceServiceStub.java:5903)
at org.talend.salesforce.SforceManagementImpl.query(SforceManagementImpl.java:767)
at rwha.rwhacronfile_0_1.RWHACRONFILE.tSalesforceInput_4Process(RWHACRONFILE.java:16152)
at rwha.rwhacronfile_0_1.RWHACRONFILE.tSalesforceInput_5Process(RWHACRONFILE.java:12441)
at rwha.rwhacronfile_0_1.RWHACRONFILE.runJobInTOS(RWHACRONFILE.java:17629)
at rwha.rwhacronfile_0_1.RWHACRONFILE.main(RWHACRONFILE.java:17495)

Subject: Cron <root@server> sh /var/tmp/ETL/RWHACRONFILE_0.1/RWHACRONFILE/RWHACRONFILE_run.sh
Exception in component tSalesforceInput_1
com.salesforce.soap.partner.UnexpectedErrorFault: UnexpectedErrorFault
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:374)
at java.lang.Class.newInstance(Class.java:327)
at com.salesforce.soap.partner.SforceServiceStub.login(SforceServiceStub.java:9889)
at org.talend.salesforce.SforceManagementImpl.login(SforceManagementImpl.java:133)
at rwha.rwhacronfile_0_1.RWHACRONFILE.tSalesforceInput_1Process(RWHACRONFILE.java:2594)
at rwha.rwhacronfile_0_1.RWHACRONFILE.runJobInTOS(RWHACRONFILE.java:17603)
at rwha.rwhacronfile_0_1.RWHACRONFILE.main(RWHACRONFILE.java:17495)
Exception in component tSalesforceInput_2
com.salesforce.soap.partner.UnexpectedErrorFault: UnexpectedErrorFault
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:374)
at java.lang.Class.newInstance(Class.java:327)
at com.salesforce.soap.partner.SforceServiceStub.login(SforceServiceStub.java:9889)
at org.talend.salesforce.SforceManagementImpl.login(SforceManagementImpl.java:133)
at rwha.rwhacronfile_0_1.RWHACRONFILE.tSalesforceInput_2Process(RWHACRONFILE.java:6092)
at rwha.rwhacronfile_0_1.RWHACRONFILE.runJobInTOS(RWHACRONFILE.java:17616)
at rwha.rwhacronfile_0_1.RWHACRONFILE.main(RWHACRONFILE.java:17495)
Exception in component tSalesforceInput_4
com.salesforce.soap.partner.UnexpectedErrorFault: UnexpectedErrorFault
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:374)
at java.lang.Class.newInstance(Class.java:327)
at com.salesforce.soap.partner.SforceServiceStub.query(SforceServiceStub.java:5903)
at org.talend.salesforce.SforceManagementImpl.query(SforceManagementImpl.java:767)
at rwha.rwhacronfile_0_1.RWHACRONFILE.tSalesforceInput_4Process(RWHACRONFILE.java:16152)
at rwha.rwhacronfile_0_1.RWHACRONFILE.tSalesforceInput_5Process(RWHACRONFILE.java:12441)
at rwha.rwhacronfile_0_1.RWHACRONFILE.runJobInTOS(RWHACRONFILE.java:17629)
at rwha.rwhacronfile_0_1.RWHACRONFILE.main(RWHACRONFILE.java:17495)


Subject: Cron <root@server> sh /var/tmp/ETL/RWHACRONFILE_0.1/RWHACRONFILE/RWHACRONFILE_run.sh

org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)