This document applies only to the following language version(s):
Unable to deploy new ear file
When executing the redeployment of ear command, you encounter the following error message:
netcool@simmachine $./nc_ant -f $NCHOME/impact/install/new-server.xml redeploy -Dear.filename=/tmp/NCI-impact-5.1.1.ear
[echo] impact.home = /opt/netcool/impact
[echo] fixed.installLocation = /opt/netcool/impact
/opt/netcool/impact/install/new-server.xml:843: exec returned: 105
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
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"
The ear name under $NCHOME/eWAS/profiles/ImpactProfile/installableApps/
as it should be NCI-impact-22.214.171.124.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-126.96.36.199ear
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.