Unable to open a Job Chain with many nodes

Document ID : KB000085544
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
The following kind of error appears on the univiewer.log:

################
|ERROR||AWT-EventQueue 0|com.orsyp.kmeleon.swing.businessviews.commands.SaveHelper$3|java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@65a764b5 rejected from com.orsyp.kmeleon.util.concurent.NotifyThreadPoolExecutor@4c3dd943[Running, pool size = 400, active threads = 399, queued tasks = 0, completed tasks = 82196] 
################

Patch level detected:Univiewer Console 6.1.00
Product Version: Dollar.Universe 6.1.0

Description :When trying to open a Job Chain that contains a lot of tasks from more than 50 different nodes, a popup error appears on Univiewer.
Univiewer cannot open more than 400 threads simultaneously.
Environment:
OS: All
Cause:
Cause type:
Defect
Root Cause: The Univiewer pool of threads was hardcoded to 400, which could be insufficient in case of big job chains with many nodes on it.
Resolution:
A newer parameter has been included on the configuration scripts of the univiewer console.

Variable name : MY_MAX_THRD_NB
Variable default value : 5000

This variable is set in 2 files :
- Windows : univiewer_console.bat
- Unix : unistartconsole.ksh


The value can be changed manually by customer.
If the value is incorrect (like text instead of number, or no value), default value will be taken.

Fix Status: Released

Fix Version(s):
Component: Univiewer.Console
Version: Dollar.Universe 6.6.01
Additional Information:
Workaround :
N/A