RE: Re[10]: WebDAV JCA status=STATUS_NO_TRANSACTION
Hello Oliver, It is great. Thank you for attention. -- Best regards, Andrewmailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] Sent: Wed 1/5/2005 9:40 PM To: Andrey Tibets Cc: Slide Users Mailing List Subject: Re: Re[10]: WebDAV JCA status=STATUS_NO_TRANSACTION Super-Olli fixed this now. Has been a bug introduced between 1.0rc1 and 1.0 final of commons transaction. XidWrapper did not properly convert the xid into a string when using JBoss as the global id is encoded as a byte array which will become something like [EMAIL PROTECTED] when converted with toString. new String(byte[]) does it right. I have replaced the commons tx jars in both 2.1 and head branch. This should thus be fixed in both 2.1.1 and 2.2. Short term solution is to roll back to commons transaction 1.0rc1 or the version currently in Slide CVS. Andrew, thanks for reporting this and cheers Oliver On Wed, 5 Jan 2005 19:26:58 +0100, Oliver Zeigermann <[EMAIL PROTECTED]> wrote: > OK, I was able to reproduce your observation and honestly am more than > surprised. I will try to find out now how the logging thing influenced > to connector... > > Oliver > > On Wed, 5 Jan 2005 13:53:15 +0200, Andrew Tibets > <[EMAIL PROTECTED]> wrote: > > Hello Oliver, > > > > Yes it is, it works with final slide2.1 + commons-transaction-1.0rc1.jar > > and there are exceptions with final slide2.1 + commons-transaction-1.0.jar. > > > > At start jboss there is message in log: > > DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Unable to retrieve orb > > javax.management.InstanceNotFoundException: jboss:service=CorbaORB is not > > registered. > > > > But there are not other exceptions exclude XAException errorCode=XAER_NOTA > > and XAException status=STATUS_NO_TRANSACTION. > > > > Thanks > > -- > > Best regards, > > Andrewmailto:[EMAIL PROTECTED] > > > > > > Wednesday, January 5, 2005, 1:17:08 PM, you wrote: > > > > OZ> Hi Andrew, > > > > OZ> does that mean it works with commons-tx1.0rc1, but not with the final > > OZ> version? The only changes that were to check if a certain lock level > > OZ> was enabled. Maybe this caused some obscure errors. > > > > OZ> Is there any other exception, maybe in the log files? > > > > OZ> Oliver > > > > OZ> On Wed, 5 Jan 2005 12:02:29 +0200, Andrew Tibets > > OZ> <[EMAIL PROTECTED]> wrote: > > >> Hello Oliver, > > >> > > >> The error is still being with slide 2.1. > > >> The slide.war and webdav-2.1.rar were deployed correctly. > > >> For jboss-3.2.5 I used webdav-connector-ds.xml shipped with Slide, for > > >> jboss-4.0.0 > > >> webdav-connector-ds.xml: > > >> > > >> > > >>WebDAV-Connector > > >> > > >> > > >> > > >> test-webdav-files-0.1.ear#webdav-2.1.rar > > >> > > >> javax.resource.cci.ConnectionFactory > > >>20 > > >> > > >> > > >> > > >> > > >> In all cases, slide test and my test, I get exception: > > >> WARN [org.jboss.tm.TransactionImpl] XAException: > > >> tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=pc268/14, > > >> BranchQual=, localId=14] > > >> errorCode=XAER_NOTA > > >> javax.transaction.xa.XAException > > >> at > > >> org.apache.commons.transaction.util.xa.AbstractXAResource.end(AbstractXAResource.java:133) > > >> at > > >> org.jboss.tm.TransactionImpl$Resource.endResource(TransactionImpl.java:2031) > > >> at > > >> org.jboss.tm.TransactionImpl$Resource.endResource(TransactionImpl.java:2006) > > >> ... > > >> ERROR [org.jboss.web.localhost.Engine] > > >> StandardWrapperValve[Test]: Servlet.service() for servlet Test > > >> threw exception > > >>org.jboss.tm.JBossRollbackException: Unable to commit, > > >> tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=pc268/14, > > >> BranchQual=, localId=14] > > >>status=STATUS_NO_TRANSACTION; - nested throwable: > > >> (javax.transaction.xa.XAException) > > >> at > > >> org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:344) > > >> at org.jboss.tm.TxManager.commit(TxManager.java:200) > > >&g
Re: Re[10]: WebDAV JCA status=STATUS_NO_TRANSACTION
Super-Olli fixed this now. Has been a bug introduced between 1.0rc1 and 1.0 final of commons transaction. XidWrapper did not properly convert the xid into a string when using JBoss as the global id is encoded as a byte array which will become something like [EMAIL PROTECTED] when converted with toString. new String(byte[]) does it right. I have replaced the commons tx jars in both 2.1 and head branch. This should thus be fixed in both 2.1.1 and 2.2. Short term solution is to roll back to commons transaction 1.0rc1 or the version currently in Slide CVS. Andrew, thanks for reporting this and cheers Oliver On Wed, 5 Jan 2005 19:26:58 +0100, Oliver Zeigermann <[EMAIL PROTECTED]> wrote: > OK, I was able to reproduce your observation and honestly am more than > surprised. I will try to find out now how the logging thing influenced > to connector... > > Oliver > > On Wed, 5 Jan 2005 13:53:15 +0200, Andrew Tibets > <[EMAIL PROTECTED]> wrote: > > Hello Oliver, > > > > Yes it is, it works with final slide2.1 + commons-transaction-1.0rc1.jar > > and there are exceptions with final slide2.1 + commons-transaction-1.0.jar. > > > > At start jboss there is message in log: > > DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Unable to retrieve orb > > javax.management.InstanceNotFoundException: jboss:service=CorbaORB is not > > registered. > > > > But there are not other exceptions exclude XAException errorCode=XAER_NOTA > > and XAException status=STATUS_NO_TRANSACTION. > > > > Thanks > > -- > > Best regards, > > Andrewmailto:[EMAIL PROTECTED] > > > > > > Wednesday, January 5, 2005, 1:17:08 PM, you wrote: > > > > OZ> Hi Andrew, > > > > OZ> does that mean it works with commons-tx1.0rc1, but not with the final > > OZ> version? The only changes that were to check if a certain lock level > > OZ> was enabled. Maybe this caused some obscure errors. > > > > OZ> Is there any other exception, maybe in the log files? > > > > OZ> Oliver > > > > OZ> On Wed, 5 Jan 2005 12:02:29 +0200, Andrew Tibets > > OZ> <[EMAIL PROTECTED]> wrote: > > >> Hello Oliver, > > >> > > >> The error is still being with slide 2.1. > > >> The slide.war and webdav-2.1.rar were deployed correctly. > > >> For jboss-3.2.5 I used webdav-connector-ds.xml shipped with Slide, for > > >> jboss-4.0.0 > > >> webdav-connector-ds.xml: > > >> > > >> > > >>WebDAV-Connector > > >> > > >> > > >> > > >> test-webdav-files-0.1.ear#webdav-2.1.rar > > >> > > >> javax.resource.cci.ConnectionFactory > > >>20 > > >> > > >> > > >> > > >> > > >> In all cases, slide test and my test, I get exception: > > >> WARN [org.jboss.tm.TransactionImpl] XAException: > > >> tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=pc268/14, > > >> BranchQual=, localId=14] > > >> errorCode=XAER_NOTA > > >> javax.transaction.xa.XAException > > >> at > > >> org.apache.commons.transaction.util.xa.AbstractXAResource.end(AbstractXAResource.java:133) > > >> at > > >> org.jboss.tm.TransactionImpl$Resource.endResource(TransactionImpl.java:2031) > > >> at > > >> org.jboss.tm.TransactionImpl$Resource.endResource(TransactionImpl.java:2006) > > >> ... > > >> ERROR [org.jboss.web.localhost.Engine] > > >> StandardWrapperValve[Test]: Servlet.service() for servlet Test > > >> threw exception > > >>org.jboss.tm.JBossRollbackException: Unable to commit, > > >> tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=pc268/14, > > >> BranchQual=, localId=14] > > >>status=STATUS_NO_TRANSACTION; - nested throwable: > > >> (javax.transaction.xa.XAException) > > >> at > > >> org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:344) > > >> at org.jboss.tm.TxManager.commit(TxManager.java:200) > > >> > > >> If I click Ctrl+C, I get message: > > >> > > >> INFO [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all > > >> packages > > >> â > > >> INFO [STDOUT] 05 Jan 2005 10:48:29 - > > >> org.apache.slide.common.Namespace > > >> - INFO - Shutting down service > > >> tx(org.apache.slide.store.ExtendedStore) > > >> INFO [STDOUT] 05 Jan 2005 10:48:29 - > > >> org.apache.commons.transaction.file.FileResourceManager > > >> - INFO - Stopping RM at 'store/metadata' / 'work/metadata' > > >> INFO [STDOUT] 05 Jan 2005 10:48:29 - > > >> org.apache.commons.transaction.file.FileResourceManager > > >> - INFO - Waiting for tx [EMAIL PROTECTED] to finish for 24 > > >> milli seconds > > >> DEBUG > > >> [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] > > >> Notified to shutdown > > >> DEBUG > > >> [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] > > >> Shutdown > > >> INFO [STDOUT] 05 Jan 2005 10:52:29 - > > >> org.apache.commons.transaction.file.FileResourceManager > > >> - WARNING - Tx [EMAIL PROTECTED] failed to finish in given time > > >> INFO [STDOUT] 05 Jan 2005 10:52:29 - > > >> org.apache.c
Re: Re[10]: WebDAV JCA status=STATUS_NO_TRANSACTION
OK, I was able to reproduce your observation and honestly am more than surprised. I will try to find out now how the logging thing influenced to connector... Oliver On Wed, 5 Jan 2005 13:53:15 +0200, Andrew Tibets <[EMAIL PROTECTED]> wrote: > Hello Oliver, > > Yes it is, it works with final slide2.1 + commons-transaction-1.0rc1.jar > and there are exceptions with final slide2.1 + commons-transaction-1.0.jar. > > At start jboss there is message in log: > DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Unable to retrieve orb > javax.management.InstanceNotFoundException: jboss:service=CorbaORB is not > registered. > > But there are not other exceptions exclude XAException errorCode=XAER_NOTA > and XAException status=STATUS_NO_TRANSACTION. > > Thanks > -- > Best regards, > Andrewmailto:[EMAIL PROTECTED] > > > Wednesday, January 5, 2005, 1:17:08 PM, you wrote: > > OZ> Hi Andrew, > > OZ> does that mean it works with commons-tx1.0rc1, but not with the final > OZ> version? The only changes that were to check if a certain lock level > OZ> was enabled. Maybe this caused some obscure errors. > > OZ> Is there any other exception, maybe in the log files? > > OZ> Oliver > > OZ> On Wed, 5 Jan 2005 12:02:29 +0200, Andrew Tibets > OZ> <[EMAIL PROTECTED]> wrote: > >> Hello Oliver, > >> > >> The error is still being with slide 2.1. > >> The slide.war and webdav-2.1.rar were deployed correctly. > >> For jboss-3.2.5 I used webdav-connector-ds.xml shipped with Slide, for > >> jboss-4.0.0 > >> webdav-connector-ds.xml: > >> > >> > >>WebDAV-Connector > >> > >> > >> > >> test-webdav-files-0.1.ear#webdav-2.1.rar > >> > >> javax.resource.cci.ConnectionFactory > >>20 > >> > >> > >> > >> > >> In all cases, slide test and my test, I get exception: > >> WARN [org.jboss.tm.TransactionImpl] XAException: > >> tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=pc268/14, > >> BranchQual=, localId=14] > >> errorCode=XAER_NOTA > >> javax.transaction.xa.XAException > >> at > >> org.apache.commons.transaction.util.xa.AbstractXAResource.end(AbstractXAResource.java:133) > >> at > >> org.jboss.tm.TransactionImpl$Resource.endResource(TransactionImpl.java:2031) > >> at > >> org.jboss.tm.TransactionImpl$Resource.endResource(TransactionImpl.java:2006) > >> ... > >> ERROR [org.jboss.web.localhost.Engine] > >> StandardWrapperValve[Test]: Servlet.service() for servlet Test > >> threw exception > >>org.jboss.tm.JBossRollbackException: Unable to commit, > >> tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=pc268/14, > >> BranchQual=, localId=14] > >>status=STATUS_NO_TRANSACTION; - nested throwable: > >> (javax.transaction.xa.XAException) > >> at > >> org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:344) > >> at org.jboss.tm.TxManager.commit(TxManager.java:200) > >> > >> If I click Ctrl+C, I get message: > >> > >> INFO [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all > >> packages > >> â > >> INFO [STDOUT] 05 Jan 2005 10:48:29 - > >> org.apache.slide.common.Namespace > >> - INFO - Shutting down service > >> tx(org.apache.slide.store.ExtendedStore) > >> INFO [STDOUT] 05 Jan 2005 10:48:29 - > >> org.apache.commons.transaction.file.FileResourceManager > >> - INFO - Stopping RM at 'store/metadata' / 'work/metadata' > >> INFO [STDOUT] 05 Jan 2005 10:48:29 - > >> org.apache.commons.transaction.file.FileResourceManager > >> - INFO - Waiting for tx [EMAIL PROTECTED] to finish for 24 > >> milli seconds > >> DEBUG > >> [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] > >> Notified to shutdown > >> DEBUG > >> [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] > >> Shutdown > >> INFO [STDOUT] 05 Jan 2005 10:52:29 - > >> org.apache.commons.transaction.file.FileResourceManager > >> - WARNING - Tx [EMAIL PROTECTED] failed to finish in given time > >> INFO [STDOUT] 05 Jan 2005 10:52:29 - > >> org.apache.commons.transaction.file.FileResourceManager > >> - WARNING - Failed to stop RM > >> INFO [STDOUT] 05 Jan 2005 10:52:29 - org.apache.slide.common.Domain > >> - WARNING - Service TxXMLFileDescriptorsStore at > >> store/metadata working on work/metadata disconnection failed : > >> Shut down timed out > >> INFO [STDOUT] Service TxXMLFileDescriptorsStore at > >> store/metadata working on work/metadata disconnection failed : > >> Shut down timed out > >> INFO [STDOUT] at > >> org.apache.slide.common.Namespace.disconnectServices(Namespace.java:545) > >> at > >> org.apache.slide.common.NamespaceAccessTokenImpl.disconnect(NamespaceAccessTokenImpl.java:348) > >> at > >> org.apache.slide.common.Domain.closeNamespace(Domain.java:270) > >> at > >> org.apache.slide.webdav.WebdavServlet.destroy(WebdavServlet.java:316) > >>
Re[10]: WebDAV JCA status=STATUS_NO_TRANSACTION
Hello Oliver, Yes it is, it works with final slide2.1 + commons-transaction-1.0rc1.jar and there are exceptions with final slide2.1 + commons-transaction-1.0.jar. At start jboss there is message in log: DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Unable to retrieve orb javax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered. But there are not other exceptions exclude XAException errorCode=XAER_NOTA and XAException status=STATUS_NO_TRANSACTION. Thanks -- Best regards, Andrewmailto:[EMAIL PROTECTED] Wednesday, January 5, 2005, 1:17:08 PM, you wrote: OZ> Hi Andrew, OZ> does that mean it works with commons-tx1.0rc1, but not with the final OZ> version? The only changes that were to check if a certain lock level OZ> was enabled. Maybe this caused some obscure errors. OZ> Is there any other exception, maybe in the log files? OZ> Oliver OZ> On Wed, 5 Jan 2005 12:02:29 +0200, Andrew Tibets OZ> <[EMAIL PROTECTED]> wrote: >> Hello Oliver, >> >> The error is still being with slide 2.1. >> The slide.war and webdav-2.1.rar were deployed correctly. >> For jboss-3.2.5 I used webdav-connector-ds.xml shipped with Slide, for >> jboss-4.0.0 >> webdav-connector-ds.xml: >> >> >>WebDAV-Connector >> >> >> >> test-webdav-files-0.1.ear#webdav-2.1.rar >> >> javax.resource.cci.ConnectionFactory >>20 >> >> >> >> >> In all cases, slide test and my test, I get exception: >> WARN [org.jboss.tm.TransactionImpl] XAException: >> tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=pc268/14, >> BranchQual=, localId=14] >> errorCode=XAER_NOTA >> javax.transaction.xa.XAException >> at >> org.apache.commons.transaction.util.xa.AbstractXAResource.end(AbstractXAResource.java:133) >> at >> org.jboss.tm.TransactionImpl$Resource.endResource(TransactionImpl.java:2031) >> at >> org.jboss.tm.TransactionImpl$Resource.endResource(TransactionImpl.java:2006) >> ... >> ERROR [org.jboss.web.localhost.Engine] >> StandardWrapperValve[Test]: Servlet.service() for servlet Test >> threw exception >>org.jboss.tm.JBossRollbackException: Unable to commit, >> tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=pc268/14, >> BranchQual=, localId=14] >>status=STATUS_NO_TRANSACTION; - nested throwable: >> (javax.transaction.xa.XAException) >> at >> org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:344) >> at org.jboss.tm.TxManager.commit(TxManager.java:200) >> >> If I click Ctrl+C, I get message: >> >> INFO [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all >> packages >> … >> INFO [STDOUT] 05 Jan 2005 10:48:29 - >> org.apache.slide.common.Namespace >> - INFO - Shutting down service >> tx(org.apache.slide.store.ExtendedStore) >> INFO [STDOUT] 05 Jan 2005 10:48:29 - >> org.apache.commons.transaction.file.FileResourceManager >> - INFO - Stopping RM at 'store/metadata' / 'work/metadata' >> INFO [STDOUT] 05 Jan 2005 10:48:29 - >> org.apache.commons.transaction.file.FileResourceManager >> - INFO - Waiting for tx [EMAIL PROTECTED] to finish for 24 milli >> seconds >> DEBUG >> [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] >> Notified to shutdown >> DEBUG >> [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] >> Shutdown >> INFO [STDOUT] 05 Jan 2005 10:52:29 - >> org.apache.commons.transaction.file.FileResourceManager >> - WARNING - Tx [EMAIL PROTECTED] failed to finish in given time >> INFO [STDOUT] 05 Jan 2005 10:52:29 - >> org.apache.commons.transaction.file.FileResourceManager >> - WARNING - Failed to stop RM >> INFO [STDOUT] 05 Jan 2005 10:52:29 - org.apache.slide.common.Domain >> - WARNING - Service TxXMLFileDescriptorsStore at >> store/metadata working on work/metadata disconnection failed : >> Shut down timed out >> INFO [STDOUT] Service TxXMLFileDescriptorsStore at >> store/metadata working on work/metadata disconnection failed : >> Shut down timed out >> INFO [STDOUT] at >> org.apache.slide.common.Namespace.disconnectServices(Namespace.java:545) >> at >> org.apache.slide.common.NamespaceAccessTokenImpl.disconnect(NamespaceAccessTokenImpl.java:348) >> at >> org.apache.slide.common.Domain.closeNamespace(Domain.java:270) >> at >> org.apache.slide.webdav.WebdavServlet.destroy(WebdavServlet.java:316) >> at >> org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1255) >> at >> org.apache.catalina.core.StandardWrapper.stop(StandardWrapper.java:1580) >> >> But if I change commons-transaction-1.0.jar library on >> commons-transaction-1.0rc1.jar tests work without exception. >> >> May be you known what is wrong? >> >>Thanks >> >> -- >> Best regards, >> Andrew >> mailto:[EMAIL PROTECTED] >> >> >