I am not familiar with proxies too but I have taken a quick look at the source of PluginUtil.java and it seems that there should be a parameters that is used to pass proxy info to DefaultHttpClient<div><br><div><a href="http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/conn/params/ConnRoutePNames.html#DEFAULT_PROXY">http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/conn/params/ConnRoutePNames.html#DEFAULT_PROXY</a></div>

<div><a href="http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/HttpHost.html?is-external=true">http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/HttpHost.html?is-external=true</a></div>

<div><br></div><div>There are any other place in the source where DefaultHttpClient is used?</div><div><br></div><div>Bye.</div><div><br></div><div>Giancarlo Pioli<br><br><div class="gmail_quote">On Thu, Sep 29, 2011 at 6:53 AM, Lincoln Baxter, III <span dir="ltr">&lt;<a href="mailto:lincolnbaxter@gmail.com" target="_blank">lincolnbaxter@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sorry for the late reply. This is a tough question, copying Forge-dev.<br><br>I&#39;m not too familiar with using proxies, but I assume we&#39;d need to make some changes to support that. Not exactly sure what would need to happen.<br>



<br>Do you have ideas for this?<br><br>~Lincoln<br><br><div class="gmail_quote"><div><div></div><div>On Tue, Sep 20, 2011 at 4:27 AM, Giancarlo Pioli <span dir="ltr">&lt;<a href="mailto:gcpioli@gmail.com" target="_blank">gcpioli@gmail.com</a>&gt;</span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div><span style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">Hi everybody,<div>



<br></div><div>I am using <span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">forge</span> 1.0.0 SNAPSHOT on Ubuntu 10.04 with java build 1.6.0_26-b03.</div>

<div>I am behind a proxy so I have tried to configure <span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">forge</span> to use them. I have tried setting FORGE_OPTS to &quot;-Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128&quot; but I have got this error:</div>





<div><br></div><div><div><font face="&#39;courier new&#39;, monospace">[no project] giancarlo $ <span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">forge</span> find-plugin jsf</font></div>





<div><font face="&#39;courier new&#39;, monospace">Connecting to remote repository [<a href="http://seamframework.org/service/File/148617%5D." style="color:rgb(17, 85, 204)" target="_blank">http://seamframework.org/service/File/148617].</a>.. ***ERROR*** [<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">forge</span> find-plugin] No route to host</font></div>





</div><div><br></div><div>So I have tried to configure the jvm to use the system proxies (java.net.useSystemProxies=true on config file /etc/java-6-sun/net.properties) but if I try to find the plugins the console seems to hang and even using ctrl+c doesn&#39;t quit <span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">forge</span>. The only thing I can do is close the terminal window:</div>





<div><br></div><font face="&#39;courier new&#39;, monospace">giancarlo@gp-fs:~$ <span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">forge</span><br>

   ____                          _____                    <br>  / ___|  ___  __ _ _ __ ___    |  ___|__  _ __ __ _  ___ <br>  \___ \ / _ \/ _` | &#39;_ ` _ \   | |_ / _ \| &#39;__/ _` |/ _ \  \\<br>   ___) |  __/ (_| | | | | | |  |  _| (_) | | | (_| |  __/  //<br>





  |____/ \___|\__,_|_| |_| |_|  |_|  \___/|_|  \__, |\___| <br>                                                |___/      <br>[no project] giancarlo $ <span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">forge</span> find-plugin jsf<br>





Connecting to remote repository [<a href="http://seamframework.org/service/File/148617%5D." style="color:rgb(17, 85, 204)" target="_blank">http://seamframework.org/service/File/148617].</a>.. ^C<br>[no project] giancarlo $ ^C<br>





[no project] giancarlo $ ^C<br>[no project] giancarlo $ </font><div><br></div><div><br></div><div>The same thing happens if I set explicitly the http/https proxy server and proxy port properties.</div><div><br></div><div>





Is </div><div>Thank you.</div><div><br></div><font color="#888888"><font color="#888888"><div>Giancarlo Pioli</div></font></font></span>
<br></div></div>_______________________________________________<br>
forge-users mailing list<br>
<a href="mailto:forge-users@lists.jboss.org" target="_blank">forge-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-users" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-users</a><br>
<br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com" target="_blank">http://ocpsoft.com</a><br><a href="http://scrumshark.com" target="_blank">http://scrumshark.com</a><br>


&quot;Keep it Simple&quot;<br>

</font></blockquote></div><br>
</div></div>