users@genericjmsra.java.net

Re: Still problems with commit failures. help much appreciated.

From: James Richardson <james_at_time4tea.net>
Date: Mon, 29 Oct 2007 13:37:08 -0000 (UTC)

>
> Hi James,
> You want to do XA transaction where one resource is the TIBCO EMS
> inbound JMS resource and the other resource is the outbound hibernate XA
> resource Is this correct ?
> Could you please post your genericra configuration (from domain.xml).
>
> Redelivery comes into the picture only when an exception is thrown in
> the onMessage method. In your case the XA transation should just be
> rolled back when the method ends. So, i dont think redelivery comes
> into the picture here
> Can you turn on jts, jta, connector and generic ra logs to finest and
> send us the logs, we have to ensure if rollback is called on both the
> resources.
>
>
> Thanks
> -Ramesh

Right - I have TIBCO as an inbound and outbound JMS resource and hibernate
as the other.

I just switched on all the log levels and ran my simple test. Rather
confusingly it looks it worked exactly as anticipated.

I think I need to be more specific in my tests differentiating between
failures in the commit phase and those causing 'application exceptions'.
Currently there is a belief in the team that 'it doesn't work' - but now i
need to tie that down a little.

Thanks for your help - especially clarifying when redelivery (as far as
the JMSRA is concerned) plays a part.

James