[JBoss JIRA] (ISPN-9397) Check TX support for remote caches
by Pedro Ruivo (Jira)
[ https://issues.jboss.org/browse/ISPN-9397?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo closed ISPN-9397.
-----------------------------
> Check TX support for remote caches
> ----------------------------------
>
> Key: ISPN-9397
> URL: https://issues.jboss.org/browse/ISPN-9397
> Project: Infinispan
> Issue Type: Bug
> Components: Hot Rod, Remote Protocols, Transactions
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Priority: Major
> Fix For: 10.0.0.Beta4, 10.0.0.Final
>
>
> The {{RemoteCacheManager.getCache()}} methods would fail to return a transactional cache if the cache in server isn't transactional. It would throw an exception! {{NotTransactionalException}}?
> The user can fallback to the non transaction case, example
> {code:java}
> try {
> cache = remoteCacheManager.getCache("some-cache", TransactionMode.NON_XA);
> } catch(NotTransactionalException e) {
> cache = remoteCacheManager.getCache("some-cache", TransactionMode.NONE);
> }
> {code}
> In addition, some helper method can be added to the {{RemoteCacheManager}} to avoid dealing with exceptions:
> {code:java}
> boolean supportsTransactions(String cacheName);
> {code}
> simple example:
> {code:java}
> boolean txCache = remoteCacheManager.supportsTransactions("some-cache");
> remoteCacheManager.getCache("some-cache", txCache ? TransactionMode.NON_XA : TransactionMode.NONE);
> {code}
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 7 months
[JBoss JIRA] (ISPN-9463) Provide API to enlist the resource with TransactionManager
by Pedro Ruivo (Jira)
[ https://issues.jboss.org/browse/ISPN-9463?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo closed ISPN-9463.
-----------------------------
> Provide API to enlist the resource with TransactionManager
> ----------------------------------------------------------
>
> Key: ISPN-9463
> URL: https://issues.jboss.org/browse/ISPN-9463
> Project: Infinispan
> Issue Type: Enhancement
> Components: Hot Rod, Remote Protocols, Transactions
> Reporter: Ramesh Reddy
> Assignee: Pedro Ruivo
> Priority: Major
> Fix For: 10.0.0.Beta3
>
>
> Currently, Infinispan will automatically enlist the transaction when a transaction is bound to the executing thread. However, in cases like Teiid where remote access to Infinispan access is wrapped with a resource-adapter (RAR) the resource adapter does the explicit enlisting or delisting. For this there needs to be API provided by Infinispan Cache like
> {code}
> RemoteCacheManager.getXaResource()
> {code}
> where it can access the XA resource.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 7 months
[JBoss JIRA] (ISPN-10523) ServerNG: TrustStore realm
by Tristan Tarrant (Jira)
Tristan Tarrant created ISPN-10523:
--------------------------------------
Summary: ServerNG: TrustStore realm
Key: ISPN-10523
URL: https://issues.jboss.org/browse/ISPN-10523
Project: Infinispan
Issue Type: Sub-task
Components: Security, Server
Affects Versions: 10.0.0.CR1
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Fix For: 10.0.0.CR2
Enable the trust store as a way to authenticate and authorize users.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 7 months
[JBoss JIRA] (ISPN-10522) EvictionWithPassivationTest.testBasicStore random failures
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10522?page=com.atlassian.jira.plugin... ]
Dan Berindei updated ISPN-10522:
--------------------------------
Attachment: ISPN-10317_pendinglockmanager_20190827-0945_EvictionWithPassivationTest-infinispan-core.log.gz
> EvictionWithPassivationTest.testBasicStore random failures
> ----------------------------------------------------------
>
> Key: ISPN-10522
> URL: https://issues.jboss.org/browse/ISPN-10522
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Test Suite - Core
> Affects Versions: 10.0.0.CR1
> Reporter: Dan Berindei
> Assignee: Will Burns
> Priority: Major
> Labels: testsuite_stability
> Fix For: 10.0.0.CR2
>
> Attachments: ISPN-10317_pendinglockmanager_20190827-0945_EvictionWithPassivationTest-infinispan-core.log.gz
>
>
> So far it has failed for me every time I debugged the test from the IDE (with trace logging enabled).
> {noformat}
> 09:55:48,837 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed: org.infinispan.eviction.impl.EvictionWithPassivationTest.testBasicStore[OBJECT]
> java.lang.AssertionError: expected [null] but found [B6]
> at org.testng.Assert.fail(Assert.java:96) ~[testng-6.14.3.jar:?]
> at org.testng.Assert.failNotEquals(Assert.java:776) ~[testng-6.14.3.jar:?]
> at org.testng.Assert.assertEqualsImpl(Assert.java:132) ~[testng-6.14.3.jar:?]
> at org.testng.Assert.assertEquals(Assert.java:118) ~[testng-6.14.3.jar:?]
> at org.testng.Assert.assertEquals(Assert.java:453) ~[testng-6.14.3.jar:?]
> at org.testng.Assert.assertEquals(Assert.java:463) ~[testng-6.14.3.jar:?]
> at org.infinispan.eviction.impl.EvictionWithPassivationTest.testBasicStore(EvictionWithPassivationTest.java:115) ~[test-classes/:?]
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 7 months
[JBoss JIRA] (ISPN-10522) EvictionWithPassivationTest.testBasicStore random failures
by Dan Berindei (Jira)
Dan Berindei created ISPN-10522:
-----------------------------------
Summary: EvictionWithPassivationTest.testBasicStore random failures
Key: ISPN-10522
URL: https://issues.jboss.org/browse/ISPN-10522
Project: Infinispan
Issue Type: Bug
Components: Core, Test Suite - Core
Affects Versions: 10.0.0.CR1
Reporter: Dan Berindei
Assignee: Will Burns
Fix For: 10.0.0.CR2
So far it has failed for me every time I debugged the test from the IDE (with trace logging enabled).
{noformat}
09:55:48,837 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed: org.infinispan.eviction.impl.EvictionWithPassivationTest.testBasicStore[OBJECT]
java.lang.AssertionError: expected [null] but found [B6]
at org.testng.Assert.fail(Assert.java:96) ~[testng-6.14.3.jar:?]
at org.testng.Assert.failNotEquals(Assert.java:776) ~[testng-6.14.3.jar:?]
at org.testng.Assert.assertEqualsImpl(Assert.java:132) ~[testng-6.14.3.jar:?]
at org.testng.Assert.assertEquals(Assert.java:118) ~[testng-6.14.3.jar:?]
at org.testng.Assert.assertEquals(Assert.java:453) ~[testng-6.14.3.jar:?]
at org.testng.Assert.assertEquals(Assert.java:463) ~[testng-6.14.3.jar:?]
at org.infinispan.eviction.impl.EvictionWithPassivationTest.testBasicStore(EvictionWithPassivationTest.java:115) ~[test-classes/:?]
{noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 7 months
[JBoss JIRA] (ISPN-10521) CacheMgmtInterceptorMBeanTest.testStores random failure
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10521?page=com.atlassian.jira.plugin... ]
Dan Berindei updated ISPN-10521:
--------------------------------
Attachment: ISPN-9541_modules_20190825-1146_CacheMgmtInterceptorMBeanTest-infinispan-core.log.gz
> CacheMgmtInterceptorMBeanTest.testStores random failure
> -------------------------------------------------------
>
> Key: ISPN-10521
> URL: https://issues.jboss.org/browse/ISPN-10521
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 10.0.0.CR1
> Reporter: Dan Berindei
> Assignee: Will Burns
> Priority: Major
> Labels: testsuite_stability
> Fix For: 10.0.0.CR2
>
> Attachments: ISPN-9541_modules_20190825-1146_CacheMgmtInterceptorMBeanTest-infinispan-core.log.gz
>
>
> The test calls {{TestingUtil.cleanUpDataContainerForCache(cache)}}, but apparently it's still not enough to guarantee that the number of entries is correct:
> {noformat}
> 12:05:33.109 [ERROR] jmx.CacheMgmtInterceptorMBeanTest(org.infinispan.jmx.CacheMgmtInterceptorMBeanTest) Time elapsed: 0.009 s <<< FAILURE!
> java.lang.AssertionError: expecting 4.0 for NumberOfEntries, but received 3
> at org.infinispan.jmx.CacheMgmtInterceptorMBeanTest.assertAttributeValue(CacheMgmtInterceptorMBeanTest.java:228)
> at org.infinispan.jmx.CacheMgmtInterceptorMBeanTest.assertCurrentNumberOfEntries(CacheMgmtInterceptorMBeanTest.java:267)
> at org.infinispan.jmx.CacheMgmtInterceptorMBeanTest.testStores(CacheMgmtInterceptorMBeanTest.java:148)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 7 months