How To Enable Separate Debug Port Option Using Tocfee: Steps To Be Followed
How To Enable Separate Debug Port Option Using Tocfee: Steps To Be Followed
((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
Rate Like Bookmark
(/s/profile/0056A000000izetQAA) H
HOOW
W TTO
O EN
NAAB L E SSEEPPA
AR A
ATTEE D E B U
UGG PPO
ORRTT O
OPPTTIIO
ONNU
USSIIN G TTO
OCCFFEEEE
Vinay Jain - Admin (/s/profile/0056A000000izetQAA) • Apr 12, 2021 • Technology > Core-Tech > Globus Browser (GB)
12
Introduction
The purpose of this document is to give an overview of the procedure to enable separate debug port option using TOCFEE.
Steps to be followed:
Step 1:
Before deploying the resource adapter "tocfT24ra-ra.rar" , comment the property "actionTimeout" from the ra.xml file present in the path (…..\tocfT24ra-ra.rar\META-
INF\ra.xml) as shown below.
1 of 10 2/10/2023, 8:26 PM
HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE https://basecamp.temenos.com/s/article-detail/a042K00001LAsX0QAL/how-to-enable-separa...
<config-property>
((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
<description>Character encoding</description>
<config-property-name>charset</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<!--
<config-property>
<config-property-name>actionTimeout</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>30</config-property-value>
</config-property>
-->
<config-property>
<config-property-name>debugPort</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
</config-property>
Step 2:
To enable the debug port, the 't24ConnectionFactory' of the resource adapter should be customized with following properties.
1. The property "actionTimeout" should be removed .
2. The property "allowInput" should be set as 'true'.
3. The property "debugPort" should be set to appropriate port number.
(note: "debugPort" should be specified only if separate debug port needed. For debugging in console no need to specify the "debugPort" property.
(a) If JBOSS webserver used to configure T24browser, then these properties should be specified in the t24-ds.xml file (……\jboss\server\default\deploy\t24-ds.xml)
2 of 10 2/10/2023, 8:26 PM
HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE https://basecamp.temenos.com/s/article-detail/a042K00001LAsX0QAL/how-to-enable-separa...
<!-- TOCF T24 Resource Adapter deployment for JBoss, configured for local connection -->
<connection-factories>
<tx-connection-factory>
<jndi-name>jca/t24ConnectionFactorybrowser</jndi-name>
<rar-name>tocfT24ra-ra.rar</rar-name>
<connection-definition>com.temenos.tocf.t24ra.T24ConnectionFactory</connection-definition>
<!--
<min-pool-size>6</min-pool-size>
<max-pool-size>10</max-pool-size>
<idle-timeout-minutes>15</idle-timeout-minutes>
3 of 10 2/10/2023, 8:26 PM
HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE https://basecamp.temenos.com/s/article-detail/a042K00001LAsX0QAL/how-to-enable-separa...
((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
<config-property name="user" type="java.lang.String">test</config-property>
-->
</tx-connection-factory>
</connection-factories>
Note that the property "actionTimeout" is not specified in the t24-ds.xml file.
(b) If Websphere server is used to configure T24 browser, then the above setting should be specified in the custom properties of the corresponding
T24ConnectionFactory under the resource adapter tocfT24ra-ra.
Custom properties are defined in the following path:
RReesso
ouurrccee a
adda
apptteerrss (http://maad10905225.asia.temenosgroup.com:9061/ibm/console/navigatorCmd.do?forwardName=J2CResourceAdapter.content.main&
WSC=true) >> TTO
OCCFF TT2244 RReesso
ouurrccee A
Adda
apptteerr (http://maad10905225.asia.temenosgroup.com:9061/ibm/console/j2CResourceAdapterCollection.do?EditAction=true&
refId=J2CResourceAdapter_1312354822574&contextId=cells:MAAD10905225Node02Cell:nodes:MAAD10905225Node02&resourceUri=resources.xml&
perspective=tab.configuration) >> JJ22C C cco
on nnneeccttiio
onn ffa
acctto
orriieess (http://maad10905225.asia.temenosgroup.com:9061/ibm/console
/com.ibm.ws.console.resources.database.forwardCmd.do?forwardName=J2CConnectionFactory.content.main.old&sfname=factories&scopetile=false&
resourceUri=resources.xml&parentRefId=J2CResourceAdapter_1312354822574&contextId=cells:MAAD10905225Node02Cell:nodes:MAAD10905225Node02&
perspective=tab.configuration) >> TT2244 JJC
CAAC
Coon
nnneeccttiio
onn FFa
acctto
orryy (http://maad10905225.asia.temenosgroup.com:9061/ibm/console
/j2CConnectionFactoryCollection.do?EditAction=true&refId=J2CConnectionFactory_1312354952275&
contextId=cells:MAAD10905225Node02Cell:nodes:MAAD10905225Node02&resourceUri=resources.xml&perspective=tab.configuration) >> C
Cuusstto
ommp
prro
oppeerrttiieess
4 of 10 2/10/2023, 8:26 PM
HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE https://basecamp.temenos.com/s/article-detail/a042K00001LAsX0QAL/how-to-enable-separa...
((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
Note that the property "actionTimeout" is set as "NULL" and "allowInput" is set as "true".
Step 3:
After the above settings done, start the webserver (Jboss or Websphere) and jbase agent.
5 of 10 2/10/2023, 8:26 PM
HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE https://basecamp.temenos.com/s/article-detail/a042K00001LAsX0QAL/how-to-enable-separa...
((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
Step 4:
Login into T24 through the browser and open a record through any of the application (for ex: CUSTOMER I F3), which will trigger the debug.
Step 5:
Now the debug will trigger and so to debug open a separate debug port (which is specified for the connection factory)
Ex:
6 of 10 2/10/2023, 8:26 PM
HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE https://basecamp.temenos.com/s/article-detail/a042K00001LAsX0QAL/how-to-enable-separa...
((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
Step 6:
Give command 'list' to display the ports which are waiting for debugging.
7 of 10 2/10/2023, 8:26 PM
HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE https://basecamp.temenos.com/s/article-detail/a042K00001LAsX0QAL/how-to-enable-separa...
Step 7:
((//ss//))for theC
Attach any of the port listed and waiting Coom
mmmu
unniitty
debugger. y
After LLeea
arrn
attaching nthe port, Pthe
Prro
oddu
uccttss
debugger TTrra
prompt aiin
niin
ng
will g
trigger. D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
Step 8:
Now, give any of the debugging command (like C or S) in debugger prompt as shown below similar to tcserver.
Step 9:
When command 'C' in debugger prompt , the port will disconnect after finishing the debug and the coresponding page will open as shown below
8 of 10 2/10/2023, 8:26 PM
HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE https://basecamp.temenos.com/s/article-detail/a042K00001LAsX0QAL/how-to-enable-separa...
((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
0 Comments
PPo
osstt Q
Quueessttiio
onn
9 of 10 2/10/2023, 8:26 PM
HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE https://basecamp.temenos.com/s/article-detail/a042K00001LAsX0QAL/how-to-enable-separa...
((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n an update...
Share PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
Share
Sort by:
Collaborate here!
Here's where you start talking with your colleagues about this.
10 of 10 2/10/2023, 8:26 PM