jivejdon3无法注册问题

07-06-19 beychang
我下了jivejdon3 RC版,run起来了,但是无法注册新用户,jboss抛出如下信息:

17:00:10,171 WARN [loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] Adding multiple last resources is disallowed. Current resource is org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@3db223

17:00:10,187 ERROR [AccountSSOSql] java.lang.Exception: SQLException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53ef7d9d:ae1:46779aa1:3e status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53ef7d9d:ae1:46779aa1:3e status: ActionStatus.ABORT_ONLY >))

17:00:10,187 ERROR [AccountDaoSql] java.lang.Exception: java.lang.Exception: SQLException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53ef7d9d:ae1:46779aa1:3e status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53ef7d9d:ae1:46779aa1:3e status: ActionStatus.ABORT_ONLY >))

17:00:10,187 ERROR [AccountServiceImp] createAccount error : java.lang.Exception: java.lang.Exception: java.lang.Exception: SQLException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53ef7d9d:ae1:46779aa1:3e status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53ef7d9d:ae1:46779aa1:3e status: ActionStatus.ABORT_ONLY >))

17:00:10,437 ERROR [ModelSaveAction] [JdonFramework] save error!! system.error

从ERROR信息看应该是说注册信息无法添加到数据库中,不能打开多个数据库连接。

请问要如何解决呢?

ps: jivejdon3 RC版的安装文档也有不少bug.

banq
2007-06-20 11:41
错误信息不是很明确

使用JBoss JTA和JBoss数据库连接池(配置mysql-ds.xml),用户数据库有两个数据源:一个是本地JiveJdon3 一个是注册中心数据库(可以和一个数据库)

fugui555
2007-06-22 11:02
我的也有这个问题

[该贴被fugui555于2007年06月22日 11:03修改过]

fugui555
2007-06-22 13:39
11:59:58,406 WARN [loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] Adding multiple last resources is disallowed. Current resource is org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@1d81acf

11:59:58,453 INFO [STDOUT] 2007-06-22 11:59:58,421 [http-127.0.0.1-9000-3] ERROR com.jdon.jivejdon.dao.sql.AccountSSOSql - java.lang.Exception: SQLException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -3f579b21:74e:467b4845:43 status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -3f579b21:74e:467b4845:43 status: ActionStatus.ABORT_ONLY >))

11:59:58,515 INFO [STDOUT] 2007-06-22 11:59:58,515 [http-127.0.0.1-9000-3] ERROR com.jdon.jivejdon.dao.sql.AccountDaoSql - java.lang.Exception: java.lang.Exception: SQLException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -3f579b21:74e:467b4845:43 status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -3f579b21:74e:467b4845:43 status: ActionStatus.ABORT_ONLY >))

11:59:58,531 INFO [STDOUT] 2007-06-22 11:59:58,531 [http-127.0.0.1-9000-3] ERROR com.jdon.jivejdon.service.imp.account.AccountServiceImp - createAccount error : java.lang.Exception: java.lang.Exception: java.lang.Exception: SQLException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -3f579b21:74e:467b4845:43 status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -3f579b21:74e:467b4845:43 status: ActionStatus.ABORT_ONLY >))

fugui555
2007-06-22 14:56
按banq大大所说把两个数据库合成一个后,就可以注册了 。相应数据源要改成一个

samchen
2007-10-02 17:44
我也遇到同样的问题,困惑我好几天了,看了回复,没有看大明白,不知那为大侠能再说清楚一点,问题是如何发生和解决的

xiaohufeilong
2008-11-07 15:10
我也是,有点晕

banq
2008-11-08 10:08
将dao.xml中的java:/带头的两个数据库源合并成一个。

猜你喜欢