我目前正試圖升級從JBoss的5.1我的web應用到JBoss 7.1.1.Final的Jboss 7.1 EJB 2.1的定製事務超時配置
在我的jboss.xml我已經配置了一些自定義EJB超時像下面:
<session>
<ejb-name>MSServiceEJB</ejb-name>
<jndi-name>ejb/MSServiceEJB</jndi-name>
<local-jndi-name>ejb/LocalMSServiceEJB</local-jndi-name>
<method-attributes>
<method>
<method-name>*</method-name>
<transaction-timeout>3600</transaction-timeout>
</method>
</method-attributes>
</session>
jboss 7忽略jboss.xml,我可以在哪裏指定我的ejb 2.1事務超時?
@Yishai:謝謝你的更新sir :-) –
如果有人問自己爲xxmns設置了tx:它是「urn:trans-timeout」(描述過[這裏](https://docs.jboss.org/author/display/AS7/EJB+3+Reference+Guide)) –