As far as I can tell, this looks like a bug in OBR...it sets the
authentication for reading the repo, but not for retrieving the
artifacts. Could you open a JIRA issue for this
(https://issues.apache.org/jira/browse/FELIX)? Thanks!
-> richard
On 4/9/10 11:15, Stephan-Frank Henry wrote:
> Hello Everyone,
>
> I am getting my feet wet with Felix and have stumbled uppon a problem.
>
> Felix v 2.0.4
>
> I'd like to deploy the 'Servlet 2.1 API (1.0.0)' from the default repo configured in
Felix.
>
> Following the guide I added my proxy settings:
> http.proxyHost=proxy.home.com
> http.proxyPort=80
> http.proxyAuth=guest:guest
>
> so then I fire up felix and try to deploy with
>
> obr deploy org.apache.felix.javax.servlet
>
> and then I get this:
>
> # --- begin ---
>
> Target resource(s):
> -------------------
> Servlet 2.1 API (1.0.0)
>
> Deploying...ERROR: Resolver: Install error - org.apache.felix.javax.servlet
> java.io.IOException: Server returned HTTP response code: 407 for URL: http://repo1.maven.org/maven2/org/apache/felix/javax.servlet/1.0.0/javax.servlet-1.0.0.jar
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1313)
> at java.net.URL.openStream(URL.java:1010)
> at org.apache.felix.bundlerepository.ResolverImpl.deploy(ResolverImpl.java:550)
> at org.apache.felix.bundlerepository.ObrCommandImpl._deploy(ObrCommandImpl.java:397)
> at org.apache.felix.bundlerepository.ObrCommandImpl.deploy(ObrCommandImpl.java:335)
> at org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:114)
> at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:286)
> at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:184)
> at java.lang.Thread.run(Thread.java:619)
> done.
>
> # --- end ---
>
> The thing is I can actually reach the URL (since I can list it!!!) but I cannot download
from it.
> If I put in a faulty auth, it will print:
> WARNING: RepositoryAdminImpl: Exception creating repository http://felix.apache.org/obr/releases.xml.
Repository is skipped.
>
> but with the 'correct' values it does not print this, thus I presume it is correct.
>
> Can anyone help me out?
>
> Thanks
>
> Frank
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
|