[JBoss JIRA] (ISPN-10573) Allow RELAY2#config attribute be configured with the server config path
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-10573?page=com.atlassian.jira.plugin... ]
Diego Lovison updated ISPN-10573:
---------------------------------
Summary: Allow RELAY2#config attribute be configured with the server config path (was: Expose Server properties as System properties)
> Allow RELAY2#config attribute be configured with the server config path
> -----------------------------------------------------------------------
>
> Key: ISPN-10573
> URL: https://issues.jboss.org/browse/ISPN-10573
> Project: Infinispan
> Issue Type: Enhancement
> Affects Versions: 10.0.0.Beta5
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Major
>
> As a developer, I would like to use RELAY2 with the config attribute filled with expression.
> {code:xml}
> <relay.RELAY2 site="LON" config="${infinispan.server.config.path}/relay.xml"/>
> {code}
> Jgroups is not able to read {{infinispan.server.config.path}} because it is set as a Property in the ISPN source code.
> Also, Jgroups only see files in the classpath
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 5 months
[JBoss JIRA] (ISPN-10573) Allow RELAY2#config attribute be configured with the server config path
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-10573?page=com.atlassian.jira.plugin... ]
Diego Lovison updated ISPN-10573:
---------------------------------
Priority: Minor (was: Major)
> Allow RELAY2#config attribute be configured with the server config path
> -----------------------------------------------------------------------
>
> Key: ISPN-10573
> URL: https://issues.jboss.org/browse/ISPN-10573
> Project: Infinispan
> Issue Type: Enhancement
> Affects Versions: 10.0.0.Beta5
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Minor
>
> As a developer, I would like to use RELAY2 with the config attribute filled with expression.
> {code:xml}
> <relay.RELAY2 site="LON" config="${infinispan.server.config.path}/relay.xml"/>
> {code}
> Jgroups is not able to read {{infinispan.server.config.path}} because it is set as a Property in the ISPN source code.
> Also, Jgroups only see files in the classpath
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 5 months
[JBoss JIRA] (ISPN-10573) Expose Server properties as System properties
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-10573?page=com.atlassian.jira.plugin... ]
Diego Lovison updated ISPN-10573:
---------------------------------
Description:
As a developer, I would like to use RELAY2 with the config attribute filled with expression.
{code:xml}
<relay.RELAY2 site="LON" config="${infinispan.server.config.path}/relay.xml"/>
{code}
Jgroups is not able to read {{infinispan.server.config.path}} because it is set as a Property in the ISPN source code.
Also, Jgroups only see files in the classpath
was:
As a developer, I would like to use RELAY2 with the config attribute filled with expression.
{code:xml}
<relay.RELAY2 site="LON" config="${infinispan.server.config.path}/relay.xml"/>
{code}
Jgroups is not able to read {{infinispan.server.config.path}} because it is set as a
> Expose Server properties as System properties
> ---------------------------------------------
>
> Key: ISPN-10573
> URL: https://issues.jboss.org/browse/ISPN-10573
> Project: Infinispan
> Issue Type: Enhancement
> Affects Versions: 10.0.0.Beta5
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Major
>
> As a developer, I would like to use RELAY2 with the config attribute filled with expression.
> {code:xml}
> <relay.RELAY2 site="LON" config="${infinispan.server.config.path}/relay.xml"/>
> {code}
> Jgroups is not able to read {{infinispan.server.config.path}} because it is set as a Property in the ISPN source code.
> Also, Jgroups only see files in the classpath
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 5 months
[JBoss JIRA] (ISPN-10573) Expose Server properties as System properties
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-10573?page=com.atlassian.jira.plugin... ]
Diego Lovison updated ISPN-10573:
---------------------------------
Description:
As a developer, I would like to use RELAY2 with the config attribute filled with expression.
{code:xml}
<relay.RELAY2 site="LON" config="${infinispan.server.config.path}/relay.xml"/>
{code}
Jgroups is not able to read {{infinispan.server.config.path}} because it is set as a
was:
As a developer, I would like to use a RELAY2 config under the server conf folder.
Jgroups only search configuration files in the classpath
> Expose Server properties as System properties
> ---------------------------------------------
>
> Key: ISPN-10573
> URL: https://issues.jboss.org/browse/ISPN-10573
> Project: Infinispan
> Issue Type: Enhancement
> Affects Versions: 10.0.0.Beta5
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Major
>
> As a developer, I would like to use RELAY2 with the config attribute filled with expression.
> {code:xml}
> <relay.RELAY2 site="LON" config="${infinispan.server.config.path}/relay.xml"/>
> {code}
> Jgroups is not able to read {{infinispan.server.config.path}} because it is set as a
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 5 months
[JBoss JIRA] (ISPN-10630) eviction with exception strategy cause cluster wide cache stats operation MBean does not work
by Will Burns (Jira)
[ https://issues.jboss.org/browse/ISPN-10630?page=com.atlassian.jira.plugin... ]
Will Burns updated ISPN-10630:
------------------------------
Sprint: DataGrid Sprint #34
> eviction with exception strategy cause cluster wide cache stats operation MBean does not work
> ---------------------------------------------------------------------------------------------
>
> Key: ISPN-10630
> URL: https://issues.jboss.org/browse/ISPN-10630
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.4.16.Final
> Reporter: Will Burns
> Assignee: Will Burns
> Priority: Major
>
> Upon configuring exception eviction type then the MBean that provide cluster wide cache stats operation does not work.
> ~~~
> <distributed-cache name="abc" mode="SYNC" owners="2">
> <memory>
> <off-heap size="1160773632" eviction="MEMORY" strategy="EXCEPTION" address-count="1048576"/>
> </memory>
> <partition-handling when-split="DENY_READ_WRITES"/>
> <transaction mode="NON_DURABLE_XA"/>
> <state-transfer enabled="true"/>
> </distributed-cache>
> ~~~
> Below the error in the server.log.
> ~~~
> ERROR [org.infinispan.stats.impl.ClusterCacheStatsImpl] (Thread-72) Could not execute cluster wide cache stats operation : java.util.concurrent.CompletionException: org.infinispan.commons.CacheException: java.lang.UnsupportedOperationException
> at java.base/java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:412)
> at java.base/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2044)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.stats.impl.ClusterCacheStatsImpl.updateStats(ClusterCacheStatsImpl.java:116)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.stats.impl.AbstractClusterStats.fetchClusterWideStatsIfNeeded(AbstractClusterStats.java:114)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.stats.impl.AbstractClusterStats.getStat(AbstractClusterStats.java:207)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.stats.impl.AbstractClusterStats.getStatAsLong(AbstractClusterStats.java:198)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.stats.impl.ClusterCacheStatsImpl.getPassivations(ClusterCacheStatsImpl.java:397)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.jmx.ResourceDMBean$InvokableSetterBasedMBeanAttributeInfo.invoke(ResourceDMBean.java:400)
> ...
> ...
> Caused by: org.infinispan.commons.CacheException: java.lang.UnsupportedOperationException
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.stats.impl.ClusterCacheStatsImpl.lambda$updateStats$0(ClusterCacheStatsImpl.java:105)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.manager.impl.AllClusterExecutor.lambda$submitConsumer$6(AllClusterExecutor.java:193)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.manager.impl.AbstractClusterExecutor.consumeResponse(AbstractClusterExecutor.java:64)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.manager.impl.AllClusterExecutor.lambda$submitConsumer$7(AllClusterExecutor.java:192)
> at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
> at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
> at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
> at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.remoting.transport.AbstractRequest.complete(AbstractRequest.java:67)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.remoting.transport.impl.SingleTargetRequest.receiveResponse(SingleTargetRequest.java:57)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.remoting.transport.impl.SingleTargetRequest.onResponse(SingleTargetRequest.java:35)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001/
> ~~~
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 5 months
[JBoss JIRA] (ISPN-10630) eviction with exception strategy cause cluster wide cache stats operation MBean does not work
by Will Burns (Jira)
[ https://issues.jboss.org/browse/ISPN-10630?page=com.atlassian.jira.plugin... ]
Will Burns updated ISPN-10630:
------------------------------
Security: (was: Red Hat Internal)
> eviction with exception strategy cause cluster wide cache stats operation MBean does not work
> ---------------------------------------------------------------------------------------------
>
> Key: ISPN-10630
> URL: https://issues.jboss.org/browse/ISPN-10630
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.4.16.Final
> Reporter: Will Burns
> Assignee: Will Burns
> Priority: Major
>
> Upon configuring exception eviction type then the MBean that provide cluster wide cache stats operation does not work.
> ~~~
> <distributed-cache name="abc" mode="SYNC" owners="2">
> <memory>
> <off-heap size="1160773632" eviction="MEMORY" strategy="EXCEPTION" address-count="1048576"/>
> </memory>
> <partition-handling when-split="DENY_READ_WRITES"/>
> <transaction mode="NON_DURABLE_XA"/>
> <state-transfer enabled="true"/>
> </distributed-cache>
> ~~~
> Below the error in the server.log.
> ~~~
> ERROR [org.infinispan.stats.impl.ClusterCacheStatsImpl] (Thread-72) Could not execute cluster wide cache stats operation : java.util.concurrent.CompletionException: org.infinispan.commons.CacheException: java.lang.UnsupportedOperationException
> at java.base/java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:412)
> at java.base/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2044)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.stats.impl.ClusterCacheStatsImpl.updateStats(ClusterCacheStatsImpl.java:116)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.stats.impl.AbstractClusterStats.fetchClusterWideStatsIfNeeded(AbstractClusterStats.java:114)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.stats.impl.AbstractClusterStats.getStat(AbstractClusterStats.java:207)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.stats.impl.AbstractClusterStats.getStatAsLong(AbstractClusterStats.java:198)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.stats.impl.ClusterCacheStatsImpl.getPassivations(ClusterCacheStatsImpl.java:397)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.jmx.ResourceDMBean$InvokableSetterBasedMBeanAttributeInfo.invoke(ResourceDMBean.java:400)
> ...
> ...
> Caused by: org.infinispan.commons.CacheException: java.lang.UnsupportedOperationException
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.stats.impl.ClusterCacheStatsImpl.lambda$updateStats$0(ClusterCacheStatsImpl.java:105)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.manager.impl.AllClusterExecutor.lambda$submitConsumer$6(AllClusterExecutor.java:193)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.manager.impl.AbstractClusterExecutor.consumeResponse(AbstractClusterExecutor.java:64)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.manager.impl.AllClusterExecutor.lambda$submitConsumer$7(AllClusterExecutor.java:192)
> at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
> at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
> at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
> at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.remoting.transport.AbstractRequest.complete(AbstractRequest.java:67)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.remoting.transport.impl.SingleTargetRequest.receiveResponse(SingleTargetRequest.java:57)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001//org.infinispan.remoting.transport.impl.SingleTargetRequest.onResponse(SingleTargetRequest.java:35)
> at org.infinispan.core:jdg-7.3@9.4.15.Final-redhat-00001/
> ~~~
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 5 months
[JBoss JIRA] (IPROTO-114) Date fields not initialized with @ProtoFactory
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/IPROTO-114?page=com.atlassian.jira.plugin... ]
Ryan Emerson commented on IPROTO-114:
-------------------------------------
This also affects {{java.time.Instant}}
> Date fields not initialized with @ProtoFactory
> ----------------------------------------------
>
> Key: IPROTO-114
> URL: https://issues.jboss.org/browse/IPROTO-114
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.3.0.Alpha11
> Reporter: Ryan Emerson
> Priority: Major
>
> {code:java}
> public class Reproducer {
> @ProtoField(number = 1)
> final Date date;
> @ProtoFactory
> public Reproducer(Date date) {
> this.date = date;
> }
> }
> {code}
> Results in the following marshaller code which does not compile:
> {code:java}
> @javax.annotation.Generated(value = "org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor",
> comments = "Please do not edit this file!")
> @org.infinispan.protostream.annotations.impl.OriginatingClasses({
> "org.infinispan.query.dsl.embedded.testdomain.Reproducer"
> })
> @SuppressWarnings("unchecked")
> public final class Reproducer$___Marshaller_b7bc8e88b59172b5316adfc20e38742eb183ea955e2ff0dbf8d9fc9cd93038b7 extends org.infinispan.protostream.annotations.impl.GeneratedMarshallerBase implements org.infinispan.protostream.RawProtobufMarshaller<org.infinispan.query.dsl.embedded.testdomain.Reproducer> {
> @Override
> public Class<org.infinispan.query.dsl.embedded.testdomain.Reproducer> getJavaClass() { return org.infinispan.query.dsl.embedded.testdomain.Reproducer.class; }
>
> @Override
> public String getTypeName() { return "org.infinispan.test.query.dsl.Reproducer"; }
>
> @Override
> public org.infinispan.query.dsl.embedded.testdomain.Reproducer readFrom(org.infinispan.protostream.ImmutableSerializationContext $1, org.infinispan.protostream.RawProtoStreamReader $2) throws java.io.IOException {
> java.util.Date __v$1;
> boolean done = false;
> while (!done) {
> final int tag = $2.readTag();
> switch (tag) {
> case 0:
> done = true;
> break;
> case 9: {
> __v$1 = new java.util.Date($2.readFixed64());
> break;
> }
> default: {
> if (!$2.skipField(tag)) done = true;
> }
> }
> }
> return new org.infinispan.query.dsl.embedded.testdomain.Reproducer(__v$1);
> }
>
> @Override
> public void writeTo(org.infinispan.protostream.ImmutableSerializationContext $1, org.infinispan.protostream.RawProtoStreamWriter $2, org.infinispan.query.dsl.embedded.testdomain.Reproducer $3) throws java.io.IOException {
> final org.infinispan.query.dsl.embedded.testdomain.Reproducer o = (org.infinispan.query.dsl.embedded.testdomain.Reproducer) $3;
> {
> final java.util.Date __v$1 = o.date;
> if (__v$1 != null) $2.writeFixed64(1, __v$1.getTime());
> }
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 5 months
[JBoss JIRA] (IPROTO-114) Date fields not initialized with @ProtoFactory
by Ryan Emerson (Jira)
Ryan Emerson created IPROTO-114:
-----------------------------------
Summary: Date fields not initialized with @ProtoFactory
Key: IPROTO-114
URL: https://issues.jboss.org/browse/IPROTO-114
Project: Infinispan ProtoStream
Issue Type: Bug
Affects Versions: 4.3.0.Alpha11
Reporter: Ryan Emerson
{code:java}
public class Reproducer {
@ProtoField(number = 1)
final Date date;
@ProtoFactory
public Reproducer(Date date) {
this.date = date;
}
}
{code}
Results in the following marshaller code which does not compile:
{code:java}
@javax.annotation.Generated(value = "org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor",
comments = "Please do not edit this file!")
@org.infinispan.protostream.annotations.impl.OriginatingClasses({
"org.infinispan.query.dsl.embedded.testdomain.Reproducer"
})
@SuppressWarnings("unchecked")
public final class Reproducer$___Marshaller_b7bc8e88b59172b5316adfc20e38742eb183ea955e2ff0dbf8d9fc9cd93038b7 extends org.infinispan.protostream.annotations.impl.GeneratedMarshallerBase implements org.infinispan.protostream.RawProtobufMarshaller<org.infinispan.query.dsl.embedded.testdomain.Reproducer> {
@Override
public Class<org.infinispan.query.dsl.embedded.testdomain.Reproducer> getJavaClass() { return org.infinispan.query.dsl.embedded.testdomain.Reproducer.class; }
@Override
public String getTypeName() { return "org.infinispan.test.query.dsl.Reproducer"; }
@Override
public org.infinispan.query.dsl.embedded.testdomain.Reproducer readFrom(org.infinispan.protostream.ImmutableSerializationContext $1, org.infinispan.protostream.RawProtoStreamReader $2) throws java.io.IOException {
java.util.Date __v$1;
boolean done = false;
while (!done) {
final int tag = $2.readTag();
switch (tag) {
case 0:
done = true;
break;
case 9: {
__v$1 = new java.util.Date($2.readFixed64());
break;
}
default: {
if (!$2.skipField(tag)) done = true;
}
}
}
return new org.infinispan.query.dsl.embedded.testdomain.Reproducer(__v$1);
}
@Override
public void writeTo(org.infinispan.protostream.ImmutableSerializationContext $1, org.infinispan.protostream.RawProtoStreamWriter $2, org.infinispan.query.dsl.embedded.testdomain.Reproducer $3) throws java.io.IOException {
final org.infinispan.query.dsl.embedded.testdomain.Reproducer o = (org.infinispan.query.dsl.embedded.testdomain.Reproducer) $3;
{
final java.util.Date __v$1 = o.date;
if (__v$1 != null) $2.writeFixed64(1, __v$1.getTime());
}
}
}
{code}
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 5 months