Thursday 11 July 2013

SOA 10G : EJB transaction-timeout

Setting individual EJB transaction-timeout:
A. Unzip the ejb_ob_engine.jar file located under
SOA_ORACLE_HOME/j2ee/home/applications/orabpel
B. Modify the META-INF/orion-ejb-jar.xml file inside by changing
transaction-timeout on all the EJBs.
Set transaction-timeout to 3600
C. Rejar ejb_ob_engine.jar.
D. Rename
$SOA_Home\j2ee\oc4j_soa\application-deployments\orabpel\ejb_ob_engine
Restart the OC4J container.
[On restart application-deployments\orabpel\ejb_ob_engine will be recreated
with the modified transaction-timeout values]


2.Setting Global transaction-timeout
A. Remove all the transaction-timeout attributes from the
META-INF/orion-ejb-jar.xml file
(See the previous steps for accessing this file).
B. Change the transaction-timeout value in
SOA_ORACLE_HOME/j2ee/home/config/transaction-manager.xml
C. Restart the OC4J container.

No comments:

Post a Comment