Hi, Also: karaf@root()> services -p 92
Apache Felix iPOJO Gogo Command (92) provides: ---------------------------------------------- objectClass = [org.apache.felix.ipojo.extender.TypeDeclaration] service.bundleid = 92 service.id = 132 service.scope = singleton ---- ipojo.component.name = org.apache.felix.ipojo.arch.gogo.Arch ipojo.instance.name = unnamed objectClass = [org.apache.felix.ipojo.extender.InstanceDeclaration] service.bundleid = 92 service.id = 133 service.scope = singleton ---- architecture.instance = org.apache.felix.ipojo.arch.gogo.Arch-0 objectClass = [org.apache.felix.ipojo.architecture.Architecture] service.bundleid = 92 service.id = 137 service.scope = singleton ---- factory.name = org.apache.felix.ipojo.arch.gogo.Arch instance.name = org.apache.felix.ipojo.arch.gogo.Arch-0 objectClass = [org.apache.felix.ipojo.arch.gogo.Arch] osgi.command.function = [instances, instance, factory, component, factories, components, handlers, extensions] osgi.command.scope = ipojo service.bundleid = 92 service.id = 138 service.scope = bundle Anything else I can help with to debug the shell-compat feature? Best, Dan. > On 4 Sep 2015, at 16:26, Daniel McGreal <d.j.mcgr...@gmail.com> wrote: > > 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é <j...@nanthrax.net >> <mailto:j...@nanthrax.net>> 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 >>> >>> <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/users%40felix.apache.org/msg16628.html> >>> <http://www.mail-archive.com/users@felix.apache.org/msg16628.html >>> <http://www.mail-archive.com/users@felix.apache.org/msg16628.html>> >>> >>> >>> >> >> -- >> Jean-Baptiste Onofré >> jbono...@apache.org <mailto:jbono...@apache.org> >> http://blog.nanthrax.net >> Talend - http://www.talend.com >