Patch Name: PHSS_30549 Patch Description: s700_800 11.X OV SIP3.1 Fix to memory growth patch Creation Date: 04/03/11 Post Date: 04/03/16 Hardware Platforms - OS Releases: s700: 11.00 11.11 s800: 11.00 11.11 Products: OpenView Service Information Portal 3.1 Filesets: HPOVSIP.OVSIP,fr=B.01.10,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: Yes PHSS_30549: CORRUPTION PHSS_30070: MEMORY_LEAK Category Tags: defect_repair general_release critical corruption memory_leak Path Name: /hp-ux_patches/s700_800/11.X/PHSS_30549 Symptoms: PHSS_30549: After installation of patch OVSIPNT_00036 (or equivalent), changes made through the SIP Admin page will cause corruption of $SIP/conf/framework/OVPortalConfig.xml, which in turn will prevent SIP from starting up correctly. PHSS_30070: SIP's memory footprint grows continually under certain circumstances. It eventually exceeds MAX_HEAP_SIZE and may cause the JVM and/or tomcat to abort. Errors may be printed to a user's screen indicating OutOfMemoryException was encountered. Defect Description: PHSS_30549: Missing paren characters in the output routine for the SIP admin page cause invalid XML to be generated. Resolution: Code changed to include missing parens. PHSS_30070: The code was mishandling session resources whenever a session was created via login and no associated logout was performed. This can occur when a user closes a browser window without clicking the logout button, or when an automated probe is mimicking the above scenario. Resolution: The code has been modified to track creation of sessions and automatically age out those older than a configurable timeout (controlled by new attributes InvalidSessionTimeout and SessionCleanupInterval added to OVPortalConfig.dtd file). Also, resources associated with timed out sessions are now released as soon as a session becomes inactive rather than waiting until the session has been invalidated and fully released. Some additional tracing statements have been added to track session usage and memory size. Enhancement: No SR: 8606349800 8606310575 Patch Files: HPOVSIP.OVSIP,fr=B.01.10,fa=HP-UX_B.11.00_32/64,v=HP: /opt/OV/SIP/conf/framework/OVPortalConfig.dtd /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/security/SessionInfo.class /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/security/SessionManager.class /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/security/SessionReaper.class /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/security/AuthenticationManager.class /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/util/PortalConfig.class /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/util/MemoryUsage.class what(1) Output: HPOVSIP.OVSIP,fr=B.01.10,fa=HP-UX_B.11.00_32/64,v=HP: /opt/OV/SIP/conf/framework/OVPortalConfig.dtd: None /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/security/SessionInfo.class: None /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/security/SessionManager.class: None /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/security/SessionReaper.class: None /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/security/AuthenticationManager.class: None /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/util/PortalConfig.class: None /opt/OV/SIP/webapps/ovportal/WEB-INF/classes/com/hp/ov/ portal/util/MemoryUsage.class: None cksum(1) Output: HPOVSIP.OVSIP,fr=B.01.10,fa=HP-UX_B.11.00_32/64,v=HP: 2529231338 16227 /opt/OV/SIP/webapps/ovportal/WEB-INF/ classes/com/hp/ov/portal/util/PortalConfig.class 1149574010 2324 /opt/OV/SIP/webapps/ovportal/WEB-INF/ classes/com/hp/ov/portal/util/MemoryUsage.class 4256061944 3478 /opt/OV/SIP/webapps/ovportal/WEB-INF/ classes/com/hp/ov/portal/security/SessionInfo.class 4255948598 8028 /opt/OV/SIP/webapps/ovportal/WEB-INF/ classes/com/hp/ov/portal/security/ SessionManager.class 2679685723 1494 /opt/OV/SIP/webapps/ovportal/WEB-INF/ classes/com/hp/ov/portal/security/ SessionReaper.class 1608334253 9850 /opt/OV/SIP/webapps/ovportal/WEB-INF/ classes/com/hp/ov/portal/security/ AuthenticationManager.class 4014489828 1987 /opt/OV/SIP/conf/framework/ OVPortalConfig.dtd Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_30070 Equivalent Patches: OVSIPSOL_00042: sparcSOL: 2.6 2.7 2.8 OVSIPNT_00041: intelWIN2000: 1.00 Patch Package Size: 60 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_30549 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_30549.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_30549. 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_30549.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_30549.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_30549.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_30549.text file to /opt/OV/SIP/patches. Please make sure this file is in /tmp before installation. ========================================================