Quoting sergio salvi <[EMAIL PROTECTED]>:

> I've developed a service using Kandula. 
> when I run it the first time it works but when I try
> to execute multiple client that simultaneously invoke
> the service many transactions throw a
> rollbackException caused probably by the 'prepare'.
> in attached there is the source code of the XAResource
> that implements the prepare function.
> Is it possible that the problem lies on the
> getInstace() function?


If I understand this correct you have a singleton class which is used as the 
resource in several transactions. However, in the prepare method, if the Xid is 
not the one stored in the tx attribute you throw an exception. So, now 
think... :-)

thanks,
--dasarath


> 
> thanks
> 
> Sergio
> 
> __________________________________________________
> Do You Yahoo!?
> Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto
> spazio gratuito per i tuoi file e i messaggi 
> http://mail.yahoo.it 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to