One Star

Sub Job Timeout org.apache.axis2.AxisFault

Hi,
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
JRE6
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
connected
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(AxisFault.java:430)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:203)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
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.query(SforceServiceStub.java:5882)
at org.talend.salesforce.SforceManagementImpl.query(SforceManagementImpl.java:749)
at salesforceoperasync.transactionlines_0_4.TransactionLines.tSalesforceInput_1Process(TransactionLines.java:18506)
at salesforceoperasync.transactionlines_0_4.TransactionLines.tJDBCInput_1Process(TransactionLines.java:13399)
at salesforceoperasync.transactionlines_0_4.TransactionLines.runJobInTOS(TransactionLines.java:18849)
at salesforceoperasync.transactionlines_0_4.TransactionLines.main(TransactionLines.java:18723)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source)
at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:560)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
... 13 more
at salesforceoperasync.masterrun4_0_2.MasterRun4.tRunJob_11Process(MasterRun4.java:2020)
at salesforceoperasync.masterrun4_0_2.MasterRun4.tPrejob_8Process(MasterRun4.java:1811)
at salesforceoperasync.masterrun4_0_2.MasterRun4.runJobInTOS(MasterRun4.java:2938)
at salesforceoperasync.masterrun4_0_2.MasterRun4.main(MasterRun4.java:2748)
disconnected
Job MasterRun4 ended at 14:14 07/09/2011.
3 REPLIES
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!!