Použít rozšíření WebSphere k definování časového limitu transakce v sekundách

Prvek <trans-timeout-seconds> určuje maximální trvání pro transakce container-initiated objektu enterprise bean. Pokud transakce trvá déle než <trans-timeout-seconds>, kontejner EJB pro server WebLogic se vrátí k předchozí verzi transakce. Toto pravidlo zjistí prvek <trans-timeout-seconds> specifický pro WebLiga. weblogic-ejb-jar.xml

< weblogic-ejb-jar>
< span class="indent"> < /span> < span class="indent"> < /span> < weblogic-enterprise-bean>
< span class="indent"> < /span> < span class="indent"> < /span> < span class="indent"> < /span> < transaction-descriptor>
<trans-timeout-seconds>20</trans-timeout-seconds>
</transaction-descriptor>
...
</weblogic-enterprise-bean>
</weblogic-ejb-jar>

Automatická oprava přenese hodnotu trans-timeout-seconds na hodnotu odpovídající WebSphere(R ) Aplikační server souboru s rozšířeními.