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 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

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

Cause

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
Symptoms
Cause
Solution
References


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