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