Please keep answers on the list so that other people can
follow the threads in the future. :-)
This fixes the problem for me.
The problem is caused because the 3.2 Transaction Manager,
no longer restarts suspended resources during commit.
You should use track by connection for resources that cannot
commit from suspended. JBossMQ is one of those.
Maybe there is another fix in 3.2.0beta2?
I don't know when the beta2 release is planned, but you can
get it from CVS
cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss login
cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss co -r Branch_3_2 jboss-3.2
Regards,
Adrian
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Antwort: Re: [JBoss-user] JMS , XAER_RMERR Exception
Date: Thu, 17 Oct 2002 09:31:38 +0200
Hello Adrian,
i fixed my jms-service.xml but I still get the same Exceptions...
Perhaps you can take a look at my jms-service.xml
Best regards,
Thomas
(See attached file: jms-service.xml)
"Adrian Brock"
<[EMAIL PROTECTED]> An: [EMAIL PROTECTED]
Gesendet von: Kopie:
[EMAIL PROTECTED] Thema: Re: [JBoss-user] JMS , XAER_RMERR Exception
ceforge.net
16.10.2002 15:42
Bitte antworten an
jboss-user
In server/default/deploy/jms-service.xml, set the TrackByConnectionTx
attribute to true.
This config is fixed for 3.2.0beta2
<!--new configuration for new ConnectionManager-->
<mbean code="org.jboss.resource.connectionmanager.XATxConnectionManager"
name="jboss.jca:service=XaTxCM,name=jmsra">
<!--make the rar deploy!-->
<depends>jboss.jca:service=RARDeployer</depends>
<attribute name="JndiName">JmsXA</attribute>
<!-- JBossMQ requires sessions tracked by transaction. Commit from
suspended is not supported -->
<attribute name="TrackConnectionByTx">true</attribute>
<depends optional-attribute-name="ManagedConnectionFactoryName">
<mbean code="org.jboss.resource.connectionmanager.RARDeployment"
name="jboss.jca:service=XaTxDS,name=jmsra">
Regards,
Adrian
>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [JBoss-user] JMS , XAER_RMERR Exception
>Date: Wed, 16 Oct 2002 14:33:54 +0200
>
>
>Hello,
>
>i have an CMP 2.0 application which uses JMS and Hypersonic DB. It uses
the
>default configuration coming
>with JBOSS 3.2.0beta. When sending a Message via JMS i get the following
>exception.
>
>I hope someone can help me...
>
>Best regards,
>
>Thomas
>
>
>14:07:04,978 WARN [TransactionImpl] XAException:
>tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=DVFR-W076//26,
>BranchQual=] errorCode=XAER_RMERR
>javax.transaction.xa.XAException
> at org.jboss.mq.SpyXAResource.prepare(SpyXAResource.java:178)
> at
>org.jboss.tm.TransactionImpl.prepareResources(TransactionImpl.java:1300)
> at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:350)
> at
>org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:322)
> at
>org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:643)
> at
>org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:457)
> at org.jboss.mq.SpySession.run(SpySession.java:329)
> at
org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:177)
> at
>EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:642)
> at java.lang.Thread.run(Thread.java:484)
>14:07:04,993 ERROR [StdServerSession] failed to commit/rollback
>javax.transaction.RollbackException: Unable to commit,
>tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=DVFR-W076//26,
>BranchQual=] status=STATUS_NO_TRANSACTION
> at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:371)
> at
>org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:322)
> at
>org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:643)
> at
>org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:457)
> at org.jboss.mq.SpySession.run(SpySession.java:329)
> at
org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:177)
> at
>EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:642)
> at java.lang.Thread.run(Thread.java:484)
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by: viaVerio will pay you up to
>$1,000 for every account that you consolidate with us.
>http://ad.doubleclick.net/clk;4749864;7604308;v?
>http://www.viaverio.com/consolidator/osdn.cfm
>_______________________________________________
>JBoss-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-user
_________________________________________________________________
Surf the Web without missing calls!�Get MSN Broadband.
http://resourcecenter.msn.com/access/plans/freeactivation.asp
-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
<< jms-service.xml >>
_________________________________________________________________
Unlimited Internet access -- and 2 months free!� Try MSN. http://resourcecenter.msn.com/access/plans/2monthsfree.asp
-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
