Thanks for the update, JB! On Mon, Apr 8, 2019 at 1:32 PM Jean-Baptiste Onofré <[email protected]> wrote:
> Hi, > > As said last week, I have some other issues on the way. > > My plan is to submit 4.2.5 to vote by the end of this week. > > Regards > JB > > On 08/04/2019 11:36, Eric Lilja wrote: > > I saw on Jira that this issue has been fixed (yay!), how far are we now > > from a vote on Karaf 4.2.5, i.e., what other fixes need to go into the > > release? Any chance for Karaf 4.2.5 to be out before the weekend? Just > > asking, since we're starting a new project on Friday, and I intend to > > use Karaf in it. > > > > - Eric L > > > > On Thu, Apr 4, 2019 at 3:27 PM Erwin Hogeweg <[email protected] > > <mailto:[email protected]>> wrote: > > > > Thanks JB. > > > > Erwin > > > > > > > On Apr 4, 2019, at 02:27, Jean-Baptiste Onofré <[email protected] > > <mailto:[email protected]>> wrote: > > > > > > Hi, > > > > > > I found the cause of this change: Felix SCR doesn't "embed" the > > > ComponentCommandsConverter anymore, it uses a service reference. > > > The Converter is expected to be provided by gogo runtime/karaf > shell, > > > but it's not. > > > > > > I'm fixing that, PR will follow. > > > > > > I have some other fixes on the way, we can expect Karaf 4.2.5 for > > next week. > > > > > > Regards > > > JB > > > > > > On 24/03/2019 15:52, Erwin Hogeweg wrote: > > >> Hi, > > >> > > >> I upgraded a project to Karaf-4.2.4, which went very smooth. > Kudos to > > >> the Karaf team. > > >> > > >> The only issue I am struggling with is the behavior of the scr > > command. > > >> scr:list used to give a clear list with installed components, now > it > > >> returns a hard to read JSON string. Also scr:info <CID> used to > > show the > > >> details of a component, now it throws an error. See below. > > >> > > >> Am I missing something? > > >> > > >> Kind Regards, > > >> > > >> Erwin > > >> > > >> > > >> > > >> *karaf*@root()> feature:installscr > > >> *karaf*@root()> scr:list > > >> {"name":"ServiceCo...timeMBean", "bundle":{"id":46, > > >> "lastModified":1553439020606, "state":32, > > >> "symbolicName":"org.apach...anagement", "version":"4.2.4"}, > > >> "factory":null, "scope":"singleton", > > >> "implementationClass":"org.apach...MBeanImpl", > "defaultEnabled":true, > > >> "immediate":true, "serviceInterfaces":["org.apach...timeMBean"], > > >> "properties":{"hidden.component":"true"}, > > >> "references":[{"name":"ScrService", > > >> "interfaceName":"org.osgi....ntRuntime", "cardinality":"1..1", > > >> "policy":"static", "policyOption":"reluctant", "target":null, > > >> "bind":"setScrService", "unbind":"unsetScrService", > "updated":null, > > >> "field":null, "fieldOption":null, "scope":"bundle", > "parameter":null, > > >> "collectionType":null},{"name":"mBeanServer", > > >> "interfaceName":"javax.man...eanServer", "cardinality":"1..1", > > >> "policy":"static", "policyOption":"reluctant", "target":null, > > >> "bind":"setmBeanServer", "unbind":"unsetmBeanServer", > "updated":null, > > >> "field":null, "fieldOption":null, "scope":"bundle", > "parameter":null, > > >> "collectionType":null}], "activate":"activate", > > >> "deactivate":"deactivate", "modified":null, > > >> "configurationPolicy":"optional", > > >> "configurationPid":["ServiceCo...timeMBean"], > > "factoryProperties":null, > > >> "activationFields":[], "init":0} > > >> > > >> > > >> *karaf*@root()> scr:info0 > > >> 10:18:38.884 [Karaf local console user karaf] ERROR > > >> org.apache.karaf.shell.support.ShellUtil - Exception caught while > > >> executing command > > >> java.lang.IllegalArgumentException: No component description > > matching "0". > > >> > > >> *karaf*@root()> la|grep-i scr > > >> 46 │ Active │ 30 │ 4.2.4 │ Apache Karaf :: *SCR*:: > > >> Management MBeans > > >> 47 │ Active │ 30 │ 4.2.4 │ Apache Karaf :: *SCR*:: > > >> Bundle State > > >> > > > > > > -- > > > Jean-Baptiste Onofré > > > [email protected] <mailto:[email protected]> > > > http://blog.nanthrax.net > > > Talend - http://www.talend.com > > > > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com >
