WebSphere/ トランザクションタイムアウト

■EJBコンテナ別のトランザクションタイムアウトの設定
Increase the lifetime timeout value of the WebSphere ESB application server:
1.If necessary, restart the application server.
2.Log in to the console.
 a.Open a browser, and navigate to the following URL: http://host_name:9060/ibm/console.
  Where:
   host_name is the fully qualified host name of the server
   where the application or the network deployment manager is deployed 9060 is the port
   used to access the console (The default port is 9060.)
 b.Enter your user ID and password. The user ID is required.
  A password is only required if security is enabled.
c.Click Log in.
3.Click Servers > Application Servers.
4.Click server_name.
5.Under Container Services, click Transaction Service.
6.Type a larger value for Total transaction lifetime timeout. For more information about setting the Transaction service settings, consult the WebSphere Application Server Information Center using the link provided below.
7.Restart the application server to make your changes effective.

■EJBアプリ別のグローバルトランザクションタイムアウトの設定
project > contextMenu > Java EE > WebSphere拡張機能デプロイメント記述子の生成
--> project > ejbModule > META-INF > ibm-ejb-jar-ext.xml > GUI

--------------------------------------------------
<'?xml version="1.0" encoding="UTF-8"?>
<'ejb-jar-ext xmlns="http://websphere.ibm.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://websphere.ibm.com/xml/ns/javaee http://websphere.ibm.com/xml/ns/javaee/ibm-ejb-jar-ext_1_0.xsd"
version="1.0">
  <'message-driven name="HogeMessageDrivenBean">
    <'global-transaction transaction-time-out="120" />
  <'/message-driven>
<'/ejb-jar-ext>
--------------------------------------------------

default global transaction timeout: 120 sec


ref:
http://www.coderanch.com/t/77252/Websphere/we-increase-tranasaction-time-ejb
http://www-01.ibm.com/support/docview.wss?rs=2307&context=SSQH9M&dc=DB560&dc=DB520&uid=swg21330852&loc=en_US&cs=UTF-8&lang=en&rss=ct2307websphere

tag : WebSphere

2009-06-18 23:40 : apsrv : コメント : 0 : トラックバック : 0 :
コメントの投稿
非公開コメント

« next  ホーム  prev »

search

ad



counter


tag cloud

category cloud