Difference between revisions of "Equinox/p2/TransportDebugging"

From Eclipsepedia

< Equinox‎ | p2
Jump to: navigation, search
Line 15: Line 15:
 
Timeout controls for Httpclient based transport. This is what is used in the eclipse SDK and various Eclipse packages by default.  
 
Timeout controls for Httpclient based transport. This is what is used in the eclipse SDK and various Eclipse packages by default.  
  
  - org.eclipse.ecf.provider.filetransfer.httpclient.browse.connectTimeout
+
  - org.eclipse.ecf.provider.filetransfer.httpclient.browse.connectTimeout=120000
  - org.eclipse.ecf.provider.filetransfer.httpclient.retrieve.connectTimeout
+
  - org.eclipse.ecf.provider.filetransfer.httpclient.retrieve.connectTimeout=120000
  - org.eclipse.ecf.provider.filetransfer.httpclient.retrieve.readTimeout
+
  - org.eclipse.ecf.provider.filetransfer.httpclient.retrieve.readTimeout=120000
  
 
[[Category:Equinox p2| Transport debugging / tracing]]
 
[[Category:Equinox p2| Transport debugging / tracing]]

Revision as of 09:59, 28 May 2010

The following set of system properties can be enabled to debug http / https connection when p2 is setup to use the Apache Http Client (this is the default case in the eclipse SDK)

-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
-Dorg.apache.commons.logging.simplelog.showdatetime=true 
-Dorg.apache.commons.logging.simplelog.log.httpclient.wire.header=debug
-Dorg.apache.commons.logging.simplelog.log.org.apache.commons.httpclient=debug
-Dorg.apache.commons.logging.simplelog.log.httpclient.wire=debug

Timeout controls for JRE-http based transport. The JRE-http transport is automatically used when we are connecting to an NTLM proxy.

- org.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=1000
- org.eclipse.ecf.provider.filetransfer.retrieve.retryAttempts=20
- org.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout=1000

Timeout controls for Httpclient based transport. This is what is used in the eclipse SDK and various Eclipse packages by default.

- org.eclipse.ecf.provider.filetransfer.httpclient.browse.connectTimeout=120000
- org.eclipse.ecf.provider.filetransfer.httpclient.retrieve.connectTimeout=120000
- org.eclipse.ecf.provider.filetransfer.httpclient.retrieve.readTimeout=120000