Ok, got it, I can remove that from the extension and use another bean to
listen to those events. I had no idea that extensions should not be used in
this way, but it makes sense.

I'll close the issue.

Best regards,
Vicente.



On Tue, Jul 21, 2020 at 6:03 PM Romain Manni-Bucau <[email protected]>
wrote:

> Hi Vincente,
>
> Session scope lifecycle is not supposed to be observed in an extension,
> did you try in a standard bean?
>
> Le mar. 21 juil. 2020 à 17:55, Vicente Rossello <[email protected]>
> a écrit :
>
>> Hi,
>>
>> I'm trying to upgrade to OWB 2.0.16 (from 2.0.15) but I get an error when
>> using custom extension. I believe the bug it's in OWB side, but I had to
>> use tomee-embedded for the test (since it's a SessionScoped).
>>
>> I opened a JIRA issue: https://issues.apache.org/jira/browse/OWB-1340
>>
>> Please let me know if I can provide something else.
>>
>> Best regards,
>> Vicente.
>>
>

Reply via email to