[ 
https://issues.apache.org/jira/browse/DERBY-6640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14045093#comment-14045093
 ] 

Dag H. Wanvik edited comment on DERBY-6640 at 6/26/14 8:06 PM:
---------------------------------------------------------------

Please see explanation here: 
https://issues.apache.org/jira/browse/DERBY-6552?focusedCommentId=14037533&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14037533

If you don't have cached copies of the Java SE and J2EE Javadocs' package lists 
in the right locations (first build) *and* you are on a company VPN, you need 
do: 

$ export ANT_OPTS="-Dhttp.proxyHost=<proxyserver> -Dhttp.proxyPort=<proxy port>"

where <proxyserver> is your firewall proxy server and <proxy port> is its port. 
On build 2..n you don't need this setting since the build will use the cached 
copies of the package lists.





was (Author: dagw):
Please see explanation here: 
https://issues.apache.org/jira/browse/DERBY-6552?focusedCommentId=14037533&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14037533

If you don't have cached copies of the Java SE and J2EE Javadocs (first build) 
*and* you are on a company VPN, you need do: 

$ export ANT_OPTS="-Dhttp.proxyHost=<proxyserver> -Dhttp.proxyPort=<proxy port>"

where <proxyserver> is your firewall proxy server and <proxy port> is its port. 
On build 2..n you don't need this setting since the build will use the cached 
copies of the package lists.




> Can't build javadoc when on my company vpn
> ------------------------------------------
>
>                 Key: DERBY-6640
>                 URL: https://issues.apache.org/jira/browse/DERBY-6640
>             Project: Derby
>          Issue Type: Bug
>          Components: Build tools
>    Affects Versions: 10.11.0.0
>            Reporter: Rick Hillegas
>
> I can no longer build the Derby javadoc when I am on my company vpn. The 
> following command works fine when I am not on my company vpn:
> {noformat}
> ant javadoc
> {noformat}
> However, I see the following error when I run that command while on my 
> company vpn:
> {noformat}
> /Users/rh161140/derby/mainline/trunk/build.xml:1051: The following error 
> occurred while executing this line:
> /Users/rh161140/derby/mainline/trunk/build.xml:1079: 
> java.net.ConnectException: Operation timed out
>       at java.net.PlainSocketImpl.socketConnect(Native Method)
>       at 
> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
>       at 
> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
>       at 
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
>       at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>       at java.net.Socket.connect(Socket.java:589)
>       at java.net.Socket.connect(Socket.java:538)
>       at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
>       at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
>       at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
>       at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
>       at sun.net.www.http.HttpClient.New(HttpClient.java:308)
>       at sun.net.www.http.HttpClient.New(HttpClient.java:326)
>       at 
> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1167)
>       at 
> sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1103)
>       at 
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:997)
>       at 
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:931)
>       at 
> org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:660)
>       at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:579)
>       at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:569)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to