Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4359

Proxy settings dosen't work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: framework-4.2.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              antonio.castellon antonio castellón
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: