Patch Name: PHKL_27207 Patch Description: s700_800 11.00 mmap of a java JAR file on CDROM fails Creation Date: 02/07/29 Post Date: 02/08/02 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHKL_27207 Symptoms: PHKL_27207: ( SR:8606235485 CR:JAGae04639 ) When using java version 1.3.0.01 or greater on HP-UX 11.00 to read a CDROM, the following can be seen: Exception in thread "main" java.util.zip.ZipException: invalid CEN header (bad signature) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(Unknown Source) at java.util.jar.JarFile.(Unknown Source) at java.util.jar.JarFile.(Unknown Source) Defect Description: PHKL_27207: ( SR:8606235485 CR:JAGae04639 ) There is a problem with the CDFS filesystem reading the CDROM data when mapped with mmap(2) on 11.00 with java version 1.3.0.01 or greater. Resolution: The cdfs_pagein() function was changed to detect end-of-file and only read in one page worth of data. SR: 8606235485 Patch Files: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libcdfs.a(cdfs_vm.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libcdfs.a(cdfs_vm.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libcdfs.a(cdfs_vm.o): cdfs_vm.c $Date: 2002/05/29 12:45:07 $Revision: r11r os/1 PATCH_11.00 (PHKL_27207) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libcdfs.a(cdfs_vm.o): cdfs_vm.c $Date: 2002/05/29 12:45:07 $Revision: r11r os/1 PATCH_11.00 (PHKL_27207) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: 318780849 3116 /usr/conf/lib/libcdfs.a(cdfs_vm.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: 237650724 5536 /usr/conf/lib/libcdfs.a(cdfs_vm.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 30 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 PHKL_27207 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_27207.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_27207. 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 PHKL_27207.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_27207.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_27207.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None