ITPub博客

首页 > 应用开发 > Java > JBOSS--Transaction is not active

JBOSS--Transaction is not active

原创 Java 作者:haijie1984 时间:2009-02-20 13:44:21 0 删除 编辑

出错信息:

无法生成规则应用 : org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=chinalif-jsrl86/4953, BranchQual=, localId=4953]; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=chinalif-jsrl86/4953, BranchQual=, localId=4953])

出错原因:事务超时。

方法:在server|default|conf|jboss-service.xml中将

name="jboss:service=TransactionManager"
xmbean-dd="resource:xmdesc/TransactionManagerService-xmbean.xml">
300

将此处的300秒改成900秒。

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7282477/viewspace-1017626/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 帮助文档制作
请登录后发表评论 登录
全部评论

注册时间:2009-06-23

  • 博文量
    37
  • 访问量
    415685