Log in to follow, share, and participate in this community.
Thread mt-issues with org.jboss.tm.TransactionLocal
mt-issues with org.jboss.tm.TransactionLocalAlthough I started examining the TransactionLocal backends for thread-safety (i.e. TransactionLocalDelegateImpl + TransactionLocalSynchronization & TxManager + TransactionImpl), it seems to me that TransactionLoca...
TransactionLocalDelegateImplA related question to my previous post, since I am there: TransactionLocalDelegateImpl as an alternative implementation of TransactionLocalDelegate, when a TransactionManager other than TxManager is used, uses the 't...
disassociateThread on tm.suspend()Currently, we don't disassociate the calling thread from the tx when we suspend() (we just nullify the ti.tx reference) :
public Transaction suspend() throws SystemException
{
ThreadInfo ti = getThreadInfo();
Tr...
cleaning up after recoveryI'm implementing creating a generic Recoverable that wraps a JCA ManagedConnection. How do I clean up after I'm done with the managed connection? Do I call managedConnection.destroy(), cleanup() or both? thanks
pluggable Xid padding in JCAThis is in regards to: http://jira.jboss.com/jira/browse/JBAS-1405 I was looking on how to implement this and it seems the approach would be to create a XAResource proxy whenever the TxConnectionManager.TxConnection...
Recoverable registration implementationThis is in regards to: http://jira.jboss.com/jira/browse/JBAS-1408 After looking at the JCA code a bunch, it seems that the best place for registering the recoverable might be in the RARDeployment class? After the M...
Where should UserTransaction live?A modularization issue... I have some (still uncommitted) code that uses the DTM to implement UserTransaction over JBoss remoting. The code is very simple and consists on just two classes: org.jboss.tm.remoting.clie...
SynchronizationHello I need to register a Synchronization object which will receive afterCompletion() invocations - or the equivalent - AFTER all resources in the transaction have been committed. I could register against the javax...
JBoss JTS specification feeback requestFrancisco Reverbel published specification draft for the new JBoss JTS implementation. Please review and comment: http://www.jboss.org/wiki/Wiki.jsp?page=JBossJTS
Last resource gambit implemented wrong?I don't think last resource gambit is implemented correctly. For it to work, you will have to reuse the same DB connection as the TX recovery logger and let the TX recovery logger do the commit. Right now, the commit ...
Use of Jotm in Jboss.I have developed the necessary classes to use Jotm as a transaction manager in Jboss. I only performed some simple test involving two Jboss servers. The tests included some error conditions to see the correct propagat...
Why not always pad Xid?mok, Can try a few more things, look at http://<your-server>:8082 and make sure that your jndi name is there, should be something like jndiName=helloEJBDisplay You might also try with your initial context ad...
Wrong XidImpl.equals implementation?One thing I noticed by looking at XidImpl class. Are you guaranteed to get the same Xid class when you call recover on an XAResource? I would guess no. I think XidImpl.equals needs to reflect this. Bill
Recovery and ClusteringOk, here's the algorithm I'm implementing for recovery: 1. For all log files gather all committing Xids 2. For each resource, call recover to get xids 3. commit each resource for xids found in log files 4. For each ...
Finding XAResources in Recovery stepOver the holidays, I took a look at how one would implement recovery. I think you're right...It is basically easy to implement(at least without handling Heuristic errors), but hard to perform well. One thing that get...
Thread TransactionManager.setTransactionTimeOut does not work
TransactionManager.setTransactionTimeOut does not workTransactionManager.setTransactionTimeOut does not work. The javax.transaction.TransactionManager java doc says that the time out of a transaction can be modified using the setTransactionTimeOut method. Am using JBoss...
Thread Logging/recovery and transaction distribution
Logging/recovery and transaction distributionIt is my opinion that we need to add transaction logging and recovery to the JB transaction manager. My understanding of Trasaction Logging and recovery: The transaction manager would follow the two phase commit pro...
Change Notes: 3.2.4The following are the JBossJTA changes between 3.2.3 and 3.2.4 starting with the 3.2.4RC1 changes DO NOT POST ANYTHING EXCEPT CHANGE NOTES HERE If you have user questions about these changes use the user forum: http...