Platform Framework
R24 AMR | Min(s) read

Launching TAFJ Lock Manager

You can launch TAFJ Lock Manager in various modes using the following procedure.

  1. Go to the bin directory of your TAFJ installation and type the command below.

    > tLockManager -i

  2. Configure your instance by editing your [project].properties file with the following fields:
    #********************************************************************
    #
    #  TAFJ Locking mechanism
    #
    #********************************************************************
    # Tafj locking mode
    # Could be : JDBC | ORCL | MSQL | PROC | PROCHASH | MEM | NONE
    # JDBC : locks managed in database uses TAFJ_LOCKS table.
    # ORCL : locks managed in database using DBMS_LOCK Oracle specific package. Recommended solution for Oracle.
    # MSQL : locks managed in database using DBMS_LOCK MS-SQL specific package. Recommended solution for MS-SQL.
    # PROC : TAFJ lock manager, external process, server accepting client connections on a port.
    # PROCHASH : TAFJ lock manager, external process, server accepting client connections on a port (for performance).
    # MEM : Memory mode version of the TAFJ lock manager.
    
    temn.tafj.locking.mode						= PROCHASH
    
    # Host name or IP of where is the tLockManager daemon
    #
    temn.tafj.locking.hostname					= 127.0.0.1
    
    # TCP port of the tLockManager daemon is listening on
    #
    temn.tafj.locking.port						= 7425
    
    
    # Bring the current call stack over to the LockManager?
    #
    temn.tafj.locking.callstack					= false
    
    # if we want to override the URL as unique key for the DBInstance
    # we have to give a name here (eg myDatabase). This is usefull
    # if the DBServer has multiple adapters. The URL's are different
    # but this is still the same Database.
    # only for PROC and PROCHASH
    #
    temn.tafj.locking.name					
    

Copyright © 2020- Temenos Headquarters SA

Published on :
Monday, May 27, 2024 5:03:31 PM IST