[JBoss JIRA] (JBTM-2159) It is possible for the CommitMarkableResource recovery manager to attempt to activate an AtomicAction while it is being committed which can cause filenotfoundstacktrace and NullPointerException
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/JBTM-2159?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on JBTM-2159:
-----------------------------------------------
Miroslav Novak <mnovak(a)redhat.com> changed the Status of [bug 1089251|https://bugzilla.redhat.com/show_bug.cgi?id=1089251] from ON_QA to VERIFIED
> It is possible for the CommitMarkableResource recovery manager to attempt to activate an AtomicAction while it is being committed which can cause filenotfoundstacktrace and NullPointerException
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBTM-2159
> URL: https://issues.jboss.org/browse/JBTM-2159
> Project: JBoss Transaction Manager
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Recovery
> Reporter: Tom Jenkinson
> Assignee: Tom Jenkinson
> Fix For: 4.17.20, 5.0.2
>
>
> Basically:
> 1. App thread creates AA
> 2. AA UID is seen in phase1 recovery thread by CommitMarkableResourceRecoveryModule
> 3. App thread commits AA
> 4. App thread deletes AA UID
> 5. Recovery thread tries to activate AA with UID in CommitMarkableResourceRecoveryModule but it gets exceptions as shown here:
> 12:23:07 [0m[33m12:23:07,915 WARN [com.arjuna.ats.arjuna] (Periodic Recovery) Could not query objectstore: : java.io.IOException: java.lang.NullPointerException
> 12:23:07 at com.arjuna.ats.arjuna.StateManager.unpackHeader(StateManager.java:732) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 12:23:07 at com.arjuna.ats.internal.jta.recovery.arjunacore.RecoverConnectableAtomicAction.<init>(RecoverConnectableAtomicAction.java:52) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 12:23:07 at com.arjuna.ats.internal.jta.recovery.arjunacore.CommitMarkableResourceRecordRecoveryModule.periodicWorkFirstPass(CommitMarkableResourceRecordRecoveryModule.java:379) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 12:23:07 at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:743) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 12:23:07 at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:371) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 12:23:07 Caused by: java.lang.NullPointerException
> 12:23:07 at com.arjuna.ats.arjuna.StateManager.unpackHeader(StateManager.java:697) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 12:23:07 ... 4 more
> 12:23:07
> 15:16:36 [0m[33m15:16:36,247 WARN [com.arjuna.ats.arjuna] (Periodic Recovery) Could not query objectstore: : com.arjuna.ats.arjuna.exceptions.ObjectStoreException: ShadowingStore::read_state error: java.io.FileNotFoundException: /tmp/activemq-soak/ibm-mq-testsuite/src/test/config/activemq/install/target/jboss-eap/standalone/data/tx-object-store/ShadowNoFileLockStore/defaultStore/StateManager/BasicAction/TwoPhaseCoordinator/AtomicAction/0_ffff0a106418_-2b02421b_534ffd61_4c1764 (No such file or directory)
> 15:16:36 at com.arjuna.ats.internal.arjuna.objectstore.ShadowingStore.read_state(ShadowingStore.java:412) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 15:16:36 at com.arjuna.ats.internal.arjuna.objectstore.FileSystemStore.read_committed(FileSystemStore.java:98) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 15:16:36 at com.arjuna.ats.internal.jta.recovery.arjunacore.RecoverConnectableAtomicAction.<init>(RecoverConnectableAtomicAction.java:48) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 15:16:36 at com.arjuna.ats.internal.jta.recovery.arjunacore.CommitMarkableResourceRecordRecoveryModule.periodicWorkFirstPass(CommitMarkableResourceRecordRecoveryModule.java:379) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 15:16:36 at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:743) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 15:16:36 at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:371) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 15:16:36 Caused by: java.io.FileNotFoundException: /tmp/activemq-soak/ibm-mq-testsuite/src/test/config/activemq/install/target/jboss-eap/standalone/data/tx-object-store/ShadowNoFileLockStore/defaultStore/StateManager/BasicAction/TwoPhaseCoordinator/AtomicAction/0_ffff0a106418_-2b02421b_534ffd61_4c1764 (No such file or directory)
> 15:16:36 at java.io.FileInputStream.open(Native Method) [rt.jar:1.7.0_51]
> 15:16:36 at java.io.FileInputStream.<init>(FileInputStream.java:146) [rt.jar:1.7.0_51]
> 15:16:36 at com.arjuna.ats.internal.arjuna.objectstore.ShadowingStore.read_state(ShadowingStore.java:406) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 15:16:36 ... 5 more
> 15:16:36
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (JBTM-2184) NoClassDefFoundError: Missing Dependency on jboss-transaction-spi
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2184?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson commented on JBTM-2184:
-------------------------------------
The artifact is now synced so we can add the dependency in the quickstarts on org.jboss.jboss-transaction-spi:7.1.0.Final
> NoClassDefFoundError: Missing Dependency on jboss-transaction-spi
> -----------------------------------------------------------------
>
> Key: JBTM-2184
> URL: https://issues.jboss.org/browse/JBTM-2184
> Project: JBoss Transaction Manager
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: JTA
> Affects Versions: 5.0.1
> Reporter: Andrew Rubinger
> Assignee: Paul Robinson
>
> Looks like Narayana is missing a dependency, as this isn't brought in transitively:
> {code}java.lang.NoClassDefFoundError: org/jboss/tm/FirstResource
> at com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.order(XAResourceRecord.java:139)
> at com.arjuna.ats.arjuna.coordinator.AbstractRecord.orderEquals(AbstractRecord.java:663)
> at com.arjuna.ats.arjuna.coordinator.AbstractRecord.equals(AbstractRecord.java:227)
> at com.arjuna.ats.arjuna.coordinator.RecordList.insert(RecordList.java:379)
> at com.arjuna.ats.arjuna.coordinator.RecordList.insert(RecordList.java:144)
> at com.arjuna.ats.arjuna.coordinator.BasicAction.add(BasicAction.java:307)
> at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:647){code}
> I'm also not finding the 7.x series of jboss-transaction-spi in Maven Central; is this intended?
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (JBTM-2159) It is possible for the CommitMarkableResource recovery manager to attempt to activate an AtomicAction while it is being committed which can cause filenotfoundstacktrace and NullPointerException
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/JBTM-2159?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on JBTM-2159:
-----------------------------------------------
Vladimir Dosoudil <dosoudil(a)redhat.com> changed the Status of [bug 1089251|https://bugzilla.redhat.com/show_bug.cgi?id=1089251] from MODIFIED to ON_QA
> It is possible for the CommitMarkableResource recovery manager to attempt to activate an AtomicAction while it is being committed which can cause filenotfoundstacktrace and NullPointerException
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBTM-2159
> URL: https://issues.jboss.org/browse/JBTM-2159
> Project: JBoss Transaction Manager
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Recovery
> Reporter: Tom Jenkinson
> Assignee: Tom Jenkinson
> Fix For: 4.17.20, 5.0.2
>
>
> Basically:
> 1. App thread creates AA
> 2. AA UID is seen in phase1 recovery thread by CommitMarkableResourceRecoveryModule
> 3. App thread commits AA
> 4. App thread deletes AA UID
> 5. Recovery thread tries to activate AA with UID in CommitMarkableResourceRecoveryModule but it gets exceptions as shown here:
> 12:23:07 [0m[33m12:23:07,915 WARN [com.arjuna.ats.arjuna] (Periodic Recovery) Could not query objectstore: : java.io.IOException: java.lang.NullPointerException
> 12:23:07 at com.arjuna.ats.arjuna.StateManager.unpackHeader(StateManager.java:732) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 12:23:07 at com.arjuna.ats.internal.jta.recovery.arjunacore.RecoverConnectableAtomicAction.<init>(RecoverConnectableAtomicAction.java:52) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 12:23:07 at com.arjuna.ats.internal.jta.recovery.arjunacore.CommitMarkableResourceRecordRecoveryModule.periodicWorkFirstPass(CommitMarkableResourceRecordRecoveryModule.java:379) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 12:23:07 at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:743) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 12:23:07 at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:371) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 12:23:07 Caused by: java.lang.NullPointerException
> 12:23:07 at com.arjuna.ats.arjuna.StateManager.unpackHeader(StateManager.java:697) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 12:23:07 ... 4 more
> 12:23:07
> 15:16:36 [0m[33m15:16:36,247 WARN [com.arjuna.ats.arjuna] (Periodic Recovery) Could not query objectstore: : com.arjuna.ats.arjuna.exceptions.ObjectStoreException: ShadowingStore::read_state error: java.io.FileNotFoundException: /tmp/activemq-soak/ibm-mq-testsuite/src/test/config/activemq/install/target/jboss-eap/standalone/data/tx-object-store/ShadowNoFileLockStore/defaultStore/StateManager/BasicAction/TwoPhaseCoordinator/AtomicAction/0_ffff0a106418_-2b02421b_534ffd61_4c1764 (No such file or directory)
> 15:16:36 at com.arjuna.ats.internal.arjuna.objectstore.ShadowingStore.read_state(ShadowingStore.java:412) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 15:16:36 at com.arjuna.ats.internal.arjuna.objectstore.FileSystemStore.read_committed(FileSystemStore.java:98) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 15:16:36 at com.arjuna.ats.internal.jta.recovery.arjunacore.RecoverConnectableAtomicAction.<init>(RecoverConnectableAtomicAction.java:48) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 15:16:36 at com.arjuna.ats.internal.jta.recovery.arjunacore.CommitMarkableResourceRecordRecoveryModule.periodicWorkFirstPass(CommitMarkableResourceRecordRecoveryModule.java:379) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 15:16:36 at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:743) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 15:16:36 at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:371) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 15:16:36 Caused by: java.io.FileNotFoundException: /tmp/activemq-soak/ibm-mq-testsuite/src/test/config/activemq/install/target/jboss-eap/standalone/data/tx-object-store/ShadowNoFileLockStore/defaultStore/StateManager/BasicAction/TwoPhaseCoordinator/AtomicAction/0_ffff0a106418_-2b02421b_534ffd61_4c1764 (No such file or directory)
> 15:16:36 at java.io.FileInputStream.open(Native Method) [rt.jar:1.7.0_51]
> 15:16:36 at java.io.FileInputStream.<init>(FileInputStream.java:146) [rt.jar:1.7.0_51]
> 15:16:36 at com.arjuna.ats.internal.arjuna.objectstore.ShadowingStore.read_state(ShadowingStore.java:406) [jbossjts-jacorb-4.17.18.Final-redhat-1.jar:4.17.18.Final-redhat-1]
> 15:16:36 ... 5 more
> 15:16:36
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (JBTM-2162) Change CMR commit failure message
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/JBTM-2162?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on JBTM-2162:
-----------------------------------------------
Vladimir Dosoudil <dosoudil(a)redhat.com> changed the Status of [bug 1087726|https://bugzilla.redhat.com/show_bug.cgi?id=1087726] from MODIFIED to ON_QA
> Change CMR commit failure message
> ---------------------------------
>
> Key: JBTM-2162
> URL: https://issues.jboss.org/browse/JBTM-2162
> Project: JBoss Transaction Manager
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: JTA
> Affects Versions: 4.17.19
> Reporter: Michael Musgrove
> Assignee: Michael Musgrove
> Priority: Trivial
> Fix For: 4.17.20
>
>
> If a transaction containing an XA and a CMR resource is committed and the CMR resource fails the commit then the warning message mentions onePhaseCommit. Even though the CMR is in reality a one phase resource the message can be confusing.
> Please change the message to something more generic.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (JBTM-2184) NoClassDefFoundError: Missing Dependency on jboss-transaction-spi
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2184?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson commented on JBTM-2184:
-------------------------------------
Its only the stuff that is activated at runtime we need. So the org.jfree would only activate if you used the stats stuff and the hornetq if you used the HQ object store.
I am assuming that the issue is that narayana-jta does not uber jar include the spi as its external to the project, hence making the spi available in maven central is the right thing to do (plus the example should be updated to include it as a provided dependency).
It looks like something changed with the spi syncing as version 6 is in maven central: http://search.maven.org/#search%7Cga%7C1%7Cjboss-transaction-spi
> NoClassDefFoundError: Missing Dependency on jboss-transaction-spi
> -----------------------------------------------------------------
>
> Key: JBTM-2184
> URL: https://issues.jboss.org/browse/JBTM-2184
> Project: JBoss Transaction Manager
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: JTA
> Affects Versions: 5.0.1
> Reporter: Andrew Rubinger
> Assignee: Paul Robinson
>
> Looks like Narayana is missing a dependency, as this isn't brought in transitively:
> {code}java.lang.NoClassDefFoundError: org/jboss/tm/FirstResource
> at com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.order(XAResourceRecord.java:139)
> at com.arjuna.ats.arjuna.coordinator.AbstractRecord.orderEquals(AbstractRecord.java:663)
> at com.arjuna.ats.arjuna.coordinator.AbstractRecord.equals(AbstractRecord.java:227)
> at com.arjuna.ats.arjuna.coordinator.RecordList.insert(RecordList.java:379)
> at com.arjuna.ats.arjuna.coordinator.RecordList.insert(RecordList.java:144)
> at com.arjuna.ats.arjuna.coordinator.BasicAction.add(BasicAction.java:307)
> at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:647){code}
> I'm also not finding the 7.x series of jboss-transaction-spi in Maven Central; is this intended?
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (JBTM-2184) NoClassDefFoundError: Missing Dependency on jboss-transaction-spi
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2184?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson edited comment on JBTM-2184 at 5/28/14 5:20 PM:
--------------------------------------------------------------
Its only the stuff that is activated at runtime we need. So the org.jfree would only trip if you used the stats stuff and the hornetq if you used the HQ object store.
I am assuming that the issue is that narayana-jta does not uber jar include the spi as its external to the project, hence making the spi available in maven central is the right thing to do (plus the example should be updated to include it as a provided dependency).
It looks like something changed with the spi syncing as version 6 is in maven central: http://search.maven.org/#search%7Cga%7C1%7Cjboss-transaction-spi
was (Author: tomjenkinson):
Its only the stuff that is activated at runtime we need. So the org.jfree would only activate if you used the stats stuff and the hornetq if you used the HQ object store.
I am assuming that the issue is that narayana-jta does not uber jar include the spi as its external to the project, hence making the spi available in maven central is the right thing to do (plus the example should be updated to include it as a provided dependency).
It looks like something changed with the spi syncing as version 6 is in maven central: http://search.maven.org/#search%7Cga%7C1%7Cjboss-transaction-spi
> NoClassDefFoundError: Missing Dependency on jboss-transaction-spi
> -----------------------------------------------------------------
>
> Key: JBTM-2184
> URL: https://issues.jboss.org/browse/JBTM-2184
> Project: JBoss Transaction Manager
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: JTA
> Affects Versions: 5.0.1
> Reporter: Andrew Rubinger
> Assignee: Paul Robinson
>
> Looks like Narayana is missing a dependency, as this isn't brought in transitively:
> {code}java.lang.NoClassDefFoundError: org/jboss/tm/FirstResource
> at com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.order(XAResourceRecord.java:139)
> at com.arjuna.ats.arjuna.coordinator.AbstractRecord.orderEquals(AbstractRecord.java:663)
> at com.arjuna.ats.arjuna.coordinator.AbstractRecord.equals(AbstractRecord.java:227)
> at com.arjuna.ats.arjuna.coordinator.RecordList.insert(RecordList.java:379)
> at com.arjuna.ats.arjuna.coordinator.RecordList.insert(RecordList.java:144)
> at com.arjuna.ats.arjuna.coordinator.BasicAction.add(BasicAction.java:307)
> at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:647){code}
> I'm also not finding the 7.x series of jboss-transaction-spi in Maven Central; is this intended?
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months