Jump to: navigation, search

Difference between revisions of "Equinox/p2/TransportDebugging"

< Equinox‎ | p2
Line 6: Line 6:
 
  -Dorg.apache.commons.logging.simplelog.log.org.apache.commons.httpclient=debug
 
  -Dorg.apache.commons.logging.simplelog.log.org.apache.commons.httpclient=debug
 
  -Dorg.apache.commons.logging.simplelog.log.httpclient.wire=debug
 
  -Dorg.apache.commons.logging.simplelog.log.httpclient.wire=debug
 +
 +
Timeout controls for ECF based transport. The ECF 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
  
 
[[Category:Equinox p2| Transport debugging / tracing]]
 
[[Category:Equinox p2| Transport debugging / tracing]]

Revision as of 20:04, 19 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 ECF based transport. The ECF 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