ingo schuster escribió:
> 
> At 12:43 01/31/01, Jain, Deepak wrote:
> >Hi Ingo,
> >
> >I implemented your changes then realised that this is not going to work. The
> >URL class constructor which you have used
> >
> >           content = new URL("http", proxyName, proxyPort, url);
> >
> >will map my URL to something like
> >http://proxy.host.something:8080/http://the.external.url.com
> >
> >Please verify.
> 
> I know this look weird, but the fix works, trust me ;-)
> 

According to this reference, the way to set up a proxy is standard, and
is

http://java.sun.com/docs/books/tutorial/networking/urls/_setProxy.html

Platform-Specific Details: Setting the Proxy Host 

       You can set the proxy host through the command line. Depending on
your network configuration, you might also need to set the proxy port.
If
       necessary, ask your system administrator for the name of the
proxy host on your network. 

       UNIX 

              java -Dhttp.proxyHost=proxyhost
                  [-Dhttp.proxyPort=portNumber] URLReader

       DOS shell (Windows 95/NT) 

              java -Dhttp.proxyHost=proxyhost
                  [-Dhttp.proxyPort=portNumber] URLReader


Thus the patch would not be needed. The only problem I foresee is that
Jetspeed would go to the proxy looking for the http local uris, if any.

I think somebody that has a proxy should test if this setting works
(without the patch) and report so that we can get rid of this issue, and
put the answer in the FAQ.


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/jetspeed@list.working-dogs.com/>
List Help?:          [EMAIL PROTECTED]

Reply via email to