Intemitttenly, search may not finish and Oneclick is hangs, or users cannot login anymore.
CA Spectrum 24.3.5-24.3.9
DE168030
This issue is under investigation by Spectrum Engineering.
Workaround:
1) Make a copy of the web.xml (backup purposes)
cd $SPECROOT/tomcat/webapps/spectrum/WEB-INF/
cp -p web.xml web.xml.preMRThreads.backup
2) Edit $SPECROOT/tomcat/webapps/spectrum/WEB-INF/web.xml and look for:
com.aprisma.topo.ModelRepository.ThrottledModelReadCount
Example section to look for:
<context-param xmlns="">
<param-name>com.aprisma.topo.ModelRepository.ThrottledModelReadCount</param-name>
<param-value>5000</param-value>
<description>This parameter defines the maximum number of models the Model
Repository will read in a single request to a SpectroSERVER.</description>
</context-param>
Just below this section add:
<context-param xmlns="">
<param-name>com.aprisma.topo.ModelRepository.ThrottledModelReadThreads</param-name>
<param-value>128</param-value>
<description>This parameter defines the maximum number of threads used to read from
the Model Repository.</description>
</context-param>
Make sure this is pasted in plain text, perhaps by copying to notepad first.
Example:
<context-param xmlns="">
<param-name>com.aprisma.topo.ModelRepository.ThrottledModelReadCount</param-name>
<param-value>5000</param-value>
<description>This parameter defines the maximum number of models the Model
Repository will read in a single request to a SpectroSERVER.</description>
</context-param>
<context-param xmlns="">
<param-name>com.aprisma.topo.ModelRepository.ThrottledModelReadThreads</param-name>
<param-value>128</param-value>
<description>This parameter defines the maximum number of threads used to read from
the Model Repository.</description>
</context-param>
<context-param xmlns="">
<param-name>com.aprisma.topo.ModelRepository.PurgeTimerPeriod</param-name>
<param-value>300</param-value>
<description>This parameter defines the time interval in seconds that the
ModelRepository will check for models eligible to be purged.</description>
</context-param>
Note the new section.
3) Restart Tomcat:
cd $SPECROOT/tomcat/bin/
./stopTomcat.sh
<wait 60 seconds for OS to release ports>
./startTomcat.sh