Troubleshooting
Problem
You experience slow performance when you call an external Java™ archive (JAR) file to work with BPM managed assets, for example files, in a human service. This issue occurs even after you have performed server-side performance tunning for the heap size.
Symptom
It is observed that the code calling perform slowly and finally in the log file, you can see that the thread hung message was printed out.
Cause
Because a low cache size is set for the class loader, when the managed asset size is big, it exceeds the limit. Thus, the performance delay occurs because the class loader has to search and reload the asset data.
Resolving The Problem
Complete the following steps to tune the class loader cache size and potentially improve performance:
- Stop your development environment and the deployment manager.
- Locate the 00Static.xml file in your network development environment by opening the original configuration file. For example, the file might be located in the following directory: PROFILE_HOME\config\cells\cell_name\nodes\node_name\servers\server_name\process-server\config\system\
- Open the file in a text editor, find the following property, and copy it:
<classloader-resource-map-size> "current value" </classloader-resource-map-size>
- Locate the 100custom.xml file in your network deployment environment. The 100Custom.xml file exists under each cluster member in your deployment manager profile under the PROFILE_ROOT\config\cells\cell_name\nodes\custom_node_name\servers\cluster_member_name\server_type\config\ path.
- Open each 100Custom.xml file and locate the last </server> instance in the file.
- Append the code, which you copied in step 3, just before the </server> instance.
- Save the file. The new appended code should look like the following example:
<server merge="mergeChildren">
<classloader-resource-map-size merge="replace">new value </classloader-resource-map-size>
</server>
Please note the new cache value has to be set to the number of files that the customer has in their managed asset. - Restart your deployment manager and cluster.
- Select Full Resynchronize to replicate the settings from the deployment manager server to the individual nodes.
Product Synonym
BPM
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21657918