Using Java JAR to open WebSphere Application Server fix pack ZIP files

Technote (FAQ)
Problem
WebSphere® Application Server delivers fix packs in ZIP format. You can use the Java™ JAR command the open the ZIP file; however, the JAR command might not be in your PATH.
Cause
Installation fails when the installation ZIP file for a Unix® system is extracted to a non-Unix server, then the extracted files are copied to the Unix server.
Solution
Recommendation for unzipping a fix pack on Unix:
  • The JAR command opens a ZIP file:

    jar -xvf <filename.zip>

  • jar must be on the PATH. One solution is to source the WebSphere Application Server setupCmdLine script:

    cd /usr/WebSphere/AppServer/bin; . ./setupCmdLine.sh

Validation:
  • To make sure jar is on the PATH, issue:

    which jar

Notes:
  1. The jar utility uses the same syntax as tar.

  2. Refer to the README for more complete information on sourcing setupCmdLine.sh in the README for the updateInstaller:
    ftp://ftp.software.ibm.com/software/websphere/appserv/support/tools/UpdateInstaller/readme_updateinstaller.html

  3. Default PATH to setupCmdLine.sh on HP-UX, Solaris Operating System™ and Linux® begins with /opt, not /usr.
Cross Reference information
SegmentProductComponentPlatformVersionEdition
Application ServersWebSphere Application Server - ExpressInstall and migrationAIX, HP-UX, Linux, Solaris, Windows5.0, 5.1Express
Application ServersWebSphere Application Server EnterpriseGeneralMulti-Platform5.0Enterprise
Business IntegrationWebSphere Business Integration Server FoundationGeneral5.1Edition Independent











Document Information

Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, Install
Operating system(s): AIX, HPUX, Linux, Linux Red Hat - i/p Series, Linux zSeries, Multi-Platform, Solaris
Software version: 3.5, 4.0, 5.0, 5.1, 6.0
Software edition: Edition Independent
Reference #: 1115941
IBM Group: Software Group
Modified date: 2004-06-14