Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 301057 - default socket timeout is set to 10 minutes when making a SOAP request
Summary: default socket timeout is set to 10 minutes when making a SOAP request
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.4   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-27 14:46 EST by Steffen Pingel CLA
Modified: 2010-04-23 21:21 EDT (History)
1 user (show)

See Also:


Attachments
proposed fix (2.41 KB, patch)
2010-02-07 23:30 EST, Steffen Pingel CLA
no flags Details | Diff
mylyn/context/zip (1.96 KB, application/octet-stream)
2010-02-07 23:30 EST, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Pingel CLA 2010-01-27 14:46:35 EST
The default message timeout as defined in org.apache.axis.Constants is set to 10 minutes and passed along through the MessageContext instance that is processed by SoapHttpSender (see stack below). CommonsHttpSender should not change the connection manager timeouts.

Thread [pool-1-thread-1] (Suspended)	
	SoapHttpSender(CommonsHttpSender).addContextInfo(HttpMethodBase, HttpClient, MessageContext, URL) line: 459	
	SoapHttpSender.addContextInfo(HttpMethodBase, HttpClient, MessageContext, URL) line: 73	
	SoapHttpSender(CommonsHttpSender).invoke(MessageContext) line: 160	
	InvocationStrategy.visit(Handler, MessageContext) line: 32	
	SimpleTargetedChain(SimpleChain).doVisiting(MessageContext, HandlerIterationStrategy) line: 118	
	SimpleTargetedChain(SimpleChain).invoke(MessageContext) line: 83	
	AxisClient.invoke(MessageContext) line: 165	
	Call.invokeEngine(MessageContext) line: 2784	
	Call.invoke() line: 2767	
	Call.invoke(RPCElement) line: 2443	
	Call.invoke(String, String, Object[]) line: 2366	
	Call.invoke(Object[]) line: 1812	
	JirasoapserviceV2SoapBindingStub.getIssueById(String, String) line: 6439	
	JiraSoapClient$6.call() line: 211	
	JiraSoapClient$6.call() line: 1	
	AbstractSoapClient$1.call() line: 107	
	FutureTask$Sync.innerRun() line: 303	
	FutureTask<V>.run() line: 138	
	ThreadPoolExecutor$Worker.runTask(Runnable) line: 886	
	ThreadPoolExecutor$Worker.run() line: 908	
	Thread.run() line: 619
Comment 1 Steffen Pingel CLA 2010-02-07 23:30:49 EST
Created attachment 158414 [details]
proposed fix
Comment 2 Steffen Pingel CLA 2010-02-07 23:30:54 EST
Created attachment 158415 [details]
mylyn/context/zip
Comment 3 Steffen Pingel CLA 2010-03-04 16:49:35 EST
Committed changes to CommonsHttpSender. I have left the version number for o.e.m.commons.soap untouched for now until bug 280826 has been addressed to avoid breaking clients redistribute the plug-in.