Hi,

Yes, it’s what I found as well.

I think we can keep the SCR release running. We would need a new Felix Log 
release including the fix.

Regards
JB

> Le 31 août 2020 à 10:00, Karl Pauls <[email protected]> a écrit :
> 
> This seems to be a problem with the log service. In 1.2.2 (IIRC,
> latest release) we have:
> 
> https://github.com/apache/felix-dev/blob/org.apache.felix.log-1.2.2/src/main/java/org/apache/felix/log/LogServiceImpl.java#L151
> 
> which is missing a case that gets triggered here - namely, Bundle.STARTING.
> 
> Looks like Ray removed that code as part of FELIX-6281 but there
> hasn't been any release. @Raymond Auge, did you remove this check
> because of this problem?
> 
> regards,
> 
> Karl
> 
> On Mon, Aug 31, 2020 at 9:54 AM Jean-Baptiste Onofre <[email protected]> 
> wrote:
>> 
>> Just tested on Karaf (with JDK 11), SCR bundle is resolved and active:
>> 
>> 47 x Active   x  30 x 2.1.21             x Apache Felix Declarative Services
>> 
>> The scr:* commands are available:
>> 
>> karaf@root()> scr:list
>> ServiceComponentRuntimeMBean in bundle 48 
>> (org.apache.karaf.scr.management:4.3.0.SNAPSHOT) enabled, 1 instance.
>>    Id: 1, State:ACTIVE
>> ServiceComponentRuntimeBundleStateService in bundle 49 
>> (org.apache.karaf.scr.state:4.3.0.SNAPSHOT) enabled, 1 instance.
>>    Id: 0, State:ACTIVE
>> 
>> I tested Decanter (which heavily use SCR), and it’s fine:
>> 
>> 52 │ Active   │  80 │ 2.5.0              │ Apache Karaf :: Decanter :: API
>> 53 │ Active   │  80 │ 2.5.0              │ Apache Karaf :: Decanter :: 
>> Appender :: Log
>> 54 │ Active   │  80 │ 2.5.0              │ Apache Karaf :: Decanter :: 
>> Marshaller :: CSV
>> 55 │ Active   │  80 │ 2.5.0              │ Apache Karaf :: Decanter :: 
>> Marshaller :: Json
>> 56 │ Active   │  80 │ 2.5.0              │ Apache Karaf :: Decanter :: 
>> Marshaller :: Raw
>> 57 │ Active   │  80 │ 2.5.0              │ Apache Karaf :: Decanter :: 
>> Parser :: Identity
>> 58 │ Active   │  80 │ 2.5.0              │ Apache Karaf :: Decanter :: 
>> Parser :: Regex
>> 59 │ Active   │  80 │ 2.5.0              │ Apache Karaf :: Decanter :: 
>> Parser :: Split
>> 60 │ Active   │  80 │ 1.1.4              │ JSR 374 (JSON Processing) Default 
>> Provider
>> 61 │ Active   │  80 │ 2.5.0              │ Apache Karaf :: Decanter :: 
>> Collector :: OSHI
>> 
>> scr:list
>> ServiceComponentRuntimeMBean in bundle 48 
>> (org.apache.karaf.scr.management:4.3.0.SNAPSHOT) enabled, 1 instance.
>>    Id: 1, State:ACTIVE
>> ServiceComponentRuntimeBundleStateService in bundle 49 
>> (org.apache.karaf.scr.state:4.3.0.SNAPSHOT) enabled, 1 instance.
>>    Id: 0, State:ACTIVE
>> org.apache.karaf.decanter.appender.log in bundle 53 
>> (org.apache.karaf.decanter.appender.log:2.5.0) enabled, 1 instance.
>>    Id: 7, State:ACTIVE, PID(s): [org.apache.karaf.decanter.appender.log]
>> org.apache.karaf.decanter.marshaller.csv in bundle 54 
>> (org.apache.karaf.decanter.marshaller.csv:2.5.0) enabled, 1 instance.
>>    Id: 6, State:ACTIVE
>> org.apache.karaf.decanter.marshaller.json in bundle 55 
>> (org.apache.karaf.decanter.marshaller.json:2.5.0) enabled, 1 instance.
>>    Id: 2, State:ACTIVE
>> org.apache.karaf.decanter.marshaller.json.JsonUnmarshaller in bundle 55 
>> (org.apache.karaf.decanter.marshaller.json:2.5.0) enabled, 1 instance.
>>    Id: 3, State:ACTIVE
>> org.apache.karaf.decanter.marshaller.raw.RawMarshaller in bundle 56 
>> (org.apache.karaf.decanter.marshaller.raw:2.5.0) enabled, 1 instance.
>>    Id: 4, State:ACTIVE
>> org.apache.karaf.decanter.marshaller.raw.RawUnmarshaller in bundle 56 
>> (org.apache.karaf.decanter.marshaller.raw:2.5.0) enabled, 1 instance.
>>    Id: 5, State:ACTIVE
>> org.apache.karaf.decanter.parser.identity in bundle 57 
>> (org.apache.karaf.decanter.parser.identity:2.5.0) enabled, 1 instance.
>>    Id: 10, State:ACTIVE
>> org.apache.karaf.decanter.parser.regex in bundle 58 
>> (org.apache.karaf.decanter.parser.regex:2.5.0) enabled, 1 instance.
>>    Id: 9, State:ACTIVE, PID(s): [org.apache.karaf.decanter.parser.regex]
>> org.apache.karaf.decanter.parser.split in bundle 59 
>> (org.apache.karaf.decanter.parser.split:2.5.0) enabled, 1 instance.
>>    Id: 8, State:ACTIVE, PID(s): [org.apache.karaf.decanter.parser.split]
>> org.apache.karaf.decanter.collector.oshi in bundle 61 
>> (org.apache.karaf.decanter.collector.oshi:2.5.0) enabled, 1 instance.
>>    Id: 11, State:ACTIVE, PID(s): [org.apache.karaf.decanter.collector.oshi]
>> 
>> I also tested with JDK8, and it’s good as well.
>> 
>> Let me take a look in the stack trace you attached in the Jira.
>> 
>> Regards
>> JB
>> 
>>> Le 31 août 2020 à 09:10, Carsten Ziegeler <[email protected]> a écrit :
>>> 
>>> Didn't investigate further, but the SCR bundle does not resolve for us:
>>> 
>>> https://issues.apache.org/jira/browse/FELIX-6323
>>> 
>>> Regards
>>> Carsten
>>> 
>>> Am 30.08.2020 um 20:45 schrieb Jean-Baptiste Onofre:
>>>> Hi guys,
>>>> As discussed on the mailing list, I submit Apache Felix SCR 2.1.21 release 
>>>> to your vote.
>>>> Release Notes:
>>>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310100&version=12348094
>>>>  
>>>> <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310100&version=12348094>
>>>> Staging Repository:
>>>> https://repository.apache.org/content/repositories/orgapachefelix-1345/ 
>>>> <https://repository.apache.org/content/repositories/orgapachefelix-1345/>
>>>> Staging Dist:
>>>> https://dist.apache.org/repos/dist/dev/felix/scr/2.1.21/ 
>>>> <https://dist.apache.org/repos/dist/dev/felix/scr/2.1.21/>
>>>> Git tag:
>>>> org.apache.felix.scr-2.1.21
>>>> Please vote to approve this release:
>>>> [ ] +1 Approve the release
>>>> [ ] -1 Don't approve the release (please provide specific comments)
>>>> This vote will be open for at least 72 hours.
>>>> Thanks,
>>>> Regards
>>>> JB
>>> 
>>> --
>>> --
>>> Carsten Ziegeler
>>> Adobe Research Switzerland
>>> [email protected]
>> 
> 
> 
> -- 
> Karl Pauls
> [email protected]

Reply via email to