"MAX-CONCURRENT-NEW-THREADS" Doesn't Reduce When Calling ManagedThreadFactory In Bean
(Doc ID 2657234.1)
Last updated on JUNE 17, 2022
Applies to:Oracle WebLogic Server - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
The count of "MAX-CONCURRENT-NEW-THREADS" doesn't reduce automatically when calling ManagedThreadFactory (MTF) to create one thread from Bean.
1. Method A: call MTF indirectly to create new thread from Bean
-> Result: Exception occurred when running application for above 10 times
When one thread finished on each time , there is no CONCURRENT thread existed. But the count of "MAX-CONCURRENT-NEW-THREADS" doesn't reduce automatically.
2. Method B: call MTF directly to create new thread from Servlet,
-> Result: No exception when running application for above 10 times
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document