How to Troubleshoot Updates installation
How to Troubleshoot Updates installation
Introduction
The purpose of this document is to troubleshoot the errors faced while installing
updates using T24Updater tool.
Errors faced while installing updates
There are certain commonly faced errors for which the solutions are mentioned in
this document.
1. Permission denied
i. In UNIX:
Error Message
Error Message
To resolve this
Include $HOME/updater/bin path in PATH variable of .profile / remote.cmd
Error Message
jsh -->sh updater
Usage: updater <dir-path> <parent-pid> [working-dir callback args...] $
This error message occurs when the JAVA_HOME path is not pointing to jdk's bin.
To resolve this
Set the JAVA_HOME path pointing to jdk\bin's path and run the updater again.
E.g.: C:\Program Files\Java\jdk1.6.0
ii. ii. In NT:
Error Message
To resolve this
Execute updater as updater.bat as shown below
Error message
To resolve this
Include $HOME/updater/bin path in PATH variable of .profile / remote.cmd
2. No zip files found in updates directory
Error Message
This error message occurs when the downloaded .zip file is not present inside
$HOME/updater/updates directory
To resolve this
Place the downloaded zip file inside $HOME/updater/updates and then execute
updater from sh prompt.
3. Cannot open <<update name>>
Error Message
To resolve this
This problem occurs when the variables JAVA_HOME and T24_HOME is not set in
both UNIX and WINDOWS environment.
Also the path of $HOME/updater/bin should be appended to PATH variable (of
remote.cmd or .profile).
Note: The JAVA_HOME should point to the standalone java and not the one inside
TAFC directory
(Example: usr/java1.6 and not $TAFC_HOME/java)
5. Unable to open & file
Error Message
R09_AC_Overridecodes_2_LINUX_ELF_AS5.tar
R09_AC_Errorcodes_1_LINUX_ELF_AS5.tar
installing class fr.jayasoft.ivy.url.IvyAuthenticator
Update failed for R09_EB_LocalReferences_1_LINUX_ELF_AS5.tar :
Message: Update R09_EB_LocalReferences_1, Unable to open & file
Output Summary:
1 files processed.
Updates not successful.
Errors/Warnings:
Exiting Updater...
To resolve this
a) a) Need to check for the presence of TEMP.RELEASE record and temp.release
directory
Output Summary:
0 files processed.
Updates not successful.
Errors/Warnings:
EB_Browser version 3 is unable to be resolved to what is on the
machine.
Exiting Updater...
To resolve this
Set the field T24.SERVER to YES in EB_Browser of EB.COMPONENT application and
authorise it as shown below
and run updater tool.
7. <<update name>> version <<XX>> is the same or lower than the installed
Error Message
Output Summary:
0 files processed.
Updates not successful.
Errors/Warnings:
EB_BrowserVersion version 11 is the same or lower than the installed version 11
Exiting Updater...
To resolve this:
Set JAVA_HOME to a valid jdk installation path.
9. Dependency error
Error Message
To resolve this
Since dependency check is made by the updater tool based on the update.xml file
present inside the tar file,
the tool will not install the update if dependency check fails. Hence we should re-
generate SysDef.xml file and download updates.
This problem could occur when the .tar pack present inside the .zip file is removed
or renamed.
10. updater is not an identifier
Error Message
To resolve this
Set the below variable in your .profile (or remote.cmd), and execute the updater
command again
export T24_HOME=$HOME
11. Nothing found on Client module
This error occurs in the scenario when T24 updates are installed and its
corresponding tag in updater.xml file is commented
Error Message:
Solution:
Un-comment the corresponding tag in updater.xml file. In this case, as T24 updates
are installed, uncomment the below lines
Note: similarly when Browser / ARC IB, TAFC, TAG updates are installed, their
corresponding tag should be
un-commented in updater.xml file.
12. Update failed for <<update pack name>>
When this error message is thrown while installing updates, refer the corresponding
&COMO& record
for the exact error message. It could be either SUBROUTINE_CALL_FAIL error
message or TOO MANY CHARACTERS.
i. SUBROUTINE_CALL_FAIL
Error Message
R09_CHQ_PaymentStop_1_LINUX_ELF_AS5.tar
R09_CHQ_Issue_1_LINUX_ELF_AS5.tar
R09_AI_ModelBank_1_LINUX_ELF_AS5.tar
R09_ACM_AccountClosure_1_LINUX_ELF_AS5.tar
R09_AC_Overridecodes_2_LINUX_ELF_AS5.tar
R09_AC_Errorcodes_1_LINUX_ELF_AS5.tar
installing class fr.jayasoft.ivy.url.IvyAuthenticator
Update failed for R09_EB_Logging_2_LINUX_ELF_AS5.tar
Output Summary:
1 files processed.
Updates not successful.
Errors/Warnings:
Exiting Updater...
This error message occurs because the t24lib and t24bin used by T24Updater tool is
replaced by itself
during the process of installation.
To resolve this
Point JBASE_PATH and JBCOBJECTLIST in .profile (or remote.cmd) to a different
location other than
$HOME/t24bin and $HOME/t24lib as shown below:
To resolve this:
This error is fixed in EB_Upgrade_X (EB_Upgrade_1 or higher)
Procedure to be followed:
a) Create folder in bnk.run as run1
b) Now take a copy of the t24lib and t24bin from bnk.run and place them in run1
d) Ensure that VOC and SAVEDLISTS& are created as UD type directory in run1 (to
resolve the problem #1 "Unable to open & file")
iii. Update failed: Failed to get a return code from child process
Error Screenshot:
&COMO& record
Solution:
The problem occurs when the updater tool transfers SC.SYS.END.OF.DAY record of
BATCH application.
This problem is fixed in R09_EB_Updates_1. Hence, install R09_EB_Updates_1 before
installing R09_SC_ModelBank_4.
After successful installation of R09_EB_Updates_1, please copy t24lib and t24bin of
R09_EB_Updates_1 to
respective folder inside run1 directory, this is because when executing T24Updater
tool, the variable JBCOBJECTLIST
points to run1/t24lib, hence the fixed libraries should be copied to run1 directory.
While trying to install non compatible version of TAFC updates, system will result in
"does not match XX branch" error.
To resolve this
This problem will happen when "branch" in versionxml_jbase output and the "major"
in jdiag output does not
match with the name of the update.
In the below case, the branch is PB201011_HPUX_IA64
<ivy-module version="1.0">
<info organisation="TEMENOS" branch="PB201011_HPUX_IA64" module="FC" />
<dependencies>
<dependency org="TEMENOS" branch="PB201011_HPUX_IA64"
name="FC_libTAFCcommon" rev="0" />
<dependency org="TEMENOS" branch="PB201011_HPUX_IA64"
name="FC_libTAFCjcf" rev="0" />
<dependency org="TEMENOS" branch="PB201011_HPUX_IA64"
name="FC_libTAFCjremote" rev="0" />
<dependency org="TEMENOS" branch="PB201011_HPUX_IA64"
name="FC_libTAFCmonitor" rev="0" />
<dependency org="TEMENOS" branch="PB201011_HPUX_IA64"
name="FC_libTAFCjbase" rev="0" />
<dependency org="TEMENOS" branch="PB201011_HPUX_IA64"
name="FC_libTAFCjql" rev="0" />
<dependency org="TEMENOS" branch="PB201011_HPUX_IA64"
name="FC_libTAFCfrmwrk" rev="0" />
<dependency org="TEMENOS" branch="PB201011_HPUX_IA64"
name="FC_libTAFCjee" rev="0" />
<dependency org="TEMENOS" branch="PB201011_HPUX_IA64"
name="FC_libTAFCutil" rev="0" />
<dependency org="TEMENOS" branch="PB201011_HPUX_IA64"
name="FC_libTAFCtj" rev="0" />
<dependency org="TEMENOS" branch="PB201011_HPUX_IA64"
name="FC_libTAFCjrfs" rev="0" />
<dependency org="TEMENOS" branch="PB201011_HPUX_IA64"
name="FC_libTAFCxml" rev="0" />
<dependency org="TEMENOS" branch="PB201011_HPUX_IA64"
name="FC_libTAFCdrvrs" rev="0" />
<dependency org="TEMENOS" branch="PB201011_HPUX_IA64"
name="FC_libTAFCsql" rev="0" />
<dependency org="TEMENOS" branch="PB201011_HPUX_IA64"
name="FC_libTAFCSQLSYS" rev="0" />
</dependencies>
</ivy-module>
JEDIFILEPATH : '/t24/cbalive/bnk/bnk.run'
JEDIFILENAME_MD : '/t24/cbalive/bnk/bnk.run/VOC'
JEDIFILENAME_SYSTEM : '/t24/cbalive/bnk/bnk.run/src/SYSTEM'
RELEASE Information : Major 201011.0 , Minor 0.0 , Patch (Change 91463)
Spooler dir (JBCSPOOLERDIR) : '/t24/cbalive/tafc/R10/jspooler'
JBCEMULATE : 'prime'
WARNING: Cannot access Executable path '/t24/cbalive/bnk/bnk.run/globusbin',
error 2
To resolve this
When the updater tool hangs, need to check the presence of
T24.UPDATE.INSTALLER binary file
and specify it in updater.xml file
4) Extract R09_EB_Updates_1_AIX_5.tar
5) Extract R09_EB_Upgrade_6_AIX_5.tar
6) Delete eb_upgrade and eb_updates directory from run1/t24lib and run1/t24bin
11) Uncomment (only) the below tags in updater.xml file (present inside
$HOME/updater/config directory,
as we are going to install only T24 released updates)
R09_ST_CustomerMaintenance_4_SUN_X86.tar
R09_ST_RateParameters_4_SUN_X86.tar
java.lang.NullPointerException
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at com.temenos.upgrader.Upgrader.processDir(Upgrader.java:1150)
at com.temenos.upgrader.Upgrader.loadUpdateXML(Upgrader.java:1025)
at com.temenos.upgrader.Upgrader.doIt(Upgrader.java:299)
at com.temenos.upgrader.Upgrader.main(Upgrader.java:157)
Solution:
This problem would occur if a tar file in the pack does not contain update.xml file.
The java logging should be enabled and the updater should be executed.
Ensure the below modifications are done in the logging.properties file which is found
in
$JAVA_HOME/jre/lib to enable the java logging in the environment
*********
handlers= java.util.logging.ConsoleHandler
.level= FINE
java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
*******
After making the above setup, start a new jshell session to enable the changes
On executing the updater with the java logging enabled, the execution would throw
NULL POINTER exception
when installing a problematic update. The corresponding problematic update should
be recompiled and given to the client.
2. UnmarshallException during updates installation
Solution:
The update.xml file of the corresponding update (in this case:
R09_FC_libTAFCjbase_3_HPUX_ IA64.tar) is improper.
The problematic update should be recompiled and given to the client.
3. XML is invalid premature end of file
import java.io.*;
public class JavaRunCommand {
public static void main(String args[]) {
String s = null;
// To read the contents of LIBPATH
String Variable = System.getenv("LIBPATH");
System.out.println("Output of 'echo $LIBPATH' is : ");
System.out.println(Variable);
try {
Process p =
Runtime.getRuntime().exec("/glotam1/Bankareas/cib-test/bnk/bnk.run/t24bin/
eb_updates/T24Version");
// To read the contents of "stdout" Standard Output terminal
BufferedReader stdInput = new BufferedReader(new
InputStreamReader(p.getInputStream()));
// To read the contents of "stderr" Standard error terminal
BufferedReader stdError = new BufferedReader(new
InputStreamReader(p.getErrorStream()));
// read the output from the command
System.out.println("Here is the standard output of the command:\n");
while ((s = stdInput.readLine()) != null) {
System.out.println(s);
}
// read any errors from the attempted command
System.out.println("Here is the standard error of the command (if any):\n");
while ((s = stdError.readLine()) != null) {
System.out.println(s);
}
System.exit(0);
}
catch (IOException e) {
System.out.println("Exception Happened - here's what I know: ");
e.printStackTrace();
System.exit(-1);
}
}
}
Note: highlighted line in the java code should be modified to a valid T24Version
path.
Now compile the java program and execute it as shown below:
Solution:
This is bug in java 1.6. This is fixed in java version 1.6 SR6 (and above)
http://www.ibm.com/developerworks/java/jdk/aix/j664/Java6_64.fixes.html
Solution:
Need to append $JAVA_HOME/bin to PATH variable of .profile as shown in the below
example
and re-run updater tool in a restored environment.
Example:
export
PATH=/DEV2_02/r10test/bnk.run/updater/bin:/usr/vac/bin:$JBCRELEASEDIR/bin:
$JAVA_HOME/
bin:$JBCRELEASEDIR/config:$PATH:.:/usr/local/bin:$HOME/globuspatchbin:$HOME/
bin:$HOME
/t24bin:/usr/ccs/bin:/usr/ucb:/usr/aix/bin:$HOME/t24/eb_interface:/usr/bin/gtar
5. Content is not allowed in prolog
Error Message:
There could be a special character (non UTF8 character) present inside update.xml
file of the corresponding tar file. In this case,
we need to re-cut R11_ACM_AccountOpening_5_SUN.tar.
Conclusion:
The procedures suggested in the document will ensure that the errors mentioned in
the document will be resolved.
After installation of updates, all the INAU files, which are released in updates
installation should be authorised.
If CONVERSION.DETAILS records are released, it should be authorised and verified,
so that the corresponding data conversion is done