Re: proxy

Alexis Agahi <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.user
Message-ID <[email protected]>
Vitaly Berdinskikh wrote:

> Hi!
> 
> I am write in kernel.xml:
> ...
>      <proxy>
>         <host>10.???.???.???</host>
>         <port>3128</port>
>      </proxy>
> ...
> 
> Don't work.


I might be wrong but this does not seems to be implemented anymore...

Configuration repositoryConfig =
config.getChild( "repository" );
File root = criteria.getRepositoryDirectory();
File cache = getCacheDirectory( root, 
        repositoryConfig.getChild( "cache" ) );
Repository repository =
createApplicationRepository( context, cache, hosts );
getLogger().debug(
        "repository established: " + repository );
        factory.setRepository( repository );


merlin/impl/src/java/org/apache/avalon/merlin/impl/DefaultFactory.java
line 427


Despite
http://avalon.apache.org/products/runtime/reference/kernel/repository/

Guys, FYI, http://avalon.apache.org/products/runtime/reference/kernel/ 
has broken link on kernel stuff.



> I am write in command-line startup merlin:
> ... -Dhttp.proxy=true -Dhttp.proxyHost=10.???.???.???
> -Dhttp.proxyPort=3128 ...
> 
> Work!

--
Al
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.