T24: Problem After T24UPDATES

2,704 views
Skip to first unread message

andibaso

unread,
Jul 24, 2011, 4:20:55 AM7/24/11
to jBASE
Dear All,

I have problem after updating R10 model bank in my local computer.


jsh t24r10 ~ -->EX
** Error [ SUBROUTINE_CALL_FAIL ] **
Unable to perform CALL to subroutine OVERLAY.EX , Line 45 , Source
EX
Press C to continue or Q to quit
Trap from an error message, error message name = SUBROUTINE_CALL_FAIL
Line 45 , Source EX
jBASE debugger-
>


Here my jdiag output :

jsh t24r10 ~ -->jdiag
jdiag - jBASE diagnostic '$Revision: 1.15 $'

System Information
==================

System : WinNT ATI-ABA-M 6.1 i386
OS Release : , Build 7600,
NT User : t24r10
Time : Fri Jul 22 10:58:19 2011

Environment
===========

JBCPORTNO : Not Set
TAFC_HOME : 'C:\Temenos\TAFC\R10_GA'
JBCGLOBALDIR : 'C:\Temenos\TAFC\R10_GA'
WARNING: JBCDATADIR is not set, Default 'C:\Temenos\TAFC\R10_GA
\jbase_data'
WARNING: JBCDATADIR is subdirectory of JBCGLOBALDIR
HOME : 'C:\Temenos\R10\bnk\bnk.run'
JEDIFILEPATH : 'C:\Temenos\R10\bnk\bnk.run'
JEDIFILENAME_MD : 'VOC'
JEDIFILENAME_SYSTEM : 'C:\Temenos\TAFC\R10_GA\src\SYSTEM'
SYSTEM File is (DICT) : 'C:\Temenos\TAFC\R10_GA\src\SYSTEM]D'
RELEASE Information : Major 10.0 , Minor 0.0 , Patch (Change
87706)
Spooler dir (JBCSPOOLERDIR) : 'C:\Temenos\R10\bnk\bnk.run\jspooler'
JBCEMULATE : 'prime'
TEMP file path : 'C:\Windows\TEMP\'
Object path (JBCOBJECTLIST) : 'C:\Temenos\R10\bnk\bnk.run\lib;C:
\Temenos\R10\bnk\bnk.run\t24lib'
WARNING: From checking the registry, It appears that VC++ is not
loaded
WARNING: JBC_CCOMPILER_PATH is set to 'C:\Program Files\Microsoft
Visual C++ Toolkit 2003'
jBASE Compiler Run-time : 'C:\Temenos\TAFC\R10_GA\config
\system.properties'
Program dir (JBCDEV_BIN) : 'C:\Temenos\R10\bnk\bnk.run\bin'
Subroutine dir (JBCDEV_LIB) : 'C:\Temenos\R10\bnk\bnk.run\lib'

I have set JBASE_JBCOBJECTLIST_DIR=1, but it still doesn't recognize
routine library.

Thanks for your help.

VK

unread,
Jul 25, 2011, 3:35:09 AM7/25/11
to jBASE
Hi,
Nothing looks suspicious from the first glance (except that maybe you
need more fresh TAFC than 10.0.0.0).

Yes, set JBASE_JBCOBJECTLIST_DIR=1 is crucial in this environment.

First of all see the output of jshow -c OVERLAY.EX. If it's empty:

