Problem:
- Product Name: Borland Application Server
- Product Version: 6.5, 6.6 and 6.7
- Product Component:OTS (2-phrase commit transaction engine)
- Platform/OS version: All
OTS will hang if application use the default setting of "vbroker.se.iiop_tp.scm.iiop_tp.dispatcher.threadMax=0" in the OTS's vbroker.properties. The problem occurs when multi-threaded client request for global transaction in Borland Application server.
OTS is implemented as a VBC Server. The default property "vbroker.se.iiop_tp.scm.iiop_tp.dispatcher.threadMax=0" does not means unlimited thread. Since BES 6.5, VBC implements heuristic value for this property if the value is not set. The default value will not work if the concurrent client request is high (for example, more than 20 threads request for global transaction).
Resolution:
The user is requested to tune this value to prevent the system from hanging and improve the OTS throughput.
You can change this value by following the steps listed below:
1. Open <BES install>/var/domains/base/configurations/<config-name>/mos/ots/vbroker.properties
2. Set vbroker.se.iiop_tp.scm.iiop_tp.dispatcher.threadMax to a value to reflect your application load
3. Restart application server
#VisiBroker
#Security
#BorlandApplicationServer
#hang
#BES
#OTS
#ApplicationServer
#threadMax
#AppServer