Re: How to make karaf install features of certain versions?
Stupid question. Now I try to install to karaf weld 2.2.10.Final. By analogy I do this way: feature:repo-add mvn:org.jboss.weld/weld-features/2.2.10.Final/xml/features However it says Error executing command: Error resolving artifact org.jboss.weld:weld-features:xml:features:2.2.10.Final: Could not find artifact org.jboss.weld:weld-features:xml:features:2.2.10.Final in central (http://repo1.maven.org/maven2/) How to fix it? And how do you undestand mvn path adding repo? -- View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644p4039667.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: How to make karaf install features of certain versions?
I've changed version of javax.annotation to 1.2 in /etc/jre.properties and when I execute feature:install pax-cdi/0.8.0 I get osgi framework exception that javax.annotaion package can't be resolved. what to do? -- View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644p4039658.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: How to make karaf install features of certain versions?
I tried feature:install pax-cdi/0.8 and feature:install pax-cdi/0.8.0 - the result is the same. When I do karaf@root<>> list | grep pax-cdi I get nothing. I mean the result is karaf@root<>> -- View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644p4039656.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: How to make karaf install features of certain versions?
Hoever when I do feature:install pax-cdi/0.8 I get Error executing command - Can't install feature pax-cdi/0.8 and in log: java.lang.IllegalStateException: Can't install feature pax-cdi/0.8: null^M at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:388)^M at Proxy464edfe2_2888_4e51_96cc_e74c9c101925.installFeature(Unknown Source)^M at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:67)^M at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:38)^M at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.3]^M at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.3]^M at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.3]^M at Proxy23360963_282c_4a85_911b_a95f1c1ab5d2.execute(Unknown Source)[:]^M at Proxy23360963_282c_4a85_911b_a95f1c1ab5d2.execute(Unknown Source)[:]^M at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.3]^M at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[25:org.apache.karaf.shell.console:3.0.3]^M at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[25:org.apache.karaf.shell.console:3.0.3]^M at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.3]^M at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:3.0.3]^M at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:3.0.3]^M at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)^M at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208)^M at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:109)^M at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_40]^M at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.3]^M at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:102)[25:org.apache.karaf.shell.console:3.0.3]^M How to fix it? -- View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644p4039652.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: How to make karaf install features of certain versions?
Thank you everyone for help. Karaf has a very friendly community. Last days I tried to solve problem with weld and I wish no one to do something with weld community (all questions are simply ignored) + their site simply doesn't work. -- View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644p4039650.html Sent from the Karaf - User mailing list archive at Nabble.com.
How to make karaf install features of certain versions?
I run feature:install pax-cdi weld and karaf installs pax-cdi 0.11.0 but I need 0.8. How to do it? -- View this message in context: http://karaf.922171.n3.nabble.com/How-to-make-karaf-install-features-of-certain-versions-tp4039644.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Karaf: Could not resolve mvn:org.apache.felix/org.apache.felix.framework/4.2.1
Thanks to everybody, I solved the problem. To gunzip the arhive I used midnight commander. I don't know why bu MC cut long file names. Instead of org.apache.felix.framework-4.4.1.jar I had in folder org.apache.felix.framewo . So the problem is solved. -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-Could-not-resolve-mvn-org-apache-felix-org-apache-felix-framework-4-2-1-tp4039578p4039626.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Karaf: Could not resolve mvn:org.apache.felix/org.apache.felix.framework/4.2.1
No, I dont. And I've never had any network problems with my computer although I work with very different protocols. -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-Could-not-resolve-mvn-org-apache-felix-org-apache-felix-framework-4-2-1-tp4039578p4039601.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Karaf: Could not resolve mvn:org.apache.felix/org.apache.felix.framework/4.2.1
@jbonofre Sorry, I dont understand you. I've tried apache karaf 3.0.3 on windows xp + oracle jdk 8 - the result is the same. Coudn't resolve. -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-Could-not-resolve-mvn-org-apache-felix-org-apache-felix-framework-4-2-1-tp4039578p4039590.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Karaf: Could not resolve mvn:org.apache.felix/org.apache.felix.framework/4.2.1
I have tested with oracle jdk - result is the same. And yes, the box is connected to internet -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-Could-not-resolve-mvn-org-apache-felix-org-apache-felix-framework-4-2-1-tp4039578p4039583.html Sent from the Karaf - User mailing list archive at Nabble.com.
Karaf: Could not resolve mvn:org.apache.felix/org.apache.felix.framework/4.2.1
I have openjdk 8 and centos 6.4 64. I've downloaded karaf 3.0.3 and run /bin/karaf. And this is what I get: Could not resolve mvn:org.apache.felix/org.apache.felix.framework/4.2.1 How to fix it and run karaf? -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-Could-not-resolve-mvn-org-apache-felix-org-apache-felix-framework-4-2-1-tp4039578.html Sent from the Karaf - User mailing list archive at Nabble.com.