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

antonio castellón commented on FELIX-4359:
------------------------------------------

Yes, of course... as I said, I used the follow configuration into the 
conf.properties, and also into the system.properties (both into the conf folder)

http.proxyHost=http://<my-proxy>
http.proxyPort=8000 
http.proxyUser=<my-user>
http.proxyPassword=<my-password>

Also, I try to execute the jar using the follow parameters:

java -Dhttp.proxyHost=http://******* -Dhttp.proxyPort=8000 
-Dhttp.proxyUser=******* -Dhttp.proxyPassword=****** -jar bin/felix.jar

And also, when I execute: obr:list it launch another exception that is more 
clear that my felix installation haven't access.

WARNING: Repository url http://felix.apache.org/obr/releases.xml cannot be 
used. Skipped.
java.io.IOException: Error accessing http://felix.apache.org/obr/releases.xml
        at 
org.apache.felix.bundlerepository.impl.FileUtil.openURL(FileUtil.java:217)
        at 
org.apache.felix.bundlerepository.impl.FileUtil.openURL(FileUtil.java:199)


I'm playing at the same time with Equinox and Karaf, and I see others places 
where is configurated the access to the repositories...of course, they are 
using others like Maven. But they are working with the same parameters that I 
wrote into the files according with the Felix Guide Documentation.

Any idea or test that I can do? 
Thnaks for all





> Proxy settings dosen't work
> ---------------------------
>
>                 Key: FELIX-4359
>                 URL: https://issues.apache.org/jira/browse/FELIX-4359
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>    Affects Versions: framework-4.2.1
>            Reporter: antonio castellón
>
> When we use the different options to execute Felix with a Proxy configuration 
> , the dependencies are not downloaded because the configuration is not 
> working: 
> According to the manual we have used:
> 1.- by command line :
> java -Dhttp.proxyHost=http://******* -Dhttp.proxyPort=8000 
> -Dhttp.proxyUser=******* -Dhttp.proxyPassword=****** -jar bin/felix.jar
> 2.- Using system.properties file into the folders: lib and conf 
> The exception generated is always: 
> <code>
> ERROR: Bundle org.apache.felix.http.api [9] Error starting 
> file:/C:/JAVA/felix-framework-4.2.1/bundle/org.apache.felix.http.api-2.2.2.jar
>  (org.osgi.framework.BundleException: Unresolved constraint in bundle 
> org.apache.felix.http.api [9]: Unable to re
> solve 9.0: missing requirement [9.0] osgi.wiring.package; 
> (osgi.wiring.package=javax.servlet))
> org.osgi.framework.BundleException: Unresolved constraint in bundle 
> org.apache.felix.http.api [9]: Unable to resolve 9.0: missing requirement 
> [9.0] osgi.wiring.package; (osgi.wiring.package=javax.servlet)
>         at 
> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
>         at 
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
>         at 
> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
>         at java.lang.Thread.run(Thread.java:722)
> ____________________________
> Welcome to Apache Felix Gogo
> </code>
> Any ideas? because I used others OSGi platforms like Knopflerfish without any 
> problem to access to the bundles repository. And also, we have other 
> applications with the same parameters like Maven or IDE Eclipse Respository 
> and I have no problem to access using this "restriction".
> Thanks in advance for your answers and Happy New Year 
> Antonio



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to