Patch Name: PHSS_29265 Patch Description: s700_800 11.X OV SIP3.0 Topology module hangs Creation Date: 03/06/04 Post Date: 03/06/09 Hardware Platforms - OS Releases: s700: 11.00 11.11 s800: 11.00 11.11 Products: OpenView Service Information Portal 3.0 Filesets: HPOVSIP.OVSIP,fr=B.01.00,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHSS_29265 Symptoms: PHSS_29265: The SIP topology module hangs when displaying the topology. PHSS_28268: SIP Topology module takes an extremely long time to load. PHSS_27712: If an ovw map has a submap containing characters whose ASCII decimal value is <= 32, attempts to edit SIP topology modules utilizing that NNM station and map will cause error text to be displayed to the user, and the user will not be able to complete the edit. The errors happen when attempting to list the available submaps for the map in question. The error text looks something like the following: An error occurred: com.hp.ov.portal.core.ModuleOutputException: org.apache.xalan.xslt.XSLProcessorException: An invalid XML character (Unicode: 0x8) was found in the CDATA section. Defect Description: PHSS_29265: The map that is being displayed has submaps with duplicate names. When SIP encounters such submaps it tries to make them unique by attaching the name of its parent submaps all the way to the root submap. For some submaps this process of finding all the parent submaps puts SIP in a loop because there are some symbols which have one of the child submaps as its parent (a loop exists). Resolution: SIP now uses a depth first search and also stores the list of traversed submaps. During the search if it encounters a submap that has already been traversed, then it backs out. PHSS_28268: If more than one submaps share the same name then SIP tries to create a unique name by appending the whole path of the submap from the root submap. This involves finding all the parents of a submap. Each of these requests involve a query to the NNM system. This is a performance bottleneck. Resolution: All the submap names that have been queried are stored in a hash table. Thus if a submap is parent to more than one submaps that have duplicate names then additional queries to the NNM system are avoided. PHSS_27712: Control characters (with the exception of tab, newline, and carriage return) are not allowed in CDATA sections, and the code was neither checking for their presence nor doing anything to ensure correct XML when they are encountered. Resolution: Code has been modified to detect control characters that might end up in CDATA constructs, and ensure that such characters are safely encoded. Enhancement: No SR: 8606313327 8606279403 8606218961 Patch Files: HPOVSIP.OVSIP,fr=B.01.00,fa=HP-UX_B.11.00_32/64,v=HP: /opt/OV/SIP/htdocs/javascript/topologyEditForm.js /opt/OV/SIP/htdocs/javascript/moduleEditForm.js /opt/OV/SIP/conf/styles/topologyEdit_html.xsl /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/util/XMLHelper.class /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/util/OVDOMWriter.class /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/modules/topomap/Ovw.class /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/modules/topomap/NmSubmap.class /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/modules/topomap/TopologyServlet.class /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/modules/topomap/OvwUrl.class what(1) Output: HPOVSIP.OVSIP,fr=B.01.00,fa=HP-UX_B.11.00_32/64,v=HP: /opt/OV/SIP/htdocs/javascript/topologyEditForm.js: None /opt/OV/SIP/htdocs/javascript/moduleEditForm.js: None /opt/OV/SIP/conf/styles/topologyEdit_html.xsl: None /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/util/XMLHelper.class: None /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/util/OVDOMWriter.class: None /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/modules/topomap/Ovw.class: None /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/modules/topomap/NmSubmap.class: None /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/modules/topomap/TopologyServlet.class: None /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/modules/topomap/OvwUrl.class: None cksum(1) Output: HPOVSIP.OVSIP,fr=B.01.00,fa=HP-UX_B.11.00_32/64,v=HP: 2669978718 33666 /opt/OV/SIP/webapps/ovportal/WEB-INF/ classes/com/hp/ov/portal/modules/topomap/Ovw.class 1160636116 9959 /opt/OV/SIP/webapps/ovportal/WEB-INF/ classes/com/hp/ov/portal/modules/topomap/ NmSubmap.class 1461592323 16471 /opt/OV/SIP/webapps/ovportal/WEB-INF/ classes/com/hp/ov/portal/modules/topomap/ TopologyServlet.class 3330072043 2993 /opt/OV/SIP/webapps/ovportal/WEB-INF/ classes/com/hp/ov/portal/modules/topomap/ OvwUrl.class 1367982337 8625 /opt/OV/SIP/webapps/ovportal/WEB-INF/ classes/com/hp/ov/portal/util/XMLHelper.class 3900448589 10633 /opt/OV/SIP/webapps/ovportal/WEB-INF/ classes/com/hp/ov/portal/util/OVDOMWriter.class 146571880 13249 /opt/OV/SIP/conf/styles/ topologyEdit_html.xsl 1480513391 5505 /opt/OV/SIP/htdocs/javascript/ topologyEditForm.js 2159512052 8704 /opt/OV/SIP/htdocs/javascript/ moduleEditForm.js Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_28268 PHSS_27712 Equivalent Patches: OVSIPSOL_00026: sparcSOL: 2.6 2.7 2.8 OVSIPNT_00025: intelWIN2000: 1.00 Patch Package Size: 90 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHSS_29265 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_29265.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_29265. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHSS_29265.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_29265.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_29265.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: ======================================================== BEFORE LOADING THIS PATCH... - Stop the Tomcat server. - If you want to reinstall SIP, then you will have to remove the patch. Once the re-install is over you can apply the patch again. NOTE : Tomcat is not started after the patch is loaded You will need to manually start it. Also, in order to keep a history of the patches installed on your system the post-install script will attempt to copy the PHSS_29265.text file to /opt/OV/SIP/patches. Please make sure this file is in /tmp before installation. ========================================================