Equinox/p2/TransportDebugging

From Eclipsepedia

Jump to: navigation, search

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
- org.eclipse.ecf.provider.filetransfer.httpclient.retrieve.readTimeout