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

Richard S. Hall commented on FELIX-4359:
----------------------------------------

Also, I agree with Felix on the mailing list, if you expect that the framework 
will use OBR automatically to resolve dependencies, then you are in for 
disappointment. You must create code to do that yourself.

> 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