One Star

Sub Job Timeout org.apache.axis2.AxisFault

Hope someone can help.
I have a really frustrating issue with a Talend process which transfers data between Opera and Salesforce. There is a Master Job which executes a number of SubJobs.
Within these SubJobs are various Salesforce Components which read data from Salesforce and write data to Salesforce.
If I open the errant Job (TransactionLines) individually and manually execute this, there are no errors. The connection settings in the Salesforce Component are valid and are the same as the connection settings within other components in the same SubJob.
Version is
Version: 4.2.2
Build id: r63143-20110622-0628
Server: Windows 7 Professional SP1 32bit
The error below is generated within one of these SubJobs (TransactionLines)

Starting job MasterRun4 at 14:01 07/09/2011.
connecting to socket on port 3405
Exception in component tRunJob_11
java.lang.RuntimeException: Child job return 1. It doesn't terminate normally.
Exception in component tSalesforceInput_1
org.apache.axis2.AxisFault: Read timed out
at org.apache.axis2.AxisFault.makeFault(
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(
at org.apache.axis2.transport.http.HTTPSender.send(
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(
at org.apache.axis2.engine.AxisEngine.send(
at org.apache.axis2.description.OutInAxisOperationClient.send(
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
at org.apache.axis2.client.OperationClient.execute(
at com.salesforce.soap.partner.SforceServiceStub.query(
at org.talend.salesforce.SforceManagementImpl.query(
at salesforceoperasync.transactionlines_0_4.TransactionLines.tSalesforceInput_1Process(
at salesforceoperasync.transactionlines_0_4.TransactionLines.tJDBCInput_1Process(
at salesforceoperasync.transactionlines_0_4.TransactionLines.runJobInTOS(
at salesforceoperasync.transactionlines_0_4.TransactionLines.main(
Caused by: Read timed out
at Method)
at Source)
at Source)
at Source)
at Source)
at Source)
at Source)
at Source)
at Source)
at org.apache.commons.httpclient.HttpParser.readRawLine(
at org.apache.commons.httpclient.HttpParser.readLine(
at org.apache.commons.httpclient.HttpConnection.readLine(
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(
at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(
at org.apache.commons.httpclient.HttpMethodBase.readResponse(
at org.apache.commons.httpclient.HttpMethodBase.execute(
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(
at org.apache.commons.httpclient.HttpClient.executeMethod(
at org.apache.commons.httpclient.HttpClient.executeMethod(
at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(
... 13 more
at salesforceoperasync.masterrun4_0_2.MasterRun4.tRunJob_11Process(
at salesforceoperasync.masterrun4_0_2.MasterRun4.tPrejob_8Process(
at salesforceoperasync.masterrun4_0_2.MasterRun4.runJobInTOS(
at salesforceoperasync.masterrun4_0_2.MasterRun4.main(
Job MasterRun4 ended at 14:14 07/09/2011.
Six Stars

Re: Sub Job Timeout org.apache.axis2.AxisFault

This indicates the HTTP response is timing out. Are you using any proxies? You may wan to try something like Fiddler2 to capture your traffic and make sure you actually getting a response. It looks like a communication error.
One Star

Re: Sub Job Timeout org.apache.axis2.AxisFault

Hi, thanks for the reply.
There are no proxies being used and there are no timeouts when I execute the errant SubJob by itself. It only fails if it runs as a SubJob as part of the Master Job.
Four Stars

Re: Sub Job Timeout org.apache.axis2.AxisFault

Hello All / Sabrina,
I'm facing the same issue while running a Talend job connecting with Sales Force.
Kindly request you to help me out of this!!