Troubleshooting
Problem
You are experiencing slow performance when using the GenPluginCfg.sh script to regenerate the plug-in in a large cell topology environment.
Symptom
When deploying multiple applications using a script, the plug-in is regenerated at the end of each application deployment using the GenPluginCfg.sh script. The process of regenerating the plug-in-cfg.xml file using cell-wide regeneration takes over several minutes to complete.
Cause
The plug-in code is attempting to merge the new values with the existing plugin-cfg.xml file which causes a delay in reading the file. The Java methods used to read in the existing plugin-cfg.xml can be costly because the Java API is designed to work with a changing document and it re-reads the entire file to locate each value.
Resolving The Problem
Deleting the existing plugin-cfg.xml file before regenerating the plug-in file, allowed the plug-in to be regenerated with significant performance improvement.
Update: There was an option added to the GenPluginCfg command string to accept "-force yes" option which overwrites the existing plugin-cfg.xml file. This eliminates the need to manually delete the file prior to running. This option was added to fix pack 7.0.0.17 and 6.1.0.37 and is included in the code for version 8.0 and higher.
There is also an "Overwrite" button within the WebSphere Administrative Console under "Update global web server plug-in configuration which will overwrite the existing plugin-cfg.xml file when regenerating the plug-in.
v7.0 WebSphere Infocenter documentation:
http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.soafep.multiplatform.doc/info/ae/ae/rxml_genplugincfg1.html
Recommended Fixes website:
http://www.ibm.com/support/docview.wss?uid=swg27004980
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21446060