首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

Jboss中EJB使用时,同时调用两个数据源的时候出现有关问题

2012-09-09 
Jboss中EJB使用时,同时调用两个数据源的时候出现问题同时调用两个数据源程序会报错[com.arjuna.ats.intern

Jboss中EJB使用时,同时调用两个数据源的时候出现问题
同时调用两个数据源程序会报错[com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] Adding multiple last
resources is disallowed. Current resource is org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@d006a7
需要在jboss 配置文件jbossjta-properties.xml中增加<property name="com.arjuna.ats.jta.allowMultipleLastResources" value="true"/> 这个,配置后应用正常。

热点排行