[JBoss JIRA] (ISPN-6607) extra closing tag symbol
by Martin Vrabel (JIRA)
Martin Vrabel created ISPN-6607:
-----------------------------------
Summary: extra closing tag symbol
Key: ISPN-6607
URL: https://issues.jboss.org/browse/ISPN-6607
Project: Infinispan
Issue Type: Bug
Components: Documentation-Core
Reporter: Martin Vrabel
Priority: Trivial
in section 8.2.2 [#http://infinispan.org/docs/8.2.x/user_guide/user_guide.html#_sample_xml_configuration_2]
{code}
<local-cache name="vehicleCache">
<persistence passivation="false">
<jpa-store xmlns="urn:infinispan:config:store:jpa:7.0"
persistence-unit="org.infinispan.persistence.jpa.configurationTest"
entity-class="org.infinispan.persistence.jpa.entity.Vehicle"{color:#d04437}>{color}
/>
</persistence>
</local-cache>
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ISPN-6607) extra closing tag symbol
by Martin Vrabel (JIRA)
[ https://issues.jboss.org/browse/ISPN-6607?page=com.atlassian.jira.plugin.... ]
Martin Vrabel updated ISPN-6607:
--------------------------------
Description:
in section 8.2.2 [#http://infinispan.org/docs/8.2.x/user_guide/user_guide.html#_sample_xml_configuration_2]
<local-cache name="vehicleCache">
<persistence passivation="false">
<jpa-store xmlns="urn:infinispan:config:store:jpa:7.0"
persistence-unit="org.infinispan.persistence.jpa.configurationTest"
entity-class="org.infinispan.persistence.jpa.entity.Vehicle"{color:#d04437}>{color}
/>
</persistence>
</local-cache>
was:
in section 8.2.2 [#http://infinispan.org/docs/8.2.x/user_guide/user_guide.html#_sample_xml_configuration_2]
{code}
<local-cache name="vehicleCache">
<persistence passivation="false">
<jpa-store xmlns="urn:infinispan:config:store:jpa:7.0"
persistence-unit="org.infinispan.persistence.jpa.configurationTest"
entity-class="org.infinispan.persistence.jpa.entity.Vehicle"{color:#d04437}>{color}
/>
</persistence>
</local-cache>
{code}
> extra closing tag symbol
> -------------------------
>
> Key: ISPN-6607
> URL: https://issues.jboss.org/browse/ISPN-6607
> Project: Infinispan
> Issue Type: Bug
> Components: Documentation-Core
> Reporter: Martin Vrabel
> Priority: Trivial
>
> in section 8.2.2 [#http://infinispan.org/docs/8.2.x/user_guide/user_guide.html#_sample_xml_configuration_2]
> <local-cache name="vehicleCache">
> <persistence passivation="false">
> <jpa-store xmlns="urn:infinispan:config:store:jpa:7.0"
> persistence-unit="org.infinispan.persistence.jpa.configurationTest"
> entity-class="org.infinispan.persistence.jpa.entity.Vehicle"{color:#d04437}>{color}
> />
> </persistence>
> </local-cache>
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ISPN-6363) NullPointerException while executing a script on non secured cache located in secured container
by Vojtech Juranek (JIRA)
[ https://issues.jboss.org/browse/ISPN-6363?page=com.atlassian.jira.plugin.... ]
Vojtech Juranek reassigned ISPN-6363:
-------------------------------------
Assignee: Vojtech Juranek
> NullPointerException while executing a script on non secured cache located in secured container
> -----------------------------------------------------------------------------------------------
>
> Key: ISPN-6363
> URL: https://issues.jboss.org/browse/ISPN-6363
> Project: Infinispan
> Issue Type: Bug
> Components: Tasks
> Reporter: Anna Manukyan
> Assignee: Vojtech Juranek
>
> NullPointerException is thrown while executing a script on non secured cache which is located in secured container.
> The exception is:
> {code}
> java.security.PrivilegedActionException: java.lang.NullPointerException
> at org.infinispan.security.Security.doAs(Security.java:145)
> at org.infinispan.scripting.SecureScriptingTest.test(SecureScriptingTest.java:142)
> 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.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72)
> at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:122)
> 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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
> Caused by: java.lang.NullPointerException
> at org.infinispan.scripting.impl.ScriptingManagerImpl.runScript(ScriptingManagerImpl.java:152)
> at org.infinispan.scripting.SecureScriptingTest$8.run(SecureScriptingTest.java:145)
> at org.infinispan.scripting.SecureScriptingTest$8.run(SecureScriptingTest.java:142)
> at org.infinispan.security.Security.doAs(Security.java:143)
> ... 29 more
> {code}
> The test is:
> {code}
> public void test() throws ExecutionException, InterruptedException, PrivilegedActionException {
> Security.doAs(ADMIN, new PrivilegedAction<Void>() {
> @Override
> public Void run() {
> cacheManager.defineConfiguration("nonSecuredCache", TestCacheManagerFactory.getDefaultCacheConfiguration(true).build());
> return null;
> }
> });
> cache("nonSecuredCache").put("a", "value");
> assertEquals("value", cacheManager.getCache("nonSecuredCache").get("a"));
> String result = Security.doAs(RUNNER, new PrivilegedExceptionAction<String>() {
> @Override
> public String run() throws Exception {
> return (String) scriptingManager.runScript("test.js", new TaskContext().addParameter("a", "a").cache(cache("nonSecuredCache"))).get();
> }
> });
> assertEquals("a", result);
> assertEquals("a", cacheManager.getCache("nonSecuredCache").get("a"));
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ISPN-6363) NullPointerException while executing a script on non secured cache located in secured container
by Vojtech Juranek (JIRA)
[ https://issues.jboss.org/browse/ISPN-6363?page=com.atlassian.jira.plugin.... ]
Vojtech Juranek updated ISPN-6363:
----------------------------------
Status: Open (was: New)
> NullPointerException while executing a script on non secured cache located in secured container
> -----------------------------------------------------------------------------------------------
>
> Key: ISPN-6363
> URL: https://issues.jboss.org/browse/ISPN-6363
> Project: Infinispan
> Issue Type: Bug
> Components: Tasks
> Reporter: Anna Manukyan
> Assignee: Vojtech Juranek
>
> NullPointerException is thrown while executing a script on non secured cache which is located in secured container.
> The exception is:
> {code}
> java.security.PrivilegedActionException: java.lang.NullPointerException
> at org.infinispan.security.Security.doAs(Security.java:145)
> at org.infinispan.scripting.SecureScriptingTest.test(SecureScriptingTest.java:142)
> 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.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72)
> at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:122)
> 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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
> Caused by: java.lang.NullPointerException
> at org.infinispan.scripting.impl.ScriptingManagerImpl.runScript(ScriptingManagerImpl.java:152)
> at org.infinispan.scripting.SecureScriptingTest$8.run(SecureScriptingTest.java:145)
> at org.infinispan.scripting.SecureScriptingTest$8.run(SecureScriptingTest.java:142)
> at org.infinispan.security.Security.doAs(Security.java:143)
> ... 29 more
> {code}
> The test is:
> {code}
> public void test() throws ExecutionException, InterruptedException, PrivilegedActionException {
> Security.doAs(ADMIN, new PrivilegedAction<Void>() {
> @Override
> public Void run() {
> cacheManager.defineConfiguration("nonSecuredCache", TestCacheManagerFactory.getDefaultCacheConfiguration(true).build());
> return null;
> }
> });
> cache("nonSecuredCache").put("a", "value");
> assertEquals("value", cacheManager.getCache("nonSecuredCache").get("a"));
> String result = Security.doAs(RUNNER, new PrivilegedExceptionAction<String>() {
> @Override
> public String run() throws Exception {
> return (String) scriptingManager.runScript("test.js", new TaskContext().addParameter("a", "a").cache(cache("nonSecuredCache"))).get();
> }
> });
> assertEquals("a", result);
> assertEquals("a", cacheManager.getCache("nonSecuredCache").get("a"));
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ISPN-6363) NullPointerException while executing a script on non secured cache located in secured container
by Vojtech Juranek (JIRA)
[ https://issues.jboss.org/browse/ISPN-6363?page=com.atlassian.jira.plugin.... ]
Vojtech Juranek updated ISPN-6363:
----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/4319
> NullPointerException while executing a script on non secured cache located in secured container
> -----------------------------------------------------------------------------------------------
>
> Key: ISPN-6363
> URL: https://issues.jboss.org/browse/ISPN-6363
> Project: Infinispan
> Issue Type: Bug
> Components: Tasks
> Reporter: Anna Manukyan
> Assignee: Vojtech Juranek
>
> NullPointerException is thrown while executing a script on non secured cache which is located in secured container.
> The exception is:
> {code}
> java.security.PrivilegedActionException: java.lang.NullPointerException
> at org.infinispan.security.Security.doAs(Security.java:145)
> at org.infinispan.scripting.SecureScriptingTest.test(SecureScriptingTest.java:142)
> 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.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72)
> at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:122)
> 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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
> Caused by: java.lang.NullPointerException
> at org.infinispan.scripting.impl.ScriptingManagerImpl.runScript(ScriptingManagerImpl.java:152)
> at org.infinispan.scripting.SecureScriptingTest$8.run(SecureScriptingTest.java:145)
> at org.infinispan.scripting.SecureScriptingTest$8.run(SecureScriptingTest.java:142)
> at org.infinispan.security.Security.doAs(Security.java:143)
> ... 29 more
> {code}
> The test is:
> {code}
> public void test() throws ExecutionException, InterruptedException, PrivilegedActionException {
> Security.doAs(ADMIN, new PrivilegedAction<Void>() {
> @Override
> public Void run() {
> cacheManager.defineConfiguration("nonSecuredCache", TestCacheManagerFactory.getDefaultCacheConfiguration(true).build());
> return null;
> }
> });
> cache("nonSecuredCache").put("a", "value");
> assertEquals("value", cacheManager.getCache("nonSecuredCache").get("a"));
> String result = Security.doAs(RUNNER, new PrivilegedExceptionAction<String>() {
> @Override
> public String run() throws Exception {
> return (String) scriptingManager.runScript("test.js", new TaskContext().addParameter("a", "a").cache(cache("nonSecuredCache"))).get();
> }
> });
> assertEquals("a", result);
> assertEquals("a", cacheManager.getCache("nonSecuredCache").get("a"));
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ISPN-6602) ParallelHotRodOperation failover not working
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6602?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-6602:
------------------------------------
Summary: ParallelHotRodOperation failover not working (was: ParallelHotRodOperation fail-over not working)
> ParallelHotRodOperation failover not working
> --------------------------------------------
>
> Key: ISPN-6602
> URL: https://issues.jboss.org/browse/ISPN-6602
> Project: Infinispan
> Issue Type: Bug
> Reporter: Gustavo Fernandes
>
> When doing a {{putAll}} and a server goes down, the Hot Rod client aborts with the exception:
> {code}
> 15:53:10,741 ERROR (HotRod-client-async-pool-5) [RetryOnFailureOperation] ISPN004007: Exception encountered. Retry 10 out of 10
> org.infinispan.client.hotrod.exceptions.TransportException:: Could not fetch transport
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.borrowTransportFromPool(TcpTransportFactory.java:400)
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.getTransport(TcpTransportFactory.java:278)
> at org.infinispan.client.hotrod.impl.operations.PutAllOperation.getTransport(PutAllOperation.java:65)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:53)
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.lambda$executeParallel$15(ParallelHotRodOperation.java:63)
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation$$Lambda$38/973833666.call(Unknown Source)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)Exception in thread "main" java.util.concurrent.CompletionException: org.infinispan.client.hotrod.exceptions.ParallelOperationException:: java.util.concurrent.ExecutionException: org.infinispan.client.hotrod.exceptions.TransportException:: Could not fetch transport
> at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
> at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
> at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1584)
> at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1574)
> at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
> at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
> at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689)
> at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
> Caused by: org.infinispan.client.hotrod.exceptions.ParallelOperationException:: java.util.concurrent.ExecutionException: org.infinispan.client.hotrod.exceptions.TransportException:: Could not fetch transport
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.executeParallel(ParallelHotRodOperation.java:79)
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.execute(ParallelHotRodOperation.java:50)
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.putAll(RemoteCacheImpl.java:223)
> at
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ISPN-6602) ParallelHotRodOperation failover not working
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6602?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-6602:
------------------------------------
Status: Open (was: New)
> ParallelHotRodOperation failover not working
> --------------------------------------------
>
> Key: ISPN-6602
> URL: https://issues.jboss.org/browse/ISPN-6602
> Project: Infinispan
> Issue Type: Bug
> Reporter: Gustavo Fernandes
>
> When doing a {{putAll}} and a server goes down, the Hot Rod client aborts with the exception:
> {code}
> 15:53:10,741 ERROR (HotRod-client-async-pool-5) [RetryOnFailureOperation] ISPN004007: Exception encountered. Retry 10 out of 10
> org.infinispan.client.hotrod.exceptions.TransportException:: Could not fetch transport
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.borrowTransportFromPool(TcpTransportFactory.java:400)
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.getTransport(TcpTransportFactory.java:278)
> at org.infinispan.client.hotrod.impl.operations.PutAllOperation.getTransport(PutAllOperation.java:65)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:53)
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.lambda$executeParallel$15(ParallelHotRodOperation.java:63)
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation$$Lambda$38/973833666.call(Unknown Source)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)Exception in thread "main" java.util.concurrent.CompletionException: org.infinispan.client.hotrod.exceptions.ParallelOperationException:: java.util.concurrent.ExecutionException: org.infinispan.client.hotrod.exceptions.TransportException:: Could not fetch transport
> at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
> at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
> at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1584)
> at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1574)
> at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
> at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
> at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689)
> at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
> Caused by: org.infinispan.client.hotrod.exceptions.ParallelOperationException:: java.util.concurrent.ExecutionException: org.infinispan.client.hotrod.exceptions.TransportException:: Could not fetch transport
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.executeParallel(ParallelHotRodOperation.java:79)
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.execute(ParallelHotRodOperation.java:50)
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.putAll(RemoteCacheImpl.java:223)
> at
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ISPN-6602) ParallelHotRodOperation failover not working
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6602?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-6602:
------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/4318
> ParallelHotRodOperation failover not working
> --------------------------------------------
>
> Key: ISPN-6602
> URL: https://issues.jboss.org/browse/ISPN-6602
> Project: Infinispan
> Issue Type: Bug
> Reporter: Gustavo Fernandes
>
> When doing a {{putAll}} and a server goes down, the Hot Rod client aborts with the exception:
> {code}
> 15:53:10,741 ERROR (HotRod-client-async-pool-5) [RetryOnFailureOperation] ISPN004007: Exception encountered. Retry 10 out of 10
> org.infinispan.client.hotrod.exceptions.TransportException:: Could not fetch transport
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.borrowTransportFromPool(TcpTransportFactory.java:400)
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.getTransport(TcpTransportFactory.java:278)
> at org.infinispan.client.hotrod.impl.operations.PutAllOperation.getTransport(PutAllOperation.java:65)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:53)
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.lambda$executeParallel$15(ParallelHotRodOperation.java:63)
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation$$Lambda$38/973833666.call(Unknown Source)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)Exception in thread "main" java.util.concurrent.CompletionException: org.infinispan.client.hotrod.exceptions.ParallelOperationException:: java.util.concurrent.ExecutionException: org.infinispan.client.hotrod.exceptions.TransportException:: Could not fetch transport
> at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
> at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
> at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1584)
> at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1574)
> at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
> at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
> at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689)
> at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
> Caused by: org.infinispan.client.hotrod.exceptions.ParallelOperationException:: java.util.concurrent.ExecutionException: org.infinispan.client.hotrod.exceptions.TransportException:: Could not fetch transport
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.executeParallel(ParallelHotRodOperation.java:79)
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.execute(ParallelHotRodOperation.java:50)
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.putAll(RemoteCacheImpl.java:223)
> at
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ISPN-6530) Cannot enable security configuration for a cache in cache configuration page if there was no security configuration at container startup
by Martin Vrabel (JIRA)
[ https://issues.jboss.org/browse/ISPN-6530?page=com.atlassian.jira.plugin.... ]
Martin Vrabel commented on ISPN-6530:
-------------------------------------
[~vblagojevic] I updated the description to be unambiguous.
> Cannot enable security configuration for a cache in cache configuration page if there was no security configuration at container startup
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-6530
> URL: https://issues.jboss.org/browse/ISPN-6530
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Affects Versions: 8.2.1.Final
> Reporter: Martin Vrabel
> Assignee: Vladimir Blagojevic
>
> in cache configuration page in security tab. if we have cache container with configured secirity
> {code}
> <security>
> <authorization>
> <identity-role-mapper/>
> <role name="reader" permissions="READ"/>
> <role name="admin" permissions="ALL"/>
> <role name="executor" permissions="READ WRITE EXEC LISTEN"/>
> </authorization>
> </security>
> {code}
> and a cache that doesn't have a security configuration e.g.
> {code}
> <security>
> <authorization roles="admin" />
> </security>
> {code}
> at the start of the container and I enable security in the cache configuration page I get this error.
> {code}
> Error
> domain-failure-description
> WFLYCTL0175: Resource [ ("profile" => "clustered"), ("subsystem" => "datagrid-infinispan"), ("cache-container" => "testContainer"), ("configurations" => "CONFIGURATIONS"), ("local-cache-configuration" => "localCacheForConfigurationTesting"), ("security" => "SECURITY") ] does not exist; a resource at address [ ("profile" => "clustered"), ("subsystem" => "datagrid-infinispan"), ("cache-container" => "testContainer"), ("configurations" => "CONFIGURATIONS"), ("local-cache-configuration" => "localCacheForConfigurationTesting"), ("security" => "SECURITY"), ("authorization" => "AUTHORIZATION") ] cannot be created until all ancestor resources have been added
> {code}
> The console looks for the JMX value but because there is no configuration it throws an error
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months