antonio castellón created FELIX-4359:
----------------------------------------

             Summary: 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