"Error 112 -- Return code (1) differs from the expected code (0)" during installation of Fix Pack 2
 Technote (troubleshooting)
 
Problem(Abstract)
Installation of Fix Pack 2 fails on the component prereq.amjrte with error 112 on a copy command, -cp, which uses the defined classpath.
 
Cause
The copy command uses the %classpath% variable, and the classpath contains a link to an old Java® Developer Kit. The developer kit that caused the command to fail is not a developer kit delivered by IBM.
 
Resolving the problem
The command that fails :
Command=""C:\WebSphere50\AppServer\java\jre\bin\java" -Djava.ext.dirs -Dpd.home="C:\WebSphere50\AppServer\java\jre\PolicyDirector" -cp "C:\WebSphere50\AppServer\java\jre\lib\ext\PD.jar;C:\WebSphere50\AppServer\java\jre\lib\ext\ibmjceprovider.jar;C:\WebSphere50\AppServer\java\jre\lib\ext\ibmpkcs.jar;%CLASSPATH%" com.tivoli.pd.jcfg.PDJrteCfg -action config -was -java_home "C:\WebSphere50\AppServer\java\jre""

The Error is :
Error 112 -- Return code (1) differs from the expected code (0).

To resolve this error :

  1. Open a command prompt and type SET. This displays all of the environment variables and the contents.

  2. Remove the reference to the old Java developer kit from the classpath. You can also remove the developer kit, if it is not needed.

  3. Uninstall the failed fix pack.

  4. Reboot the system.

  5. Execute the install_root \bin\setupcmdline.bat command. On Unix®, you must source the command, . ./setupcmdline.sh.

  6. Verify that no Java, HTTP or Application Server processes are running.

  7. Retry the fix pack installation.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Install
Operating system(s): Windows
Software version: 5.0.2.6
Software edition:
Reference #: 1173448
IBM Group: Software Group
Modified date: Jul 1, 2004