You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2013/12/18 14:30:11 UTC

[jira] [Commented] (FELIX-4359) Proxy settings dosen't work

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

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

The docs say:

    http.proxyHost - the name of the proxy host.
    http.proxyPort - the port of the proxy host.
    http.proxyAuth - the user name and password to use when connecting to the proxy; this string should be the user name and password separated by a colon (e.g., rickhall:mypassword).


> 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)