try to locate an object file for subroutine OVERLAY.EX (in
subdirectories of t24lib, file shall have name OVERLAY_2EEX.obj).
Then go one level up and look into all libraries (e.g. lib0.dll) that
are there (AFAIK earlier there was an option -a in jshow for it but
now I don't see it so use hex editor to find the string "jBC
OVERLAY.EX source file").

If it is there and still nothing works - something is completely
broken - like maybe you mix 32-bit and 64-bit libraries (or newer VC
redist is required)... Use a tool like "depends" to check it.

One more possibility is that maybe updates were run from administrator
user and the user t24r10 doesn't have admin privileges.

VK

andibaso

unread,
Jul 25, 2011, 7:32:40 AM7/25/11
to jBASE
Hi VK,
Thanks for your respond.
jshow -c OVERLAY.EX didn't display anything.


I can not find OVERLAY_2EEX.obj. When I compare it with Model Bank
before updating(or another dev environment), there are
OVERLAY_2EEX.obj under bnk.run\t24lib\eb_api\objdir directory. This
file deleted when i applied update R10_EB_API_9_WIN32_VC80.tar.
R10_EB_API_9_WIN32_VC80.tar doesn't contain *.obj file.

This is como output :

Removing old t24bin\eb_api directory at 20:04:43
[20:04:43]ÿk del /s /q t24bin\eb_api
Finished removing old t24bin\eb_api directory at 20:04:43
Removing old t24lib\eb_api directory at 20:04:43
[20:04:43]ÿk del /s /q t24lib\eb_api
Finished removing old t24lib\eb_api directory at 20:04:44
Copying new t24bin eb_api
[20:04:44]XCOPY R10_EB_API_9_WIN32_VC80\t24bin\eb_api .\t24bin\eb_api /
Y /Q /S /I
Copied new t24bin.
Copying new t24lib eb_api
[20:04:46]XCOPY R10_EB_API_9_WIN32_VC80\t24lib\eb_api .\t24lib\eb_api /
Y /Q /S /I
Copied new t24lib.

I don't think i have mixed x86 object with x64 object, because i
download all update using my own system definition from tcsp
websites. I disabled UAC in my computer and t24r10 is administrator
member. I wonder maybe there are a way to create file *.obj in objdir
directory.

Thanks

pat

unread,
Jul 25, 2011, 6:59:45 PM7/25/11
to jBASE
I think you may also require :

set JBCOBJECTLIST=C:\Temenos\R10\bnk\bnk.run\T24lib

in your environment settings

VK

unread,
Jul 26, 2011, 2:52:38 AM7/26/11
to jBASE
Hi,
if you don't have the object of OVERLAY.EX any longer and EX still
calls it, the update is broken. I think you need to write to helpdesk.

VK

andibaso

unread,
Jul 26, 2011, 10:35:55 PM7/26/11
to jBASE
Hi Pat,

I already set JBCOBJECTLIST.
jsh t24r10 ~ -->echo %JBCOBJECTLIST%
C:\Temenos\R10\bnk\bnk.run\lib;C:\Temenos\R10\bnk\bnk.run\t24lib.

VK, I agree with you, this is happen only for
R10_EB_API_9_WIN32_VC80.tar. After running updater, there are no
library definition in t24lib/eb_api.
After manual copy libdef.def from R10_EB_API_2_WIN32_VC80.tar, 'jshow -
a' can list all subroutine, but i can not call any subroutine inside
eb_api\lib0.dll through basic program. I think jshow only read this
library definition, it is not read shared library like 'dependency
walker'. With dependency walker, i can see JBC_OVERLAY_2EEX in eb_api
\lib0.dll.

I have R10_EB_API_2_WIN32_VC80.tar in an older update package and
update process is successfully with this package.
I should waiting for technical from chennai, he will arrive this
weekend.


Thanks all for your reply.

Phil Knight

unread,
Jul 27, 2011, 6:16:44 AM7/27/11
to jBASE
You need to create a temporay bnk.run environment and modify the
SYSTEM>TEMP.RELEASE pointer and JBCOBJECTLIST and JBC_PATH environment
variables during the update.

Get the document 'Troubleshooting in T24Updater tool' from Temenos
Helpdesk and refer to the section 'Precautionary Steps to avoid above
mentioned errors:' for details.

Phil
> > > Thanks- Hide quoted text -
>
> - Show quoted text -

Phil Knight

unread,
Jul 27, 2011, 11:59:55 AM7/27/11
to jBASE
Further to my previous posting on this topic:

I haven’t seen the source code of the T24 Updater so I do not know
EXACTLY how it operates step by step, but to the best of my
understanding I think my comments below explain why the problem you
describe occurs and the steps to be taken to avoid the problem. I
would welcome any further comments correcting me if my technical
understanding is wrong or offering further technical insight into the
process.

The unwisely named program EX (for ‘execute’, not ‘exit’) runs
everything else in Globus. It calls the subroutine OVERLAY.EX which is
very much at the centre of the Globus core system. It initialises
common areas when starting Globus.

Occasionally, the T24 Updater needs to update these core routines or
even itself.

In such situations the updater must be run from a temporary run area,
to make changes to the permanent t24lib and t24bin directories (the
core object code libraries) within the bnk.run directory.

The steps to do this based on the Temenos T24 Updater troubleshooting
document are given below. I have used an example based on a Windows
platform as the Temenos document assumes Unix but the steps are the
same.

Situation A – Only applicable if the update contains modified
R10_EB_Upgrade_X or R10_EB_Updates_X component

1) Create run1 directory with bnk.run. This will be your temporary run
environment from which to perform the update with the permanent
bnk.run as target.
2) Copy t24lib and t24bin from bnk.run to %HOME%\run1 directory.
3) Copy R10_EB_Upgrade_X_WIN64 or R10_EB_Updates_X_WIN64 to a
temporary directory.
4) Extract these tar files in the temporary directory.
5) Delete the eb_upgrade and eb_updates directories from %HOME%
\run1\t24lib and %HOME%/run1/t24bin directories.
6) Copy t24bin from R10_EB_Updates_X_WIN64 to %HOME%\run1\t24bin
\eb_updates.
7) Copy t24lib from R10_EB_Updates_X_WIN64 to %HOME%\run1\t24lib
\eb_updates.
8) Copy t24bin from R10_EB_Upgrade_X_WIN64, to %HOME%\run1\t24bin
\eb_upgrade.
9) Copy t24lib from R10_EB_Upgrade_X_WIN64, to %HOME%\run1\t24bin
\eb_upgrade.

