Hi all, In my applicaton i have many web services. >From a Web service A i call service B and is a syncronous call. my service B try to get data from DB form a response XML and then send it to the service A. Because of a very large data servcie B forms the response after 4 to 6 hours but when it tries to respond back i cant even see the exception log. from the fault statement i am not able to figure out whether it is a time out exception or it is coming because the response XML is too big to handle by HTTP. so i set max time outs as below
<parameter name="SO_TIMEOUT" locked="false">2147483600</parameter> <parameter name="CONNECTION_TIMEOUT" locked="false">2147483600</parameter> as the stack trace was not trasmitted to the client side, I put the following parameters in the axis2.xml <parameter name="sendStacktraceDetailsWithFaults">true</parameter> <parameter name="DrillDownToRootCauseForFaultReason">true</parameter> but even after adding these paramaters i could bnot see the error log and my guess is the size of the XML is so large that while sending it errors out and the eror is swalloed somewhere in between and it doenst reach the client. so the client do not get any response back from the serverside. on the console i can see the final logs as below the first line debug statement informs that the response is created and is ready to send it back to the client Any thoughts on this as how to work around this issue. 2008-02-12 18:12:02,511 [http-8090-Processor25] DEBUG ***.*****.****.*****.*****ServiceImpl - Created respone OMElement for invoices 2008-02-12 18:12:02,605 [http-8090-Processor25] DEBUG org.apache.axis2.engine.AxisEngine - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] send:null 2008-02-12 18:12:02,636 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Checking pre-condition for Phase "soapmonitorPhase" 2008-02-12 18:12:02,636 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Invoking phase "soapmonitorPhase" 2008-02-12 18:12:02,636 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Checking post-conditions for phase "soapmonitorPhase" 2008-02-12 18:12:02,636 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Checking pre-condition for Phase "OperationOutPhase" 2008-02-12 18:12:02,636 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Invoking phase "OperationOutPhase" 2008-02-12 18:12:02,636 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Checking post-conditions for phase "OperationOutPhase" 2008-02-12 18:12:02,636 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Checking pre-condition for Phase "PolicyDetermination" 2008-02-12 18:12:02,636 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Invoking phase "PolicyDetermination" 2008-02-12 18:12:02,636 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Checking post-conditions for phase "PolicyDetermination" 2008-02-12 18:12:02,636 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Checking pre-condition for Phase "MessageOut" 2008-02-12 18:12:02,636 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Invoking phase "MessageOut" 2008-02-12 18:12:02,636 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Invoking Handler 'AddressingOutHandler' in Phase 'MessageOut' 2008-02-12 18:12:02,683 [http-8090-Processor25] DEBUG org.apache.axis2.handlers.addressing.AddressingOutHandler - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Addressing is disabled. Not adding WS-Addressing headers. 2008-02-12 18:12:02,683 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Checking post-conditions for phase "MessageOut" 2008-02-12 18:12:02,683 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Checking pre-condition for Phase "Security" 2008-02-12 18:12:02,683 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Invoking phase "Security" 2008-02-12 18:12:02,683 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Checking post-conditions for phase "Security" 2008-02-12 18:12:02,792 [http-8090-Processor25] DEBUG org.apache.axis2.addressing.EndpointReference - hasAnonymousAddress: http://www.w3.org/2005/08/addressing/anonymous is Anonymous: true 2008-02-12 18:12:04,354 [http-8090-Processor25] DEBUG org.apache.axiom.om.util.StAXUtils - XMLStreamWriter is com.ctc.wstx.sw.SimpleNsStreamWriter 2008-02-12 18:56:59,475 [http-8090-Processor25] DEBUG org.apache.axis2.transport.http.CommonsHTTPTransportSender - org.apache.axis2.AxisFault 2008-02-12 18:56:59,506 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Invoking flowComplete() in Phase "Security" 2008-02-12 18:56:59,506 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Invoking flowComplete() in Phase "MessageOut" 2008-02-12 18:56:59,506 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Invoking flowComplete() for Handler 'AddressingOutHandler' in Phase 'MessageOut' 2008-02-12 18:56:59,506 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Invoking flowComplete() in Phase "PolicyDetermination" 2008-02-12 18:56:59,506 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Invoking flowComplete() in Phase "OperationOutPhase" 2008-02-12 18:56:59,506 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202861522623] Invoking flowComplete() in Phase "soapmonitorPhase" 2008-02-12 18:56:59,506 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202855401300] Invoking flowComplete() in Phase "soapmonitorPhase" 2008-02-12 18:56:59,506 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202855401300] Invoking flowComplete() in Phase "OperationInPhase" 2008-02-12 18:56:59,506 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202855401300] Invoking flowComplete() in Phase "Dispatch" 2008-02-12 18:56:59,521 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202855401300] Invoking flowComplete() for Handler 'InstanceDispatcher' in Phase 'Dispatch' 2008-02-12 18:56:59,521 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202855401300] Invoking flowComplete() for Handler 'HTTPLocationBasedDispatcher' in Phase 'Dispatch' 2008-02-12 18:56:59,521 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202855401300] Invoking flowComplete() for Handler 'SOAPMessageBodyBasedDispatcher' in Phase 'Dispatch' 2008-02-12 18:56:59,537 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202855401300] Invoking flowComplete() for Handler 'RequestURIOperationDispatcher' in Phase 'Dispatch' 2008-02-12 18:56:59,537 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202855401300] Invoking flowComplete() for Handler 'AddressingValidationHandler' in Phase 'Dispatch' 2008-02-12 18:56:59,537 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202855401300] Invoking flowComplete() for Handler 'AddressingBasedDispatcher' in Phase 'Dispatch' 2008-02-12 18:56:59,537 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202855401300] Invoking flowComplete() in Phase "PreDispatch" 2008-02-12 18:56:59,537 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202855401300] Invoking flowComplete() for Handler 'AddressingSubmissionInHandler' in Phase 'PreDispatch' 2008-02-12 18:56:59,537 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202855401300] Invoking flowComplete() for Handler 'AddressingFinalInHandler' in Phase 'PreDispatch' 2008-02-12 18:56:59,537 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202855401300] Invoking flowComplete() in Phase "Security" 2008-02-12 18:56:59,537 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202855401300] Invoking flowComplete() in Phase "Transport" 2008-02-12 18:56:59,537 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202855401300] Invoking flowComplete() for Handler 'SOAPActionBasedDispatcher' in Phase 'Transport' 2008-02-12 18:56:59,537 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202855401300] Invoking flowComplete() for Handler 'RequestURIBasedDispatcher' in Phase 'Transport' 2008-02-12 18:56:59,537 [http-8090-Processor25] DEBUG org.apache.axis2.transport.http.AxisServlet - org.apache.axis2.AxisFault 2008-02-12 18:57:00,037 [http-8090-Processor25] DEBUG org.apache.axis2.addressing.AddressingHelper - [MessageContext: logID=urn:uuid:1217458E42234155741202855401300] isReplyRedirected: FaultTo is null. Returning isReplyRedirected 2008-02-12 18:57:00,037 [http-8090-Processor25] DEBUG org.apache.axis2.addressing.AddressingHelper - [MessageContext: logID=urn:uuid:1217458E42234155741202855401300] isReplyRedirected: ReplyTo is null. Returning false 2008-02-12 18:57:00,037 [http-8090-Processor25] DEBUG org.apache.axis2.addressing.EndpointReference - hasAnonymousAddress: http://www.w3.org/2005/08/addressing/anonymous is Anonymous: true 2008-02-12 18:57:00,037 [http-8090-Processor25] DEBUG org.apache.axis2.addressing.EndpointReference - hasAnonymousAddress: http://www.w3.org/2005/08/addressing/anonymous is Anonymous: true 2008-02-12 18:57:00,584 [http-8090-Processor25] DEBUG org.apache.axis2.engine.AxisEngine - [MessageContext: logID=urn:uuid:1217458E42234155741202864220603] sendFault:null 2008-02-12 18:57:00,615 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202864220603] Checking pre-condition for Phase "soapmonitorPhase" 2008-02-12 18:57:00,615 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202864220603] Invoking phase "soapmonitorPhase" 2008-02-12 18:57:00,615 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202864220603] Checking post-conditions for phase "soapmonitorPhase" 2008-02-12 18:57:00,615 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202864220603] Checking pre-condition for Phase "OperationOutFaultPhase" 2008-02-12 18:57:00,615 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202864220603] Invoking phase "OperationOutFaultPhase" 2008-02-12 18:57:00,615 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202864220603] Checking post-conditions for phase "OperationOutFaultPhase" 2008-02-12 18:57:00,615 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202864220603] Checking pre-condition for Phase "PolicyDetermination" 2008-02-12 18:57:00,615 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202864220603] Invoking phase "PolicyDetermination" 2008-02-12 18:57:00,615 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202864220603] Checking post-conditions for phase "PolicyDetermination" 2008-02-12 18:57:00,615 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202864220603] Checking pre-condition for Phase "MessageOut" 2008-02-12 18:57:00,615 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202864220603] Invoking phase "MessageOut" 2008-02-12 18:57:00,615 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202864220603] Invoking Handler 'AddressingOutHandler' in Phase 'MessageOut' 2008-02-12 18:57:00,615 [http-8090-Processor25] DEBUG org.apache.axis2.handlers.addressing.AddressingOutHandler - [MessageContext: logID=urn:uuid:1217458E42234155741202864220603] Addressing is disabled. Not adding WS-Addressing headers. 2008-02-12 18:57:00,615 [http-8090-Processor25] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:1217458E42234155741202864220603] Checking post-conditions for phase "MessageOut" 2008-02-12 18:57:00,615 [http-8090-Processor25] DEBUG org.apache.axis2.addressing.EndpointReference - hasAnonymousAddress: http://www.w3.org/2005/08/addressing/anonymous is Anonymous: true 2008-02-12 18:57:00,615 [http-8090-Processor25] DEBUG org.apache.axiom.om.util.StAXUtils - XMLStreamWriter is com.ctc.wstx.sw.SimpleNsStreamWriter 2008-02-12 18:57:00,615 [http-8090-Processor25] DEBUG org.apache.axis2.transport.http.CommonsHTTPTransportSender - org.apache.axis2.AxisFault 2008-02-12 18:57:00,615 [http-8090-Processor25] INFO org.apache.axis2.transport.http.AxisServlet - org.apache.axis2.AxisFault regards, sushil