0% found this document useful (0 votes)
64 views10 pages

How To Enable Separate Debug Port Option Using Tocfee: Steps To Be Followed

The document describes how to enable a separate debug port option using TOCFEE by following these steps: 1) Comment out the "actionTimeout" property from the ra.xml file located within the tocfT24ra-ra.rar file. 2) Deploy the tocfT24ra-ra.rar resource adapter without the "actionTimeout" property. 3) This will allow the specification of a separate "debugPort" property value for debugging purposes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views10 pages

How To Enable Separate Debug Port Option Using Tocfee: Steps To Be Followed

The document describes how to enable a separate debug port option using TOCFEE by following these steps: 1) Comment out the "actionTimeout" property from the ra.xml file located within the tocfT24ra-ra.rar file. 2) Deploy the tocfT24ra-ra.rar resource adapter without the "actionTimeout" property. 3) This will allow the specification of a separate "debugPort" property value for debugging purposes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

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))

HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE


Explore product details, discuss issues, find the latest news, and
contribute to best practices.

How to (/s/how-to)  >  HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE

        
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

HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE

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>

<description>Timeout of a remote action (seconds)</description>

<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>

<description>Debug port number</description>

<config-property-name>debugPort</config-property-name>

<config-property-type>java.lang.Integer</config-property-type>

</config-property>

             Note that the property "actionTimeout" is commented .


Then deploy the resource adapter "tocfT24ra-ra.rar" into the webserver.

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...

<?xml version="1.0" encoding="UTF-8"?>


((//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))
<!-- ==================================================================9999=============== -->

<!-- JBoss Server Configuration -->

<!-- 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>

<config-property name="hosts" type="java.lang.String">127.0.0.1</config-property>

<config-property name="ports" type="java.lang.String">20005</config-property>

<config-property name="loadBalancing" type="java.lang.Boolean">true</config-property>

<config-property name="allowInput" type="java.lang.Boolean">true</config-property>

<config-property name="compression" type="java.lang.Boolean">true</config-property>

<config-property name="compressionThreshold" type="java.lang.Integer">2048</config-property>

<config-property name="envVariables" type="java.lang.String">OFS_SOURCE=BROWSERTC</config-property>

<config-property name="charset" type="java.lang.String">ISO-8859-1</config-property>

<config-property name="debugPort" type="java.lang.Integer">30097</config-property>

<!--

<min-pool-size>6</min-pool-size>

<max-pool-size>10</max-pool-size>

<idle-timeout-minutes>15</idle-timeout-minutes>

<config-property name="SSL" type="java.lang.Boolean">true</config-property>

<config-property name="NaiveTrustManager" type="java.lang.Boolean">true</config-property>

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...

<config-property name="account" type="java.lang.String">MYACCOUNT</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))
<config-property name="user" type="java.lang.String">test</config-property>

<config-property name="password" type="java.lang.String">account_password</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))

New 'CUSTOMER' record opened after finishing the debug.

Hence debug using separate port is achieved through the TOCFEE.           

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:

Most Recent Activity Search this feed...

Collaborate here!
Here's where you start talking with your colleagues about this.

Supplier Information Terms of use Base Camp FAQ


www.temenos.com (https://www.temenos.com (https://www.temenos.com (https://basecamp.temenos.com Follow US
nformation /information-for- /legal-information /s/article-detail
suppliers/) /website-terms-and- /a046A000001lZe4QAE/temenos- (https://www.linkedin.com (https://www.linkedin.com (
conditions/) base-camp-faq) /company/temenos) /company/temenos/) /Temenos

10 of 10 2/10/2023, 8:26 PM

You might also like