1
After completing this learning unit, you will be able to:
Put together your own TAFJ standalone area and work on it
2
The description given below will help you understand the TAFJ
workshop folder structure
Training SW – all the required softwares for doing the workshops
are available here as zip files which needs to be extracted in the
appropriate placeholders.
3rdParty – All 3rd party softwares go here – AS Jboss, database H2,
java JDK and also eclipse.
T24 – All T24 related files – H2 database instance DEV which stores
the T24 data, locally developed source code and the precompiled.
TAFJ – Your TAFJ_HOME. When you run setup, specify this folder
path as your install directory.
Scripts – some batch files for setting the paths.
3
Ensure that the default install directory path is overridden with
TAFJWorkshop\TAFJ path. Doing so will extract TAFJ runtime files
in that path and automatically set tafj.home to
TAFJWorkshop\TAFJ, which is desired. If you extract it to any other
location, manually change the properties.
The H2 database version that we are using is h2_1.3.161. Hence
copy this driver.
4
Note:
You can see the below text for setting the URL for H2 in your
properties file in the database properties section. We started our
H2 database in localhost at the port 9007. Read the H2_64 script
file in scripts folder. The database instance name is DEV in the
location TAFJWorkshop/T24/data. The user id = tafj and password
= tafj
# ex. H2: jdbc:h2:tcp://<host_or_ip>/<db_name>
1. temn.tafj.jdbc.url = jdbc:h2:tcp://127.0.0.1:9007/DEV
Right click on Command prompt shortcut in TAFJWorkshop folder -
> properties. Ensure the target says %windir%\system32\cmd.exe
/k D:\TAFJWorkshop\tafj_shell.cmd and Start in =
D:\TAFJWorkshop or change the location accordingly.
5
Note:
1. tafj_shell e => In the Script file tafj_shell.cmd, there is a
condition to check if the first argument is “e” (if "%1" == "e“),
then launch eclipse.exe.
2. Run tDiag. T24DEV should be set as the default project instead
of tafj.
3. Lib, ext, conf etc contain runtime related files which are
necessary for TAFJ runtime to function.
4. Appserver, dbdrivers, eclipse are folders which contain specific
files as discussed in the session. However these files are not
directly needed for TAFJ runtime. For eg eclipse folder stores
the eclipse plugins to be used in eclipse to work in the TAFJ
perspective, dbdrivers contains the drivers for the various
databases, Appserver contains configuration files for the
various application servers. These files are useful when
deploying T24 on a specific AS.
6
In this learning units, you have learned
Install a TAFJ standalone area.