I have set the “Removal Timeout” time to two hours in Payara for EJBs. After this time I keep getting the following error messages:
javax.ejb.NoSuchEJBException:
The EJB does not exist. session key: 1907f0100001f-4e82b9d3-a7
at com.sun.ejb.containers.BaseContainer.mapLocal3xException(BaseContainer.java:2394) ~[ejb-container.jar:?] at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2183) ~[ejb-container.jar:?] at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2104) ~[ejb-container.jar:?] at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:220) ~[ejb-container.jar:?] at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:90) ~[ejb-container.jar:?] at com.sun.proxy.$Proxy509.isParent(Unknown Source) ~[?:?] at sun.reflect.GeneratedMethodAccessor1897.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_242] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_242]
Are these EJBs no longer found in the cache, so that they and their status can no longer be loaded?
What could be the reason why Payara/Glassfish can’t retrieve these beans anymore?
Payara: 5.2022.5 #badassfish (build 492)
JDK: GraalVM-CE 20 / Java 8
Steven