Hi John,

I made a submission to the HEAD to fix external transaction support last
night. If you are using client-side transactions then this may have
introduced the problem but it is working in the Slide 2.1 release currently.
To be using client-side transactions you would be calling the WebdavResource
startTransaction(), abortTransaction() and commitTransaction() methods to
wrap your requests to the Slide server. If you're using client-side
transactions then I've made a change to four files that you will need to
pick up for the fix. They are AbstractWebdavMethod.java,
EventCollectionFilter.java, the server UnlockMethod.java and client
WevdavResource.java. Whenever you start a transaction with
startTransaction() you should use the same path to abort or commit that
transaction otherwise the webdav client can lose track of the transaction
lock. I've been using the "/slide" path for transactions.

If you're not using client side transactions then this is probably not the
issue as the conditions met by isEndOfTransactionRequest() are only met by
an external transaction and specifically by an UnlockMethod that contains a
commit or abort command.

Warwick



> -----Original Message-----
> From: John Rousseau [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 08, 2004 1:17 PM
> To: Slide Users Mailing List
> Subject: WCK Transaction error during commit
> 
> 
> I've been working with WCK for about a week now and today I started 
> seeing these exceptions. I backed out all recent 
> configuration changes 
> and updated from HEAD, but I'm still seeing these.
> 
> The exception is caused by commons/transaction's 
> AbstractXAResource not 
> being able to find the current transaction, but I have no idea why.
> 
> Ideas?
> 
> Thanks
> -John
> 
> 
> 08 Dec 2004 13:24:43 - 
> org.apache.slide.transaction.SlideTransaction - WARNING - 
> Commit failure: Resource manager 
> [EMAIL PROTECTED] Error code 
> XAER_NOTA in Transaction 2 xid [EMAIL PROTECTED]@a0d37f in thread 
> PoolThread-14 javax.transaction.xa.XAException
>       at 
> org.apache.commons.transaction.util.xa.AbstractXAResource.comm
> it(AbstractXAResource.java:69)
>       at 
> org.apache.slide.transaction.SlideTransaction.commit(SlideTran
> saction.java:300)
>       at 
> org.apache.slide.transaction.SlideTransactionManager.commit(Sl
> ideTransactionManager.java:186)
>       at 
> org.apache.slide.common.NamespaceAccessTokenImpl.commit(Namesp
> aceAccessTokenImpl.java:423)
>       at 
> org.apache.slide.webdav.method.AbstractWebdavMethod.run(Abstra
> ctWebdavMethod.java:463)
>       at 
> org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:151)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>       at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:354)
>       at 
> org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter
> (WebApplicationHandler.java:342)
>       at 
> org.apache.slide.webdav.filter.LogFilter.doFilter(LogFilter.java:141)
>       at 
> org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter
> (WebApplicationHandler.java:334)
>       at 
> com.ris.manager.gateway.http.IPAddressRestriction.doFilter(IPA
> ddressRestriction.java:248)
>       at 
> org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter
> (WebApplicationHandler.java:334)
>       at 
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebAp
> plicationHandler.java:286)
>       at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler
> .java:567)
>       at org.mortbay.http.HttpContext.handle(HttpContext.java:1808)
>       at 
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebAppl
> icationContext.java:525)
>       at org.mortbay.http.HttpContext.handle(HttpContext.java:1758)
>       at org.mortbay.http.HttpServer.service(HttpServer.java:879)
>       at 
> org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
>       at 
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952)
>       at 
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
>       at 
> org.mortbay.http.SocketListener.handleConnection(SocketListene
> r.java:197)
>       at 
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
>       at 
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:501)
>       
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to