karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Created] (KARAF-3683) features:install name/version syntax doesn't work
Date Tue, 21 Apr 2015 20:26:59 GMT
Jean-Baptiste Onofré created KARAF-3683:
-------------------------------------------

             Summary: features:install name/version syntax doesn't work
                 Key: KARAF-3683
                 URL: https://issues.apache.org/jira/browse/KARAF-3683
             Project: Karaf
          Issue Type: Bug
          Components: karaf-feature, karaf-shell
    Affects Versions: 2.4.1
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
            Priority: Blocker
             Fix For: 2.4.2


To specify a feature with a version, we should use the name/version syntax.

Unfortunately, this syntax doesn't work anymore. For instance:

{code}
karaf@root> features:install hibernate/4.3.6.FINAL
Error executing command: Can't install feature hibernate/4.3.6.FINAL: 
null
{code}

The log shows:

{code}
2015-04-21 22:26:14,803 | ERROR | l Console Thread | Console                          | ?
                                  ? | 17 - org.apache.karaf.shell.console - 2.4.2.SNAPSHOT
| Exception caught while executing command
java.lang.IllegalStateException: Can't install feature hibernate/4.3.6.FINAL: 
null
        at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:447)
        at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:67)
        at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:41)
        at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)
        at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_67]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_67]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_67]
        at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_67]
        at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)[11:org.apache.aries.proxy.impl:1.0.4]
        at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)[11:org.apache.aries.proxy.impl:1.0.4]
        at org.apache.karaf.shell.console.commands.$BlueprintCommand271145930.execute(Unknown
Source)[17:org.apache.karaf.shell.console:2.4.2.SNAPSHOT]
        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[17:org.apache.karaf.shell.console:2.4.2.SNAPSHOT]
        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[17:org.apache.karaf.shell.console:2.4.2.SNAPSHOT]
        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[17:org.apache.karaf.shell.console:2.4.2.SNAPSHOT]
        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[17:org.apache.karaf.shell.console:2.4.2.SNAPSHOT]
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[17:org.apache.karaf.shell.console:2.4.2.SNAPSHOT]
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[17:org.apache.karaf.shell.console:2.4.2.SNAPSHOT]
        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[17:org.apache.karaf.shell.console:2.4.2.SNAPSHOT]
        at org.apache.karaf.shell.console.jline.Console.run(Console.java:195)[17:org.apache.karaf.shell.console:2.4.2.SNAPSHOT]
        at java.lang.Thread.run(Thread.java:745)[:1.7.0_67]
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message