Thanks JB!

> a) you have to install the shell-compat feature to support "old style” 
> commands

Unfortunately this didn’t enable the commands.

karaf@root()> feature:list | grep shell
shell                         | 4.0.1            | x        | Started     | 
standard-4.0.1                  | Karaf Shell
shell-compat                  | 4.0.1            | x        | Started     | 
standard-4.0.1                  | Karaf Shell Compatibility

karaf@root()> list | grep iPOJO
 91 | Active |  80 | 1.12.1             | Apache Felix iPOJO
 92 | Active |  80 | 1.12.1             | Apache Felix iPOJO Gogo Command
154 | Active |  80 | 1.12.1             | Apache Felix iPOJO API
155 | Active |  80 | 1.12.1             | Apache Felix iPOJO Composite

karaf@root()> log:display | grep iPOJO
karaf@root()> log:display | grep ipojo
karaf@root()> log:display | grep shell-compat

What else should I provide?

> b) I have to check if all bundles are started correctly

All the bundles (iPOJO and my own) in my instance are started correctly, then 
yes they are all ‘Active’ and no issues are to be found in the log. I’m led to 
believe that for the iPOJO runtime to recognise my bundle it is sufficient to 
have an ipojo.xml file in the root of the JAR?

Best, Dan.




> On 4 Sep 2015, at 16:13, Jean-Baptiste Onofré <[email protected]> wrote:
> 
> Hi Dan,
> 
> a) you have to install the shell-compat feature to support "old style" 
> commands
> b) I have to check if all bundles are started correctly
> 
> Regards
> JB
> 
> On 09/04/2015 05:10 PM, Daniel McGreal wrote:
>> Hi Karaf users,
>> 
>> Has anyone used the iPOJO feature at
>> http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-karaf-feature.html
>>  with
>> Karaf 4(.0.1)?
>> 
>> I’m finding that a) the command bundle doesn’t register any commands [1]
>> and b) my ipojo.xml isn’t being respected (I expect that feature to act
>> as a deployer, though it doesn’t explicitly say it does).
>> 
>> Does anyone have some experience here?
>> 
>> Best, Dan.
>> 
>> [1] http://www.mail-archive.com/users%40felix.apache.org/msg16628.html
>> <http://www.mail-archive.com/[email protected]/msg16628.html>
>> 
>> 
>> 
> 
> -- 
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com

Reply via email to