You are on page 1of 9

HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE IN JBOSS EAP https://basecamp.temenos.com/s/article-detail/a042K00001LAsX5QAL/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))

Article Details
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 IN JBOSS EAP

        
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 I N
N JB
BOOSSSS EEA
AP
Vinay Jain - Admin (/s/profile/0056A000000izetQAA)  •  Apr 09, 2021  •  Technology > Core-Tech > Globus Browser (GB)

      13

HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE IN JBOSS EAP

Introduction
The purpose of this document is to give an overview of the procedure to enable a 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 9 2/10/2023, 8:25 PM
HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE IN JBOSS EAP https://basecamp.temenos.com/s/article-detail/a042K00001LAsX5QAL/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 the 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 the appropriate port number.

(Note: "debugPort" should be specified only if a separate debug port needed. For debugging in console no need to specify the "debugPort" property.
1. If Jboss EAP webserver used to configure T24browser, then these properties should be specified in the standalone.xml file used in your environment (……jboss-
eap\standalone\configuration\standalone.xml)

2 of 9 2/10/2023, 8:25 PM
HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE IN JBOSS EAP https://basecamp.temenos.com/s/article-detail/a042K00001LAsX5QAL/how-to-enable-separa...

<subsystem xmlns="urn:jboss:domain:resource-adapters:1.1">
((//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))
<resource-adapters>

<resource-adapter id="tocfT24ra-ra.rar">

<archive>

tocfT24ra-ra.rar

</archive>

<transaction-support>XATransaction</transaction-support>

<config-property name="listenPort">

</config-property>

<config-property name="listenHost">

10.92.11.13

</config-property>

<connection-definitions>

<connection-definition class-name="com.temenos.tocf.t24ra.outbound.T24ManagedConnectionFactory" jndi-name="java:/jca/t24ConnectionFactory"


pool-name="T24ConnectionFactoryDocDownld">

<config-property name="ports">

20002

</config-property>

<config-property name="actionTimeout">

</config-property>

<config-property name="allowInput">

true

</config-property>

<config-property name="debugPort">

3 of 9 2/10/2023, 8:25 PM
HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE IN JBOSS EAP https://basecamp.temenos.com/s/article-detail/a042K00001LAsX5QAL/how-to-enable-separa...

20029
((//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>

<config-property name="envVariables">

OFS_SOURCE=BROWSERTC

</config-property>

<config-property name="compressionThreshold">

2048

</config-property>

<config-property name="hosts">

10.92.11.13

</config-property>

<config-property name="charset">

windows-1251

</config-property>

<config-property name="compression">

false

</config-property>

<config-property name="loadBalancing">

false

</config-property>

</connection-definition>

</connection-definitions>

</resource-adapter>

</resource-adapters>

</subsystem>

4 of 9 2/10/2023, 8:25 PM
HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE IN JBOSS EAP https://basecamp.temenos.com/s/article-detail/a042K00001LAsX5QAL/how-to-enable-separa...

Step 3: 
((//ss/the
After the above settings are done, start /)) webserver
CCo
ommm
mu unniittyy EAP) and
(Jboss LLeeaarrn
n agent.PPrro
jbase 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 applications (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:           

5 of 9 2/10/2023, 8:25 PM
HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE IN JBOSS EAP https://basecamp.temenos.com/s/article-detail/a042K00001LAsX5QAL/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.

6 of 9 2/10/2023, 8:25 PM
HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE IN JBOSS EAP https://basecamp.temenos.com/s/article-detail/a042K00001LAsX5QAL/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 the 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

The new 'CUSTOMER' record opened after finishing the debug.

7 of 9 2/10/2023, 8:25 PM
HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE IN JBOSS EAP https://basecamp.temenos.com/s/article-detail/a042K00001LAsX5QAL/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

Share an update... Share

Sort by:

Most Recent Activity Search this feed...

8 of 9 2/10/2023, 8:25 PM
HOW TO ENABLE SEPARATE DEBUG PORT OPTION USING TOCFEE IN JBOSS EAP https://basecamp.temenos.com/s/article-detail/a042K00001LAsX5QAL/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))

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

9 of 9 2/10/2023, 8:25 PM

You might also like