Technote

(troubleshooting)
Failure during deployment of the EAR when installing an APAR or fix pack
Problem(Abstract)
When you apply an APAR or fix pack to a particular WebSphere Commerce instance, the process fails reporting an error in the wsadmin.traceout:

AbstractShell E WASX7120E: Diagnostic information from exception with text "com.ibm.ws.scripting.ScriptingException: WASX7418E: Application update for WC_demo failed: see previous messages for details.

AbstractShell A WASX7093I: Issuing message: "WASX7017E: Exception received while
running file "/opt/IBM/WebSphere/CommerceServer60/config/deployment/scripts/deployEar.jacl"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7418E: Application update for WC_demo failed: see previous messages for details.

When you drill further down in the SystemErr.log file, you see an error message similar to the following text:

SystemErr R com.ibm.etools.j2ee.commonarchivecore.exception.OpenFailureException: IWAE0037E Could not open /tmp/app16295.ear
!Stack_trace_of_nested_exce!
java.util.zip.ZipException: Permission denied /tmp/app16295.ear
Cause You might have switched to the root user using 'su root'. Switching to the root user using 'su root' does not load the root environment settings. Because of this, we see the permission denied error. Resolving the problem The correct way to switch to the root user is 'su - root'. After you have used the correct method of switching to the root user, attempt to apply the APAR or Fixpack again.

The difference between 'su root' and 'su - root' is that the root environment is not loaded when you do a 'su root'. It only switches you to the root user.
Cross Reference information
Segment Product Component Platform Version Edition
Commerce WebSphere Commerce Enterprise Installation AIX, Linux, Solaris 6.0, 6.0.0.1
Commerce WebSphere Commerce Business Edition Installation AIX, Linux, Solaris 6.0, 6.0.0.1
Commerce WebSphere Commerce Professional Installation AIX, Linux, Solaris 6.0, 6.0.0.1
Commerce WebSphere Commerce - Express Installation AIX, Linux, Solaris 6.0, 6.0.0.1
Commerce WebSphere Commerce Developer Enterprise Installation AIX, Linux, Solaris 6.0, 6.0.0.1
Commerce WebSphere Commerce Developer Business Edition Installation AIX, Linux, Solaris 6.0, 6.0.0.1
Commerce WebSphere Commerce Developer Professional Installation AIX, Linux, Solaris 6.0, 6.0.0.1
Commerce WebSphere Commerce Developer Express Installation AIX, Linux, Solaris 6.0, 6.0.0.1
   

Document Information

Current web document: http://www.ibm.com/support/docview.wss?uid=swg21251062