[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: > > 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 > > 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)
[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=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: > > 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 > > 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)
[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=13852679#comment-13852679 ] antonio castellón commented on FELIX-4359: -- Myabe I´m not explained very well... forget about to install other bundles (originals from the subprojects referenced in the Felix website), if I take a clean installation and run it with the proxy parameters, when I try to execute some OBR commands like obr:list then the result is that it has not internet access, see the follow exception: - C:\JAVA\Servers\felix-framework-4.2.1>java -jar bin/felix.jar Welcome to Apache Felix Gogo g! lb START LEVEL 1 ID|State |Level|Name 0|Active |0|System Bundle (4.2.1) 1|Active |1|Apache Felix Bundle Repository (1.6.6) 2|Active |1|Apache Felix Gogo Command (0.12.0) 3|Active |1|Apache Felix Gogo Runtime (0.10.0) 4|Active |1|Apache Felix Gogo Shell (0.10.0) g! obr:list 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) at org.apache.felix.bundlerepository.impl.DataModelHelperImpl.repository(DataModelHelperImpl.java:113) at org.apache.felix.bundlerepository.impl.RepositoryAdminImpl$1.run(RepositoryAdminImpl.java:115) at java.security.AccessController.doPrivileged(Native Method) at org.apache.felix.bundlerepository.impl.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:111) at org.apache.felix.bundlerepository.impl.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:99) at org.apache.felix.bundlerepository.impl.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:94) at org.apache.felix.bundlerepository.impl.RepositoryAdminImpl.initialize(RepositoryAdminImpl.java:280) at org.apache.felix.bundlerepository.impl.RepositoryAdminImpl.discoverResources(RepositoryAdminImpl.java:190) at org.apache.felix.gogo.command.OBR.list(OBR.java:173) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137) at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82) at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477) at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403) at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120) at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89) at org.apache.felix.gogo.shell.Console.run(Console.java:62) at org.apache.felix.gogo.shell.Shell.console(Shell.java:203) at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137) at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82) at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477) at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403) at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120) at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89) at org.apache.felix.gogo.shell.Activator.run(Activator.java:75) at java.lang.Thread.run(Thread.java:722) Caused by: java.net.UnknownHostException: felix.apache.org at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391) at java.net.Socket.connect(Socket
[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=13852684#comment-13852684 ] antonio castellón commented on FELIX-4359: -- About the bundle dependencies is clear for me, my mistake was that I suppossed that all bundles, as a subprojects, contains the information (or the libraries) required to be executed into the felix framework using only the installation command. Threfore, to install any bundle from there, I need to open the jar file and first install by hand all the dependencies declared into the manifest, or download the sourcode and package each bundle with all dependencies inside. Not? > 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: > > 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 > > 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)
[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=13852897#comment-13852897 ] Richard S. Hall commented on FELIX-4359: Did you try the different parameters as mentioned in the documentation? > 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: > > 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 > > 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)
[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=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:// http.proxyPort=8000 http.proxyUser= http.proxyPassword= 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: > > 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 > > 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)
[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=13852930#comment-13852930 ] Richard S. Hall commented on FELIX-4359: You are saying you tried the different parameters, but you are showing me the same ones from your original comment above. Look at my first comment above, the OBR documentation lists a different set of parameters than the ones you are showing (i.e., there is no proxyUser and proxyPassword, just a combined proxyAuth). Not sure if that's the issue, but you should at least try what the docs say. > 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: > > 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 > > 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)
[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=13852942#comment-13852942 ] antonio castellón commented on FELIX-4359: -- Yes, you are true, maybe I was desesperated and try another combination after to try that the guide say ... but, I changed the last of them and results are the same ( I tested all options, file and argument to the jvm with the same results). :( > 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: > > 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 > > 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)
[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=13852949#comment-13852949 ] Richard S. Hall commented on FELIX-4359: Sorry, then I'm out of ideas. :-) > 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: > > 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 > > 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)