[JBoss JIRA] (JBTM-1965) Add support for XADisk
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-1965?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson updated JBTM-1965:
--------------------------------
Labels: (was: available student)
> Add support for XADisk
> ----------------------
>
> Key: JBTM-1965
> URL: https://issues.jboss.org/browse/JBTM-1965
> Project: JBoss Transaction Manager
> Issue Type: Feature Request
> Components: Resource Manager
> …
[View More]Affects Versions: 5.0.0.M5
> Reporter: Mark Little
>
> Transactions are often used to structure activities within reliable software applications. In Java EE, business logic typically involves accessing transactional resource managers (databases, message queues) within boundaries denoted by calls to the JTA (begin/commit/rollback). The resource managers work with the transaction manager to perform e.g. locking, logging and recovery transparently to the application programmer. However, this separation of concerns is broken with regard to one important resource: the file system. Java's file I/O library does not support transactions, a situation which requires application programmers to implement such support manually in their programs. In this project you will develop a transaction aware resource manager for file I/O in Java. This library will provide application programmers with access to a filesystem that offers ACID semantics.
> We already have a transactional file I/O implementation but there are now alternatives available. XADisk (https://xadisk.java.net/) seems to have a vibrant user community, so we should take a look at this. Part of the work will be to compare and contrast the options available.
> To undertake this project you should have a good understanding of Java file I/O and some knowledge of transactions (ACID semantics and the JTA). The work will be open source.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
[View Less]
7 years, 7 months
[JBoss JIRA] (JBTM-2918) Allow setting IsSameRMOverride as default
by Tom Jenkinson (JIRA)
Tom Jenkinson created JBTM-2918:
-----------------------------------
Summary: Allow setting IsSameRMOverride as default
Key: JBTM-2918
URL: https://issues.jboss.org/browse/JBTM-2918
Project: JBoss Transaction Manager
Issue Type: Component Upgrade
Components: Transactional Driver
Reporter: Tom Jenkinson
Assignee: Tom Jenkinson
Fix For: 5.next
When transactional driver was first …
[View More]written the IsSameRMOverride was not required as the default but with current databases it makes a sensible default. Provide a config option to easily set this as the default.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
[View Less]
7 years, 7 months
[JBoss JIRA] (JBTM-2908) JCA committed inflow transaction is not moved to assumed completed category for JTS
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2908?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2908.
-------------------------------
Resolution: Done
> JCA committed inflow transaction is not moved to assumed completed category for JTS
> -----------------------------------------------------------------------------------
>
> Key: JBTM-2908
> URL: https://issues.jboss.org/browse/JBTM-2908
> Project: JBoss …
[View More]Transaction Manager
> Issue Type: Bug
> Components: JTS
> Affects Versions: 5.2.24.Final, 5.6.1.Final
> Reporter: Ondra Chaloupka
> Assignee: Ondra Chaloupka
> Fix For: 5.5.25.Final, 5.6.2.Final
>
>
> We have test which checks whether EIS is capable to finish transaction after JVM crash.
> The scenario is following:
> - 2 test XA resources are enlisted
> - EIS RAR XATerminator calls prepare and commit
> - JVM crash occurs at the start of the first XAResource.commit call
> - app server is restarted
> - doRecoveryScan()/waitForOrphanInterval/doRecoveryScan()
> - both (mock) XAResources are not rolled-back
> - EIS XATerminator.commit is called
> - doRecoveryScan()/waitForOrphanInterval/doRecoveryScan()
> - both (mock) XAResources are committed
> but the committed tx is not removed from log:
> {code}
> jvmCrashAfterPrepareJTS(org.jboss.as.test.jbossts.crashrec.jca.test.JcaInflowTransactionTestCase) Time elapsed: 125.532 sec <<< FAILURE!
> java.lang.AssertionError: After commiting txn there should be no one in the txn log expected:<0> but was:<1>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:645)
> at org.jboss.as.test.jbossts.crashrec.jca.test.JcaInflowTransactionTestCase.jvmCrashAfterPrepareJTS(JcaInflowTransactionTestCase.java:763)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
[View Less]
7 years, 7 months