You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by sreeraaman <sr...@gmail.com> on 2014/09/29 07:06:24 UTC

Karaf 3.0.2-SNAPSHOT missing dependency on felix gogo runtime for certain command features

Dear All,

I recently noticed that when I try to uninstall a feature, karaf console
throws the following exception:

*Error when instantiating bean shell-26 of class
org.apache.karaf.features.command.Uninstall Feature Command
*

Looking at the source code, I found that the following bundles did not have
the dependency on felix gogo runtime.

1. org.apache.karaf.features.command
2. org.apache.karaf.jdbc.command
3. org.apache.karaf.jms.command
4. org.apache.karaf.jndi.command

After adding the following dependency, I was able to uninstall a feature
without any issues.

<dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.apache.felix.gogo.runtime</artifactId>
            <scope>provided</scope>
</dependency>

best regards
Sriraman.





--
View this message in context: http://karaf.922171.n3.nabble.com/Karaf-3-0-2-SNAPSHOT-missing-dependency-on-felix-gogo-runtime-for-certain-command-features-tp4035565.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Karaf 3.0.2-SNAPSHOT missing dependency on felix gogo runtime for certain command features

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Thanks for the report, let me try to reproduce it and fix that.

Regards
JB

On 09/29/2014 07:06 AM, sreeraaman wrote:
> Dear All,
>
> I recently noticed that when I try to uninstall a feature, karaf console
> throws the following exception:
>
> *Error when instantiating bean shell-26 of class
> org.apache.karaf.features.command.Uninstall Feature Command
> *
>
> Looking at the source code, I found that the following bundles did not have
> the dependency on felix gogo runtime.
>
> 1. org.apache.karaf.features.command
> 2. org.apache.karaf.jdbc.command
> 3. org.apache.karaf.jms.command
> 4. org.apache.karaf.jndi.command
>
> After adding the following dependency, I was able to uninstall a feature
> without any issues.
>
> <dependency>
>              <groupId>org.apache.felix</groupId>
>              <artifactId>org.apache.felix.gogo.runtime</artifactId>
>              <scope>provided</scope>
> </dependency>
>
> best regards
> Sriraman.
>
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Karaf-3-0-2-SNAPSHOT-missing-dependency-on-felix-gogo-runtime-for-certain-command-features-tp4035565.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Karaf 3.0.2-SNAPSHOT missing dependency on felix gogo runtime for certain command features

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Sriraman,

I'm not able to reproduce your issue.

Can you share some details (OS, OSGi framework used, etc) ?

Thanks,
Regards
JB

On 09/29/2014 07:06 AM, sreeraaman wrote:
> Dear All,
>
> I recently noticed that when I try to uninstall a feature, karaf console
> throws the following exception:
>
> *Error when instantiating bean shell-26 of class
> org.apache.karaf.features.command.Uninstall Feature Command
> *
>
> Looking at the source code, I found that the following bundles did not have
> the dependency on felix gogo runtime.
>
> 1. org.apache.karaf.features.command
> 2. org.apache.karaf.jdbc.command
> 3. org.apache.karaf.jms.command
> 4. org.apache.karaf.jndi.command
>
> After adding the following dependency, I was able to uninstall a feature
> without any issues.
>
> <dependency>
>              <groupId>org.apache.felix</groupId>
>              <artifactId>org.apache.felix.gogo.runtime</artifactId>
>              <scope>provided</scope>
> </dependency>
>
> best regards
> Sriraman.
>
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Karaf-3-0-2-SNAPSHOT-missing-dependency-on-felix-gogo-runtime-for-certain-command-features-tp4035565.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com