JBOSS-事务未激活错误

JBOSS-事务未激活错误,jboss,transactions,heap-size,Jboss,Transactions,Heap Size,当我运行JBOSS时,我得到如下事务超时错误 SystemException The following problem occured: null; nested exception is: java.lang.IllegalStateException: [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] [com.arjuna.ats.internal.jta.transaction.a rjunaco

当我运行JBOSS时,我得到如下事务超时错误

SystemException The following problem occured: null; nested exception is:
        java.lang.IllegalStateException: [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] [com.arjuna.ats.internal.jta.transaction.a
rjunacore.inactive] The transaction is not active!; - nested throwable: (java.lang.IllegalStateException: [com.arjuna.ats.internal.jta.transactio
n.arjunacore.inactive] [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] The transaction is not active!): null; nested exception is:

        java.lang.IllegalStateException: [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] [com.arjuna.ats.internal.jta.transaction.a
rjunacore.inactive] The transaction is not active!; - nested throwable: (java.lang.IllegalStateException: [com.arjuna.ats.internal.jta.transactio
n.arjunacore.inactive] [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] The transaction is not active!): [com.arjuna.ats.internal.jt
a.transaction.arjunacore.inactive] [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] The transaction is not active! called at com.jco
ffee.base.global.ExceptionMapper.handleException(ExceptionMapper.java:240)
我在谷歌上搜索了错误,找到了一个解决方案,将事务超时从300更改为更高的值,我这样做了

   <mbean code="com.arjuna.ats.jbossatx.jta.TransactionManagerService"
      name="jboss:service=TransactionManager">
      <attribute name="TransactionTimeout">3000</attribute>
      <attribute name="ObjectStoreDir">${jboss.server.data.dir}/tx-object-store</attribute> 
   </mbean>
在错误发生之前,垃圾收集器卸载大量类,RAM只剩下很少MB的可用空间。我有大约6GB的RAM+3GB的页面文件

任何帮助都将不胜感激


先谢谢你

当事务超时时,我看到了异常,我认为增加超时应该可以解决问题。
尝试将事务超时设置为显示的对象。(使用BMT部分)

这是一个BeanManagedTransaction?@GabrielAramburu是的。
-Xms2000m  
-Xmx2000m
-XX:PermSize=256M
-XX:MaxPermSize=256m