The temporary run area now contains the latest object code for the
updater itself.

10) Modify the JBASE_PATH and JBCOBJECTLIST variables in remote.cmd to
point to $HOME\run1\t24bin and $HOME\run1\t24lib respectively.
11) Set TEMP.RELEASE in SYSTEM file to point to %HOME%.
12) Place downloaded zip file of updates inside the %HOME%\updater
\updates directory
13) Uncomment the lines in %HOME%\updater\config\updater.xml:
<service name="T24" pathType="EXEC" updateType="AUTO">
<path>[T24_HOME]/t24bin/eb_updatesrun/T24Version</path>
<installpath>[T24_HOME]</installpath>
<installprogram>[T24_HOME]/t24bin/eb_updatesrun/
T24.UPDATE.INSTALLER</installprogram>
</service>

14) Run updater.bat
15) Set SYSTEM > TEMP.RELEASE back to point back to its original
location
16) Delete %HOME%\run1 directory

Situation B – The updater does not contain a modification to the
updater components themselves.

As above but without steps 3-9.

1) Create run1 directory with bnk.run. This will be your temporary run
environment from which to perform the update with the permanent
bnk.run as target.
2) Copy t24lib and t24bin from bnk.run to %HOME%\run1 directory.
3) Modify the JBASE_PATH and JBCOBJECTLIST variables in remote.cmd to
point to $HOME\run1\t24bin and $HOME\run1\t24lib respectively.
4) Set TEMP.RELEASE in SYSTEM file to point to %HOME%.
5) Place downloaded zip file of updates inside the %HOME%\updater
\updates directory
6) Uncomment the lines in %HOME%\updater\config\updater.xml:
<service name="T24" pathType="EXEC" updateType="AUTO">
<path>[T24_HOME]/t24bin/eb_updatesrun/T24Version</path>
<installpath>[T24_HOME]</installpath>
<installprogram>[T24_HOME]/t24bin/eb_updatesrun/
T24.UPDATE.INSTALLER</installprogram>
</service>

7) Run updater.bat
8) Set SYSTEM > TEMP.RELEASE back to point back to its original
location
9) Delete %HOME%\run1 directory

All cases:

1- Log off and on again to pick up on your re-catalogued object code.
2- Restart the TSM, then run the T24.UPDATES service to update the
SPF>SYSTEM record T24.UPDATES field.
3- Check the COMO file for the update for any errors:

Example (no problems in this one):
UPD.R10_MD_ModelBank_3
001 COMO UPD.R10_MD_ModelBank_3 established 11:15:12 19 JUL 2011
002 [11:15:13]_k tar -xf \bnk\bnk.run\updater\updates\tmp
\R10_MD_ModelBank_3_WIN64.tar
003
004
005 T24.UPDATE.RELEASE
006 ==================
007
008
009 Current Release R10.000
010 Installing Update R10_MD_ModelBank_3
011
012
013 Component bins and libs will be replaced
014
015
016 Removing old t24bin\md_modelbank directory at 11:15:13
017 [11:15:13]_k del /s /q t24bin\md_modelbank
018 Finished removing old t24bin\md_modelbank directory at 11:15:13
019 Removing old t24lib\md_modelbank directory at 11:15:13
020 [11:15:13]_k del /s /q t24lib\md_modelbank
021 Finished removing old t24lib\md_modelbank directory at 11:15:13
022 Copying new t24bin md_modelbank
023 [11:15:13]XCOPY R10_MD_ModelBank_3_WIN64\t24bin\md_modelbank .
\t24bin\md_modelbank /Y /Q /S /I
024 Copied new t24bin.
025 Copying new t24lib md_modelbank
026 [11:15:15]XCOPY R10_MD_ModelBank_3_WIN64\t24lib\md_modelbank .
\t24lib\md_modelbank /Y /Q /S /I
027 Copied new t24lib.
028
029 No Records selected
030
031
032
033 Already released data items are
034 F.VERSION>MD.DEAL,GTINVPRO
035 Success:Update R10_MD_ModelBank_3, Successfully copied the
libraries and binaries.
036 COMO completed 11:15:15 19 JUL 2011

4 - Authorise any records brought in by the update.
5 - If you are using the tcserver, restart that as well.
> > - Show quoted text -- Hide quoted text -

andibaso

unread,
Aug 5, 2011, 1:03:29 PM8/5/11
to jBASE
Hi Phil,
Sorry for my late reply. I tried your solution B and its working
fine.
Huge thanks for your effort to write this is detail solution.
Thanks.

khadar sharif

unread,
Aug 6, 2011, 12:13:28 AM8/6/11
to jb...@googlegroups.com
Hi ,

If we do so h abt the SPF updation. Will SPF record is updated
properly with the latest update.

Thanks,
Sharif.

> --
> Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24
>
> To post, send email to jB...@googlegroups.com
> To unsubscribe, send email to jBASE-un...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
>

--
Thanks,
Sharif.

Reply all
Reply to author
Forward
0 new messages