Hi Rod,
I tested your example code
examples/Chapter3/03-slsbLifecycleExample/servlet/, and it's working now
with latest TomEE 9.0.0-M8:)!.
I see Richard already replied and patched the shutdown exception via
TOMEE-4032 [1], thank you for filling the JIRA and Richard for the patch
and overall
Thanks, that was the key to fixing the application which now works!
However: I am still seeing the same exception when stopping tomcat:
java.lang.ClassCastException: class java.io.ObjectStreamClass$Caches$1
cannot be cast to class java.util.Map (java.io.ObjectStreamClass$Caches$1
and
Hi Rod,
I would assume you are using TomEE 9. x milestone release because you are
using the Jakarta namespace. If this is not the case, you can find the
latest TomEE 9.x.x-M release here https://tomee.apache.org/download.html
Indeed your app packaging seems to be missing the actual servlet
Summary:
I am seeing the Class cast Exception shown at the bottom when stopping the
container.
The tomee profile I downloaded seems to have the required EE jars under
tomee/lib.
I tried the code on GlassFish 6.2.5 and did not see this error.
Note:
The code I am working with is 2 classes,