Differences between revisions 1 and 2
Revision 1 as of 2007-04-01 23:08:48
Size: 734
Editor: VinhKhucNgoc
Comment:
Revision 2 as of 2009-09-20 23:09:55
Size: 736
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
Here is the issue: [http://issues.apache.org/jira/browse/HTTPCLIENT-334] Here is the issue: [[http://issues.apache.org/jira/browse/HTTPCLIENT-334]]

Running Nutch with SOCKS proxy

Created by Vinh Khuc Ngoc

Problem

Running Nutch with SOCKS proxy is necessary in some situations, but Apache Http Client 3.0 still doesn't support SOCKS.

Solution

Since SOCKS protocol is supported in JDK 1.4.2, there is a "quick and dirty" way to make Nutch work with SOCKS, that is adding properties socksProxyHost and socksProxyPort when we call JVM in bin/nutch script:

exec "$JAVA" -DsocksProxyHost=<host> -DsocksProxyPort=<port> $JAVA_HEAP_MAX $NUTCH_OPTS -classpath "$CLASSPATH" $CLASS "$@"

Just keep waiting for Apache Http Client 4.0 with SOCKS support.

Here is the issue: http://issues.apache.org/jira/browse/HTTPCLIENT-334

GettingNutchRunningWithSocksProxy (last edited 2009-09-20 23:09:55 by localhost)