Hello Philip, I met the same problem.
Does "webdav-connector-ds.xml" contain "<track-connection-by-tx/>" line? You can also see: http://www.mail-archive.com/[email protected]/msg09164.html -- Best regards, Andrew mailto:[EMAIL PROTECTED] PAM> I am trying to run the JCA connector example and get an exception when PAM> the TestServlet attempts to commit the transaction. PAM> The Jboss console output looks like this: PAM> 15:50:56,421 INFO [STDOUT] Tx: PAM> [EMAIL PROTECTED] PAM> 15:50:56,421 INFO [STDOUT] Factory: PAM> [EMAIL PROTECTED] PAM> 15:50:56,453 INFO [STDOUT] Getting connection with spec PAM> [EMAIL PROTECTED] PAM> 15:50:56,468 INFO [STDOUT] Opening: PAM> http://localhost:8888/slide/files PAM> 15:50:57,328 INFO [STDOUT] Opened PAM> 15:50:57,359 INFO [STDOUT] Statring PAM> http://localhost:8888/slide/files PAM> 15:50:57,484 INFO [STDOUT] Connection1: PAM> [EMAIL PROTECTED] PAM> 15:50:57,531 INFO [STDOUT] WR1: PAM> http://localhost:8888/slide/files PAM> 15:50:57,531 INFO [STDOUT] WR2: PAM> http://localhost:8888/slide/files PAM> 15:50:58,218 INFO [STDOUT] WR1 sees Content PAM> 15:50:58,218 INFO [STDOUT] WR2 sees this before commit asdfasdf PAM> 15:50:58,218 WARN [TransactionImpl] XAException: PAM> tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=cherry//14, PAM> BranchQual=] e PAM> rrorCode=XAER_NOTA PAM> javax.transaction.xa.XAException PAM> at PAM> org.apache.commons.transaction.util.xa.AbstractXAResource.end(AbstractXAResource.java:133) PAM> at PAM> org.jboss.tm.TransactionImpl.endResource(TransactionImpl.java:1253) PAM> at PAM> org.jboss.tm.TransactionImpl.endResources(TransactionImpl.java:1331) PAM> at PAM> org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:355) PAM> at org.jboss.tm.TxManager.commit(TxManager.java:142) PAM> at PAM> org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:126) PAM> at connector.TestServlet.service(TestServlet.java:96) PAM> at PAM> javax.servlet.http.HttpServlet.service(HttpServlet.java:810) PAM> at PAM> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) PAM> and the console on the tomcat server hosting Slide looks like this: PAM> http-8888-Processor25, 22-Feb-2005 15:50:56, PAM> unauthenticated, PROPFIND, 207 "Multi-Status", 297 ms, /files PAM> http-8888-Processor25, 22-Feb-2005 15:50:57, PAM> unauthenticated, LOCK, 200 "OK", 78 ms, /files PAM> http-8888-Processor24, 22-Feb-2005 15:50:57, PAM> unauthenticated, PROPFIND, 207 "Multi-Status", 15 ms, /files PAM> 22 Feb 2005 15:50:57 - PAM> org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - PAM> Using external transaction PAM> <opaquelocktoken:d8c81f73151e9ce0b91a8a7647011695> PAM> http-8888-Processor25, 22-Feb-2005 15:50:57, PAM> unauthenticated, PUT, 204 "No Content", 516 ms, /files/file1 PAM> 22 Feb 2005 15:50:58 - PAM> org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - PAM> Using external transaction PAM> <opaquelocktoken:d8c81f73151e9ce0b91a8a7647011695> PAM> http-8888-Processor25, 22-Feb-2005 15:50:58, PAM> unauthenticated, GET, 200 "OK", 16 ms, /files/file1 PAM> http-8888-Processor24, 22-Feb-2005 15:50:58, PAM> unauthenticated, GET, 200 "OK", 47 ms, /files/file1 PAM> It appears to me that the example is working up to the point where PAM> the TestServlet attempts to commit the transaction. At that point the PAM> transaction manager seems to decide there is no transaction and throws the PAM> exception. PAM> I am running slide version 2.1 on Tomcat 5.0.28 and running the PAM> connector example on JBoss 3.2.6. Both are run under Sun JDK 1.4.2_07 PAM> on a Windows 2000 OS. PAM> To get the example running I added jdom-1.0.jar to the PAM> directory %JBOSS_HOME%\server\default\lib, otherwise I simply followed the PAM> instructions. PAM> Can anyone suggest an approach to debug this problem? What kind of PAM> experiences have others had attempting to run the JCA example? PAM> I would appreciate any pointers. PAM> Thanks, PAM> Phil McGee PAM> --------------------------------------------------------------------- PAM> To unsubscribe, e-mail: [EMAIL PROTECTED] PAM> For additional commands, e-mail: PAM> [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
