Technote (troubleshooting)
This document applies only to the following language version(s):
English
Problem(Abstract)
Unable to deploy new ear file
Symptom
When executing the redeployment of ear command, you encounter the following error message:
Error Message
netcool@simmachine $./nc_ant -f $NCHOME/impact/install/new-server.xml redeploy -Dear.filename=/tmp/NCI-impact-5.1.1.ear
Buildfile: /opt/netcool/impact/install/new-server.xml
setProperties:
[echo] impact.home = /opt/netcool/impact
[echo] fixed.installLocation = /opt/netcool/impact
redeploy:
BUILD FAILED
/opt/netcool/impact/install/new-server.xml:843: exec returned: 105
Cause
After adding all the required jar file / JMS client libraries via nci_ear_editor, you will need to run the following command to redeploy new ear.
$NCHOME/bin/nc_ant -f $NCHOME/impact/install/new-server.xml redeploy -Dear.filename=/tmp/<instance name>-Impact-5.1.1.ear
Environment
Solaris 10
Diagnosing the problem
Check update-NCI.log and it shows:-
WASX7209I: Connected to process "server1" on node ImpactNode using SOAP connector; The type of process is: UnManagedProcess
WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: "[NCI, /tmp/NCI-impact-5.1.1.ear]"
WASX7017E: Exception received while running file "/opt/netcool/impact/install/update-ear.py"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7115E: Cannot read input file "/tmp/NCI-impact-5.1.1.ear"
Next check:
The ear name under $NCHOME/eWAS/profiles/ImpactProfile/installableApps/
as it should be NCI-impact-5.1.1.1.ear and also your /tmp directory for the correct ear name.
Resolving the problem
To re-run the redeployment again using the correct ear file
$NCHOME/bin/nc_ant -f $NCHOME/impact/install/new-server.xml redeploy -Dear.filename=/tmp/<instance name>-Impact-5.1.1.1ear
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.