You are on page 1of 8

1.

Install Jboss
Note:
TAFJ do not support JBOSS 6 community edition. It supports only EAP
edition.
Copy the file jboss-4.2.3.GA.zip from the directory \ISB\jboss to the
directory C:\Temenos\T24Enterprise\3rdParty\as\jboss
Now extract the zip file in the same folder.
Inside Jboss you should have a folder like

From the \ISB\misc folder copy the file start_JB4.cmd to the folder
C:\Temenos\T24Enterprise.
Now inside the folder C:\Temenos\T24Enterprise\3rdParty\as\jboss\jboss4.2.3.GA\server copy the folder name default and paste it in the same
folder. Now rename the new folder as R13.

From C:\Temenos\T24Enterprise\TAFJ\appserver\jboss\jboss4 copy all the


files to the folder
C:\Temenos\T24Enterprise\3rdParty\as\jboss\jboss4.2.3.GA\server\R13\deploy.
Now to configure jboss for TAFJ edit the following files.

t24-ds.xml
Since the database is Oracle edit the Oracle part in the file
Connection-url: copy the value of the temn.tafj.jdbc.url from the
T24.properties file.
Driver class: copy the value of temn.tafj.jdbc.driver from T24.properties
file.
User-name:
copy
T24.properties file.

the

value

of

temn.tafj.jdbc.username

from

Password: copy the value of temn.tafj.jdbc.password from T24. Properties


file.

Copy the below selected area from the above modified to the locking
mechanism in the same file

Note: we have to find the locking table name


tafj-servce.xml
Modify the below line in the file
Note: Application server will pick up all class paths from this file.
You have to mention the following paths.
TAFJ/lib where the TAFJ related class files are present
TAFJ/ext where the external class files are present
TAFJ/ext/oracle-11g where the DB class file is present
T24/lib where the T24 routines/jars are present

Set where the TAFJ is present


Set file.encoding to UTF-8.

Note: All the paths in the file should be relative path starting from the
jboss
home
directory.
That
is
in
our
case
C:\Temenos\T24Enterprise\3rdParty\as\jboss\jboss-4.2.3.GA
Now to start the jboss run the file start_JB4.cmd from
C:\Temenos\T24Enterprise. Please make sure the database listener is also
running.
After editing all the files, restart the jboss.
Use the following URL to launch the TAFJEE screen
http://localhost:8080/TAFJEE

Here
tdDiag can be used to see the tDiag as it is in command prompt

tShow it is used to see tShow of any routine as it is in the command


prompt
Execute servlet this is used run any program like tRun from command
prompt

Note:
Number of agents will be maintained by the application server even if it is
configured inside the T24. That is if the number of agents is mentioned as
20 in app server and in T24 it is mentioned as 50 then the app server will
allow only 20 agents to spawn while running the cob.
Inside the app server agent is known as threads.
Note: we have to find where this thread count is set in jboss
Entry point here you can learn about TAFJ and TAFJ coding. This page is
mainly used by TAFJ developers.

2.Browser installation
Stop the jboss if it is running.
Copy
BrowserWeb.war
file
from
C:\Temenos\T24Enterprise\3rdParty\as\jboss\jboss4.2.3.GA\server\R13\deploy.

...\ISB\T24

Now restart the jboss.


Use the following link to get the browser login page
http://localhost:8080/BrowserWeb/servlet/BrowserServlet

to

6.1 Multiple Browser setup


For multi browser setup you have modify the below files to define extra
queues.
Edit
the
file
C:\Temenos\T24Enterprise\3rdParty\as\jboss\jboss4.2.3.GA\server\R13\deploy\BrowserWeb.war\WEB-INF\jboss-web.xml
Copy the below line and change the create new REQUEST Queue and
RESPONSE Queue

C:\Temenos\T24Enterprise\3rdParty\as\jboss\jboss4.2.3.GA\server\R13\deploy/tafj-service.xml
Copy the below line and create new REQUEST Queue and RESPONSE
Queue

C:\Temenos\T24Enterprise\3rdParty\as\jboss\jboss4.2.3.GA\server\R13\deploy\TAFJJEE_EAR.ear\TAFJJEE_MDB.jar\METAINF\jboss.xml
Copy the below and create new message-driven, change the ejb-name
and queue names.
Note: the queue name should be equal in all three files.

Note: the BrowserWeb.war and TAFJJEE_EAR.ear can be opened using 7zip.


The files can be edited and saved using notepad.

6.2 Time out Settings in browser


The connection flow is descending order from browser to database
Browser -> jms -> mdb -> ejb -> tafj t24 -> datasource ->
database
The time out setting should be
Browser > jms > mdb > ejb > tafj t24 > datasource > database

6.3 Debug in Browser


To Debug in browser follow the below steps
1. Take a back of the file TAFJJEE_EAR.ear and remove the file from the folder
C:\Temenos\T24Enterprise\3rdParty\as\jboss\jboss4.2.3.GA\server\R13\deploy. Please note do not rename the file and have it
in the same folder. This will cause class loading problem.
2. Add the path C:\Temenos\T24Enterprise\TAFJ\appserver\basic\TAFJ.BP as
Basic folder using Add Basic Folder.
3. To do this you should navigate by right clicking the project T24
->properties -> TAFJ - > path

4. Click on apply and ok.


5. This should add TAFJ.BP in the project explorer.

6. Copy C:\Temenos\T24Enterprise\3rdParty\as\jboss\jboss4.2.3.GA\client\jbossall-client.jar to C:\Temenos\T24Enterprise\TAFJ\ext


7. Now start the jboss.
8. Open the routine you want to DEBUG and introduce break points in the
routine.
9. Run the routine BROWSER.LISTEN in DEBUG mode.
10.Launch the browser and use the browser.
11.Once the flow is in the line where the break point is present a DEBUG view
will open in the eclipse.

You might also like