-
Bug
-
Resolution: Done
-
Major
-
19.0.0.Beta1
Usage of ManagedExecutorService leading to kept references after undeploy/deploy. This can be seen in the log as below:
SEVERE [a.b.c.MemberRepository] (EE-ManagedThreadFactory-default-Thread-1) exception when loading the members: Type specified for TypedQuery [a.b.c.Member] is incompatible with query return type [class a.b.c.Member]: java.lang.IllegalArgumentException: Type specified for TypedQuery [a.b.c.Member] is incompatible with query return type [class a.b.c.Member] at org.hibernate.internal.AbstractSharedSessionContract.resultClassChecking(AbstractSharedSessionContract.java:792) at org.hibernate.internal.AbstractSharedSessionContract.createQuery(AbstractSharedSessionContract.java:746) at org.hibernate.internal.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:23) at org.jboss.as.jpa.container.AbstractEntityManager.createQuery(AbstractEntityManager.java:133) at a.b.c.MemberRepository.loadMembers(MemberRepository.java:77) at a.b.c.MemberRepository$Proxy$_$$_WeldClientProxy.loadMembers(Unknown Source) at a.b.c.PollMembersTask.call(PollMembersTask.java:45) at a.b.c.PollMembersTask.call(PollMembersTask.java:25) at org.jboss.as.ee.concurrent.ControlPointUtils$ControlledCallable.call(ControlPointUtils.java:129) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.glassfish.enterprise.concurrent.internal.ManagedFutureTask.run(ManagedFutureTask.java:141) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250)
- is cloned by
-
JBEAP-17412 [GSS](7.2.z) ManagedExecutorService keeping references on undeploy/deploy
- Closed
- is related to
-
WFLY-12520 Replace managed executor config's thread-factory attribute with thread-priority
- Closed