[JBoss JIRA] (ISPN-10131) XSite: Taking Sites Offline with ASYNC
by Donald Naro (Jira)
Donald Naro created ISPN-10131:
----------------------------------
Summary: XSite: Taking Sites Offline with ASYNC
Key: ISPN-10131
URL: https://issues.jboss.org/browse/ISPN-10131
Project: Infinispan
Issue Type: Enhancement
Components: Documentation-Core
Affects Versions: 10.0.0.Beta4, 9.4.13.Final
Reporter: Donald Naro
Assignee: Donald Naro
Upstream issue to document that taking sites offline does not work with ASYNC mode.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (ISPN-10130) Remote cache calls from client listener get stuck
by Galder Zamarreño (Jira)
[ https://issues.jboss.org/browse/ISPN-10130?page=com.atlassian.jira.plugin... ]
Galder Zamarreño updated ISPN-10130:
------------------------------------
Workaround Description:
If value information is needed, an existing converter can be used whereby the value created gets shipped back as part of the listener callback, e.g.
{code}
public class RemoteCacheGetFromListenerTest extends SingleHotRodServerTest {
public void test000() throws InterruptedException {
final RemoteCache<String, Object> remoteCache = remoteCacheManager.getCache();
remoteCache.addClientListener(new RemoteListener2(remoteCache));
final String key = UUID.randomUUID().toString();
remoteCache.put(key, 12345);
Thread.sleep(1000);
remoteCache.put(key, 23456);
}
@ClientListener(converterFactoryName = "key-value-with-previous-converter-factory")
private static class RemoteListener2 {
private final RemoteCache<String, Object> remoteCache;
public RemoteListener2(RemoteCache<String, Object> remoteCache) {
this.remoteCache = remoteCache;
}
@ClientCacheEntryCreated
public void handleCreatedEvent(ClientCacheEntryCustomEvent<KeyValueWithPrevious<String, Object>> event) {
System.out.println("RemoteListener.handleCreatedEvent: " + event);
System.out.println(event.getEventData().getValue());
}
}
}
{code}
Workaround: Workaround Exists
> Remote cache calls from client listener get stuck
> -------------------------------------------------
>
> Key: ISPN-10130
> URL: https://issues.jboss.org/browse/ISPN-10130
> Project: Infinispan
> Issue Type: Bug
> Components: Listeners, Remote Protocols
> Affects Versions: 9.4.12.Final, 10.0.0.Beta3
> Reporter: Galder Zamarreño
> Priority: Major
> Labels: rhdemo-2019
>
> Remote cache get() call from within a ClientListener callback gets stuck, e.g.
> {code}
> @Test(testName = "client.hotrod.MusaTest")
> public class RemoteCacheGetFromListenerTest extends SingleHotRodServerTest {
> public void test000() throws InterruptedException {
> final RemoteCache<String, Object> remoteCache = remoteCacheManager.getCache();
> remoteCache.addClientListener(new RemoteListener2(remoteCache));
> remoteCache.put(UUID.randomUUID().toString(), 12345);
> Thread.sleep(1000);
> }
> @ClientListener()
> private static class RemoteListener2 {
> private final RemoteCache<String, Object> remoteCache;
> public RemoteListener2(RemoteCache<String, Object> remoteCache) {
> this.remoteCache = remoteCache;
> }
> @ClientCacheEntryCreated
> public void handleCreatedEvent(ClientCacheEntryCreatedEvent<String> event) {
> System.out.println("RemoteListener.handleCreatedEvent: " + event);
> System.out.println(remoteCache.get(event.getKey()));
> }
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (ISPN-10130) Remote cache calls from client listener get stuck
by Galder Zamarreño (Jira)
Galder Zamarreño created ISPN-10130:
---------------------------------------
Summary: Remote cache calls from client listener get stuck
Key: ISPN-10130
URL: https://issues.jboss.org/browse/ISPN-10130
Project: Infinispan
Issue Type: Bug
Components: Listeners, Remote Protocols
Affects Versions: 10.0.0.Beta3, 9.4.12.Final
Reporter: Galder Zamarreño
Remote cache get() call from within a ClientListener callback gets stuck, e.g.
{code}
@Test(testName = "client.hotrod.MusaTest")
public class RemoteCacheGetFromListenerTest extends SingleHotRodServerTest {
public void test000() throws InterruptedException {
final RemoteCache<String, Object> remoteCache = remoteCacheManager.getCache();
remoteCache.addClientListener(new RemoteListener2(remoteCache));
remoteCache.put(UUID.randomUUID().toString(), 12345);
Thread.sleep(1000);
}
@ClientListener()
private static class RemoteListener2 {
private final RemoteCache<String, Object> remoteCache;
public RemoteListener2(RemoteCache<String, Object> remoteCache) {
this.remoteCache = remoteCache;
}
@ClientCacheEntryCreated
public void handleCreatedEvent(ClientCacheEntryCreatedEvent<String> event) {
System.out.println("RemoteListener.handleCreatedEvent: " + event);
System.out.println(remoteCache.get(event.getKey()));
}
}
}
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (ISPN-10038) Console counters unable to correctly display all long values
by Galder Zamarreño (Jira)
[ https://issues.jboss.org/browse/ISPN-10038?page=com.atlassian.jira.plugin... ]
Galder Zamarreño updated ISPN-10038:
------------------------------------
Labels: rhdemo-2019 (was: )
> Console counters unable to correctly display all long values
> ------------------------------------------------------------
>
> Key: ISPN-10038
> URL: https://issues.jboss.org/browse/ISPN-10038
> Project: Infinispan
> Issue Type: Bug
> Components: Clustered Counter, Console
> Affects Versions: 9.4.9.Final, 10.0.0.Beta2
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Labels: rhdemo-2019
>
> Currently the console is unable to display all possible counter values, as the max integer that can be represented by javascript is (2^53)-1, whereas Java is (2^63)-1. Normally the workaround for this would be to simply store the number as a String, however the counter value is returned as a number in the returned JSON, so it is automatically parsed as a number by the console and the exact value is lost.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (ISPN-10129) CLI NullPointerException after running CLI "create" command
by Tristan Tarrant (Jira)
[ https://issues.jboss.org/browse/ISPN-10129?page=com.atlassian.jira.plugin... ]
Tristan Tarrant updated ISPN-10129:
-----------------------------------
Affects Version/s: 10.0.0.Beta3
9.4.12.Final
> CLI NullPointerException after running CLI "create" command
> -----------------------------------------------------------
>
> Key: ISPN-10129
> URL: https://issues.jboss.org/browse/ISPN-10129
> Project: Infinispan
> Issue Type: Bug
> Components: CLI
> Affects Versions: 9.4.12.Final, 10.0.0.Beta3
> Environment: JDG-7.3
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 10.0.0.Beta4, 9.4.13.Final
>
>
> Getting Null Pointer Exception after running "create" command from CLI :
> Below is the exception snippet :
> ~~~
> 16:59:43,111 ERROR [org.infinispan.cli.interpreter.Interpreter] (management-handler-thread - 1) ISPN019003: Interpreter error: java.lang.NullPointerException
> at org.infinispan.cli.interpreter.session.SessionImpl.createCache(SessionImpl.java:109)
> at org.infinispan.cli.interpreter.statement.CreateStatement.execute(CreateStatement.java:25)
> at org.infinispan.cli.interpreter.Interpreter.execute(Interpreter.java:140)
> at org.infinispan.server.infinispan.SecurityActions.lambda$executeInterpreter$7(SecurityActions.java:268)
> at org.infinispan.security.Security.doPrivileged(Security.java:57)
> at org.infinispan.server.infinispan.SecurityActions.doPrivileged(SecurityActions.java:77)
> at org.infinispan.server.infinispan.SecurityActions.executeInterpreter(SecurityActions.java:269)
> at org.jboss.as.clustering.infinispan.subsystem.CliInterpreterHandler.execute(CliInterpreterHandler.java:71)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:999)
> at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:743)
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467)
> at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1411)
> at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:423)
> at org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:243)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:265)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:231)
> at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:243)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:240)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$400(ModelControllerClientOperationHandler.java:138)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:162)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:158)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:289)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:246)
> at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254)
> at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:158)
> at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70)
> at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
> at java.lang.Thread.run(Thread.java:748)
> at org.jboss.threads.JBossThread.run(JBossThread.java:485)
> ~~~
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (ISPN-10129) CLI NullPointerException after running CLI "create" command
by Tristan Tarrant (Jira)
[ https://issues.jboss.org/browse/ISPN-10129?page=com.atlassian.jira.plugin... ]
Tristan Tarrant updated ISPN-10129:
-----------------------------------
Fix Version/s: 10.0.0.Beta4
9.4.13.Final
> CLI NullPointerException after running CLI "create" command
> -----------------------------------------------------------
>
> Key: ISPN-10129
> URL: https://issues.jboss.org/browse/ISPN-10129
> Project: Infinispan
> Issue Type: Bug
> Components: CLI
> Affects Versions: 9.4.12.Final, 10.0.0.Beta3
> Environment: JDG-7.3
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 10.0.0.Beta4, 9.4.13.Final
>
>
> Getting Null Pointer Exception after running "create" command from CLI :
> Below is the exception snippet :
> ~~~
> 16:59:43,111 ERROR [org.infinispan.cli.interpreter.Interpreter] (management-handler-thread - 1) ISPN019003: Interpreter error: java.lang.NullPointerException
> at org.infinispan.cli.interpreter.session.SessionImpl.createCache(SessionImpl.java:109)
> at org.infinispan.cli.interpreter.statement.CreateStatement.execute(CreateStatement.java:25)
> at org.infinispan.cli.interpreter.Interpreter.execute(Interpreter.java:140)
> at org.infinispan.server.infinispan.SecurityActions.lambda$executeInterpreter$7(SecurityActions.java:268)
> at org.infinispan.security.Security.doPrivileged(Security.java:57)
> at org.infinispan.server.infinispan.SecurityActions.doPrivileged(SecurityActions.java:77)
> at org.infinispan.server.infinispan.SecurityActions.executeInterpreter(SecurityActions.java:269)
> at org.jboss.as.clustering.infinispan.subsystem.CliInterpreterHandler.execute(CliInterpreterHandler.java:71)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:999)
> at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:743)
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467)
> at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1411)
> at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:423)
> at org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:243)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:265)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:231)
> at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:243)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:240)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$400(ModelControllerClientOperationHandler.java:138)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:162)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:158)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:289)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:246)
> at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254)
> at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:158)
> at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70)
> at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
> at java.lang.Thread.run(Thread.java:748)
> at org.jboss.threads.JBossThread.run(JBossThread.java:485)
> ~~~
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months