BookmarkSubscribeRSS Feed
Fluorite | Level 6



I have a problem in SAS RTDM, sometimes when loan application processing I catch errors like this:

<doc>   <ErrorType>SUBDIAGRAM_ERROR</ErrorType>   <ErrorCode>999</ErrorCode>

In web application log (server 7_1) I find next messages :

Spoiler JDBC Connection Pool is not initialized and cannot be used.
 at java.util.concurrent.FutureTask$Sync.innerRun(
 at java.util.concurrent.ThreadPoolExecutor.runWorker(
 at java.util.concurrent.ThreadPoolExecutor$

I have no idea that's this errors means. First time I think is was mean a large load on SAS servers, but this errors

appears not only in the afternoon and evening,  it appears early morning and night when we have  a minimal load on SAS servers.
Now I have over 8k loan application is being processed in day in SAS RTDM. Maybe,is necessary change RTDM_MAIN_IO_Activity_Resource?

I attached
screenshot how looks RTDM_MAIN_IO_Activity_Resource properties in this time.
I was recommended to change to:
MaxActive 16
MaxIdle 20
MaxTotal 20
MinIdle 4
NumTestsPerEvictionRun 4
TimeBetweenEvictionRunsMillis 1000 * 60 * 20
MinEvictableIdleTimeMillis 1000 * 60 * 20
TestWhileIdle - true
SAS Employee



The java traceback in the SASServer7 log means the JDBC connection failed earlier.  The pool failed to start so you see the: JDBC Connection Pool is not initialized and cannot be used.

I would look back in the log for any other messages about JDBC or GeneralIO. That should help find the issue. 


Setting MaxActive to a larger number is good.  I would recommend 2 times the number of CPU threads on the mid tier.  So if there are 8 cores then 16 is a good MaxActive.  If there are 20 cores then MaxActive of 40.  



Fluorite | Level 6

Hi, Andy.


Thanks for answer.
I'll will try to do it.

Fluorite | Level 6

I'm was applying recommended properties. Now system work without this errors.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 2 in conversation