[JBoss JIRA] (ISPN-6480) SecurityManagerCacheAuthorizationTest fails
by Vojtech Juranek (JIRA)
[ https://issues.jboss.org/browse/ISPN-6480?page=com.atlassian.jira.plugin.... ]
Vojtech Juranek updated ISPN-6480:
----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/4228
> SecurityManagerCacheAuthorizationTest fails
> --------------------------------------------
>
> Key: ISPN-6480
> URL: https://issues.jboss.org/browse/ISPN-6480
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Reporter: Vojtech Juranek
> Assignee: Vojtech Juranek
>
> {{ SecurityManagerCacheAuthorizationTest.testAllCombinations}} fails with
> {noformat}
> java.security.PrivilegedActionException: java.lang.Exception: Unexpected non-SecurityException
> at org.infinispan.security.Security.doAs(Security.java:145)
> at org.infinispan.security.CacheAuthorizationTest.testAllCombinations(CacheAuthorizationTest.java:143)
> at org.infinispan.security.SecurityManagerCacheAuthorizationTest.testAllCombinations(SecurityManagerCacheAuthorizationTest.java:21)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> 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:348)
> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
> at org.testng.SuiteRunner.run(SuiteRunner.java:254)
> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
> at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
> at org.testng.TestNG.run(TestNG.java:1057)
> at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
> at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:205)
> at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:108)
> at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
> at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> Caused by: java.lang.Exception: Unexpected non-SecurityException
> at org.infinispan.security.CacheAuthorizationTest$5.run(CacheAuthorizationTest.java:162)
> at org.infinispan.security.CacheAuthorizationTest$5.run(CacheAuthorizationTest.java:143)
> at org.infinispan.security.Security.doAs(Security.java:143)
> ... 30 more
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.infinispan.security.CacheAuthorizationTest$5.run(CacheAuthorizationTest.java:147)
> ... 32 more
> Caused by: org.infinispan.IllegalLifecycleStateException: ISPN000324: ___defaultcache is in 'STOPPING' state and this is an invocation not belonging to an on-going transaction, so it does not accept new invocations. Either restart it or recreate the cache container.
> at org.infinispan.transaction.impl.TransactionTable.getOrCreateLocalTransaction(TransactionTable.java:425)
> at org.infinispan.context.TransactionalInvocationContextFactory.createInvocationContext(TransactionalInvocationContextFactory.java:70)
> at org.infinispan.cache.impl.CacheImpl.getInvocationContext(CacheImpl.java:831)
> at org.infinispan.cache.impl.CacheImpl.getInvocationContextWithImplicitTransaction(CacheImpl.java:822)
> at org.infinispan.cache.impl.CacheImpl.putIfAbsent(CacheImpl.java:1248)
> at org.infinispan.cache.impl.CacheImpl.putIfAbsent(CacheImpl.java:1236)
> at org.infinispan.cache.impl.CacheImpl.putIfAbsent(CacheImpl.java:256)
> at org.infinispan.security.impl.SecureCacheImpl.putIfAbsent(SecureCacheImpl.java:204)
> at org.infinispan.security.SecureCacheTestDriver.testPutIfAbsent_Object_Object_long_TimeUnit(SecureCacheTestDriver.java:281)
> ... 37 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months
[JBoss JIRA] (ISPN-6480) SecurityManagerCacheAuthorizationTest fails
by Vojtech Juranek (JIRA)
Vojtech Juranek created ISPN-6480:
-------------------------------------
Summary: SecurityManagerCacheAuthorizationTest fails
Key: ISPN-6480
URL: https://issues.jboss.org/browse/ISPN-6480
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Reporter: Vojtech Juranek
Assignee: Vojtech Juranek
{{ SecurityManagerCacheAuthorizationTest.testAllCombinations}} fails with
{noformat}
java.security.PrivilegedActionException: java.lang.Exception: Unexpected non-SecurityException
at org.infinispan.security.Security.doAs(Security.java:145)
at org.infinispan.security.CacheAuthorizationTest.testAllCombinations(CacheAuthorizationTest.java:143)
at org.infinispan.security.SecurityManagerCacheAuthorizationTest.testAllCombinations(SecurityManagerCacheAuthorizationTest.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
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:348)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
at org.testng.SuiteRunner.run(SuiteRunner.java:254)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:205)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:108)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: java.lang.Exception: Unexpected non-SecurityException
at org.infinispan.security.CacheAuthorizationTest$5.run(CacheAuthorizationTest.java:162)
at org.infinispan.security.CacheAuthorizationTest$5.run(CacheAuthorizationTest.java:143)
at org.infinispan.security.Security.doAs(Security.java:143)
... 30 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.infinispan.security.CacheAuthorizationTest$5.run(CacheAuthorizationTest.java:147)
... 32 more
Caused by: org.infinispan.IllegalLifecycleStateException: ISPN000324: ___defaultcache is in 'STOPPING' state and this is an invocation not belonging to an on-going transaction, so it does not accept new invocations. Either restart it or recreate the cache container.
at org.infinispan.transaction.impl.TransactionTable.getOrCreateLocalTransaction(TransactionTable.java:425)
at org.infinispan.context.TransactionalInvocationContextFactory.createInvocationContext(TransactionalInvocationContextFactory.java:70)
at org.infinispan.cache.impl.CacheImpl.getInvocationContext(CacheImpl.java:831)
at org.infinispan.cache.impl.CacheImpl.getInvocationContextWithImplicitTransaction(CacheImpl.java:822)
at org.infinispan.cache.impl.CacheImpl.putIfAbsent(CacheImpl.java:1248)
at org.infinispan.cache.impl.CacheImpl.putIfAbsent(CacheImpl.java:1236)
at org.infinispan.cache.impl.CacheImpl.putIfAbsent(CacheImpl.java:256)
at org.infinispan.security.impl.SecureCacheImpl.putIfAbsent(SecureCacheImpl.java:204)
at org.infinispan.security.SecureCacheTestDriver.testPutIfAbsent_Object_Object_long_TimeUnit(SecureCacheTestDriver.java:281)
... 37 more
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months
[JBoss JIRA] (ISPN-5824) Migration tool for configuration for both library mode and server
by Pedro Zapata (JIRA)
[ https://issues.jboss.org/browse/ISPN-5824?page=com.atlassian.jira.plugin.... ]
Pedro Zapata reassigned ISPN-5824:
----------------------------------
Assignee: Tristan Tarrant
> Migration tool for configuration for both library mode and server
> -----------------------------------------------------------------
>
> Key: ISPN-5824
> URL: https://issues.jboss.org/browse/ISPN-5824
> Project: Infinispan
> Issue Type: Feature Request
> Components: Configuration
> Reporter: Pedro Zapata
> Assignee: Tristan Tarrant
> Labels: jdg7
>
> Regarding Configuration, the big changes: Library mode and Client-server mode have same configurations. Any infinispan.xml in Library will need to be changed substantially. We will need to write a migrator tool from old Library xml to Library xml. JDG Server will be able to read existing Server infinispan.xml and change it to latest version (upon any action on the Management model).
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months
[JBoss JIRA] (ISPN-6478) Netty worker thread starvation with events
by Galder Zamarreño (JIRA)
Galder Zamarreño created ISPN-6478:
--------------------------------------
Summary: Netty worker thread starvation with events
Key: ISPN-6478
URL: https://issues.jboss.org/browse/ISPN-6478
Project: Infinispan
Issue Type: Bug
Components: Server
Affects Versions: 8.2.1.Final
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Priority: Blocker
Fix For: 9.0.0.Alpha1, 8.2.2.Final, 9.0.0.Final
As a result of ISPN-6005, we decoupled the incoming Hot Rod server invocations from sending events by adding a intermediate queue that maintains the events to send to clients. However, this separation can lead to a Netty worker thread starvation issue since we add the events to the queue in Netty's IO thread, so if the queue is full, incoming requests are stuck.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months
[JBoss JIRA] (ISPN-6096) Cache container page does not show any containers when more hotrod-connectors are defined
by Martin Gencur (JIRA)
[ https://issues.jboss.org/browse/ISPN-6096?page=com.atlassian.jira.plugin.... ]
Martin Gencur commented on ISPN-6096:
-------------------------------------
Vladimir, all you need to do to get the right configuration file is to add "name" attribute to the existing hotrod endpoint and then create another endpoint (with different name) that will point to a different cache. That's all.
> Cache container page does not show any containers when more hotrod-connectors are defined
> -----------------------------------------------------------------------------------------
>
> Key: ISPN-6096
> URL: https://issues.jboss.org/browse/ISPN-6096
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Reporter: Martin Gencur
> Assignee: Vladimir Blagojevic
>
> When there's more than one <hotrod-connector> defined in domain.xml configuration, the cache container page does not show any containers. Tested many times.
> The server should be able to provide multiple HotRod endpoints bound to different cache containers.
> More specifically, this bug appears whenever I add "name" attribut to <hotrod-connector> tag. This attribute is required to differentiate hotrod connectors when there are more than one.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months