My Oracle Support Banner

"MAX-CONCURRENT-NEW-THREADS" Doesn't Reduce When Calling ManagedThreadFactory In Bean (Doc ID 2657234.1)

Last updated on JUNE 20, 2023

Applies to:

Oracle WebLogic Server - Version 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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.