]
Zefa Guan updated JBTM-2746:
----------------------------
Affects Version/s: 5.3.4.Final
facing performane issue when setup narayana JTA and txbridge out of
JBoss
-------------------------------------------------------------------------
Key: JBTM-2746
URL:
https://issues.jboss.org/browse/JBTM-2746
Project: JBoss Transaction Manager
Issue Type: Enhancement
Affects Versions: 5.3.4.Final
Reporter: Zefa Guan
Attachments: ServiceA_logs.zip, ServiceB_logs.zip, ServiceC_logs.zip
when setup txbridge under Tomcat8 out of JBoss, I am facing performance issue as below
scenario;
1) running 3 tomcat instances
2) A call B via WS
3) B call C via WS
4) when 100 - 200 GET query from "
http://localhost:8081/user?action=add " via
Service A, all 3 tomcat got stuck for a while then raise exception with attached logs
sth similar with quickstart example but no EJB and out of JBoss from
https://github.com/jbosstm/quickstart/tree/master/XTS
==================================================
WS-AT to JTA (Multi Hop)
This example demonstrates a JTA client that invokes a remote EJB over Web services. The
JTA transaction is distributed to the remote EJB using WS-AtomicTransaction. The service
also acts as a client to a second service. Again using WS-AT to distribute the transaction
over Web services.
==================================================
{code}
servlet client - localhost:8081/user?action=add
|
--------------------------------------------------------------
ServiceA Tomcat
Narayana JTA
Webservie - localhost:8082/user?action=add
--------------------------------------------------------------
|
txbridge
|
--------------------------------------------------------------
ServiceB Tomcat
Narayana JTA
Webservie - localhost:8083/user?action=add
--------------------------------------------------------------
|
txbridge
|
--------------------------------------------------------------
ServiceB Tomcat
Narayana JTA
--------------------------------------------------------------
{code}
---------------------------------------------
this may caused by race condition/socket timeout/exceed limits, will need to reproduce
and research more;
at the beginning I thought it was caused by DB resource locking failed but after I
commented out all DB access, the problem still there
put all my code to
https://github.com/JonkeyGuan/txbridgeInTomcat8 for reproducing and
reference