[JBoss JIRA] (ISPN-4100) Could not set the store properties for a *-keyed-jdbc-store
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-4100?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo updated ISPN-4100:
------------------------------
Fix Version/s: 7.0.0.Beta1
(was: 7.0.0.Alpha4)
> Could not set the store properties for a *-keyed-jdbc-store
> -----------------------------------------------------------
>
> Key: ISPN-4100
> URL: https://issues.jboss.org/browse/ISPN-4100
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 7.0.0.Alpha1
> Reporter: Wolf-Dieter Fink
> Assignee: Martin Gencur
> Fix For: 7.0.0.Beta1, 7.0.0.Final
>
>
> It is not possible to set the jdbc-store properties.
> i.e. the databaseType will throw an Exception:
> <replicated-cache name="MyJDBCCache" ...>
> <locking isolation="NONE" acquire-timeout="30000" concurrency-level="1000" striping="false" />
> <binary-keyed-jdbc-store datasource="java:/jdbc/CacheStoreDS" passivation="false" preload="true" purge="false" shared="true">
> <property name="createTableOnStart">true</property>
> <property name="dropTableOnExit">false</property>
> <property name="databaseType">MYSQL</property>
> <binary-keyed-table prefix="JDG">
> <id-column name="id" type="VARCHAR(255)" />
> <data-column name="datum" type="BLOB" />
> <timestamp-column name="version" type="BIGINT" />
> </binary-keyed-table>
> </binary-keyed-jdbc-store>
> </replicated-cache>
> ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 19) JBAS014612: Operation ("add") failed - address: ([
> ("subsystem" => "infinispan"),
> ("cache-container" => "clustered"),
> ("replicated-cache" => "MyJDBCCache")
> ]): org.infinispan.commons.CacheConfigurationException: Couldn't find a setter named [setDatabaseType] which takes a single parameter, for parameter databaseType on class [class org.infinispan.persistence.jdbc.configuration.JdbcBinaryStoreConfigurationBuilder]
> at org.infinispan.configuration.parsing.XmlConfigHelper.setValues(XmlConfigHelper.java:450)
> at org.infinispan.configuration.cache.AbstractStoreConfigurationBuilder.withProperties(AbstractStoreConfigurationBuilder.java:91)
> at org.infinispan.configuration.cache.AbstractStoreConfigurationBuilder.withProperties(AbstractStoreConfigurationBuilder.java:9)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.parseCommonAttributes(CacheAdd.java:877)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.handleStoreProperties(CacheAdd.java:581)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.processModelNode(CacheAdd.java:520)
> at org.jboss.as.clustering.infinispan.subsystem.ClusteredCacheAdd.processModelNode(ClusteredCacheAdd.java:70)
> at org.jboss.as.clustering.infinispan.subsystem.SharedStateCacheAdd.processModelNode(SharedStateCacheAdd.java:47)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.installRuntimeServices(CacheAdd.java:223)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.performRuntime(CacheAdd.java:199)
> at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:50) [jboss-as-controller-7.2.0.Final.jar:7.2.0.Final]
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:440) [jboss-as-controller-7.2.0.Final.jar:7.2.0.Final]
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:322) [jboss-as-controller-7.2.0.Final.jar:7.2.0.Final]
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:229) [jboss-as-controller-7.2.0.Final.jar:7.2.0.Final]
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:224) [jboss-as-controller-7.2.0.Final.jar:7.2.0.Final]
> at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:322) [jboss-as-controller-7.2.0.Final.jar:7.2.0.Final]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
> at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
> at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final.jar:2.1.0.Final]
> 17:41:13,919 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) "JBAS014784: Failed executing subsystem infinispan boot operations"
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 11 months
[JBoss JIRA] (ISPN-4057) ClusteredCacheConfigurationTest.testQueueFlushIntervalMemcached random failures
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-4057?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo updated ISPN-4057:
------------------------------
Fix Version/s: 7.0.0.Beta1
(was: 7.0.0.Alpha4)
> ClusteredCacheConfigurationTest.testQueueFlushIntervalMemcached random failures
> -------------------------------------------------------------------------------
>
> Key: ISPN-4057
> URL: https://issues.jboss.org/browse/ISPN-4057
> Project: Infinispan
> Issue Type: Feature Request
> Components: Test Suite - Server
> Affects Versions: 6.0.1.Final
> Reporter: Dan Berindei
> Assignee: Mircea Markus
> Labels: testsuite_stability
> Fix For: 7.0.0.Beta1
>
>
> This code will always fail (lines 109-110):
> {noformat}
> assertNotNull(mc1.get("k2"));
> assertNull(mc1.get("k2"));
> {noformat}
> However, this code path is not hit often, so the failures are quite rare.
> I think the second line should be {{assertNull(mc2.get("k2"));}}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 11 months
[JBoss JIRA] (ISPN-4118) Unreliable test: ThreadLocalLeakTest.testCheckThreadLocalLeaks
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-4118?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo updated ISPN-4118:
------------------------------
Fix Version/s: 7.0.0.Beta1
(was: 7.0.0.Alpha4)
> Unreliable test: ThreadLocalLeakTest.testCheckThreadLocalLeaks
> --------------------------------------------------------------
>
> Key: ISPN-4118
> URL: https://issues.jboss.org/browse/ISPN-4118
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Reporter: Sanne Grinovero
> Assignee: Dan Berindei
> Priority: Minor
> Fix For: 7.0.0.Beta1
>
>
> {noformat}Tests run: 4277, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 413.34 sec <<< FAILURE!
> testCheckThreadLocalLeaks(org.infinispan.util.ThreadLocalLeakTest) Time elapsed: 0.022 sec <<< FAILURE!
> java.lang.IllegalStateException: Thread locals still present: {ForkThread-1,ThreadLocalLeakTest={java.lang.ThreadLocal@45cd9a4c=org.infinispan.commons.util.concurrent.jdk8backported.EquivalentConcurrentHashMapV8$CounterHashCode(a)3d4d1761}}
> at org.infinispan.util.ThreadLocalLeakTest.testCheckThreadLocalLeaks(ThreadLocalLeakTest.java:87)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:744)
> Results :
> Failed tests:
> ThreadLocalLeakTest.testCheckThreadLocalLeaks:87 IllegalState Thread locals st...
> Tests run: 4277, Failures: 1, Errors: 0, Skipped: 0
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 11 months
[JBoss JIRA] (ISPN-4129) Add Query, CDI, JCache, LevelDB and REST to the AS modules
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-4129?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo updated ISPN-4129:
------------------------------
Fix Version/s: 7.0.0.Beta1
(was: 7.0.0.Alpha4)
> Add Query, CDI, JCache, LevelDB and REST to the AS modules
> ----------------------------------------------------------
>
> Key: ISPN-4129
> URL: https://issues.jboss.org/browse/ISPN-4129
> Project: Infinispan
> Issue Type: Feature Request
> Components: Build process
> Affects Versions: 7.0.0.Alpha1
> Reporter: Tristan Tarrant
> Assignee: Pedro Ruivo
> Fix For: 7.0.0.Beta1, 7.0.0.Final
>
>
> Query, CDI, JCache, LevelDB and REST modules need to be added to the AS modules we ship
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 11 months
[JBoss JIRA] (ISPN-4166) useSynchronization should be disabled by default
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-4166?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo updated ISPN-4166:
------------------------------
Fix Version/s: 7.0.0.Beta1
(was: 7.0.0.Alpha4)
> useSynchronization should be disabled by default
> ------------------------------------------------
>
> Key: ISPN-4166
> URL: https://issues.jboss.org/browse/ISPN-4166
> Project: Infinispan
> Issue Type: Feature Request
> Components: Configuration, Transactions
> Affects Versions: 6.0.2.Final
> Reporter: Dan Berindei
> Assignee: Ion Savin
> Priority: Critical
> Fix For: 7.0.0.Beta1, 7.0.0.Final
>
>
> When Infinispan registers with the transaction manager as a synchronization, failures during commit are not reported to the user.
> Even if registering as a synchronization is faster in some cases, the default should be the safe version.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 11 months
[JBoss JIRA] (ISPN-4163) CacheAuthorizationTest.testAllCombinations always fails on JDK8
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-4163?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo updated ISPN-4163:
------------------------------
Fix Version/s: 7.0.0.Beta1
(was: 7.0.0.Alpha4)
> CacheAuthorizationTest.testAllCombinations always fails on JDK8
> ---------------------------------------------------------------
>
> Key: ISPN-4163
> URL: https://issues.jboss.org/browse/ISPN-4163
> Project: Infinispan
> Issue Type: Bug
> Components: Security, Test Suite - Core
> Affects Versions: 7.0.0.Alpha1
> Reporter: Dan Berindei
> Assignee: Tristan Tarrant
> Labels: testsuite_stability
> Fix For: 7.0.0.Beta1
>
>
> JDK8 added some new default methods to ConcurrentMap, and SecureCacheTestDriver doesn't cover them. This actually raises the question of whether we could provide our own implementations while still keeping compatibility with JDK6...
> {noformat}
> java.lang.Exception: Class org.infinispan.security.SecureCacheTestDriver needs to declare a method with the following signature: void testReplaceAll_BiFunction(SecureCache<String, String> cache) {}
> at org.infinispan.security.CacheAuthorizationTest.testAllCombinations(CacheAuthorizationTest.java:158)
> Caused by: java.lang.NoSuchMethodException: org.infinispan.security.SecureCacheTestDriver.testReplaceAll_BiFunction(org.infinispan.security.SecureCache)
> at java.lang.Class.getMethod(Class.java:1773)
> at org.infinispan.security.CacheAuthorizationTest.testAllCombinations(CacheAuthorizationTest.java:109) ... 20 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 11 months