[
https://issues.apache.org/jira/browse/TOMEE-4560?focusedWorklogId=998626&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-998626
]
ASF GitHub Bot logged work on TOMEE-4560:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 05/Jan/26 04:47
Start Date: 05/Jan/26 04:47
Worklog Time Spent: 10m
Work Description: kartiksirigeri commented on PR #2408:
URL: https://github.com/apache/tomee/pull/2408#issuecomment-3708929350
the build for the pull request failed with, 'Error: This request has been
automatically failed because it uses a deprecated version of `actions/cache:
v2`. Please update your workflow to use v3/v4 of actions/cache to avoid
interruptions. Learn more:
https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down'...
I do not understand this error.
Issue Time Tracking
-------------------
Worklog Id: (was: 998626)
Time Spent: 20m (was: 10m)
> Memory leak for EJB3 stateful bean
> ----------------------------------
>
> Key: TOMEE-4560
> URL: https://issues.apache.org/jira/browse/TOMEE-4560
> Project: TomEE
> Issue Type: Bug
> Components: TomEE Core Server
> Affects Versions: 8.0.16
> Reporter: Kartik Sirigeri
> Priority: Major
> Attachments: EjbProxyHandler_EJB2.png, EjbProxyHandler_EJB3.png,
> test_project.zip
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The bean references are not getting removed from
> ProxyRegistry.liveHandleRegistry map when the the method annotated wtih
> '@Remove' annotation for EJB3 stateful bean is invoked. While the call for
> remove method on EJB2 stateful beans removes the entry from
> ProxyRegistry.liveHandleRegistry map immmediately. It seems the
> EjbObjectProxyHandler._invoke method checks for EJB_OBJECT, EJB_LOCAL type
> along with the operation type, this check fails for EJB3 beans and the beans
> are not removed from the ProxyRegistry.liveHandleRegistry map unless any
> business methods are invoked which would invaldiate the map due to
> InvalidateReferenceException. This causes a memory leak unless any business
> method is called after the invocation of @Remove method in EJB3.
>
> Snapshot of the debug flow attached along with the test code
--
This message was sent by Atlassian Jira
(v8.20.10#820010)