[JBoss JIRA] (DROOLS-2656) PNGs for the toolbox icons for the different connector types.
by Matthew Stevens (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2656?page=com.atlassian.jira.plugi... ]
Matthew Stevens updated DROOLS-2656:
------------------------------------
Labels: IconRequest UX UXTeam VisualDesign (was: UX UXTeam VisualDesign)
> PNGs for the toolbox icons for the different connector types.
> -------------------------------------------------------------
>
> Key: DROOLS-2656
> URL: https://issues.jboss.org/browse/DROOLS-2656
> Project: Drools
> Issue Type: Sub-task
> Reporter: Liz Clayton
> Assignee: Brian Dellascio
> Labels: IconRequest, UX, UXTeam, VisualDesign
>
> PNGs for the toolbox icons for the different connector types.
> Their appearance can be seen in https://www.omg.org/spec/DMN/1.1/PDF (page 30, "Association", "Information Requirement", "Knowledge Requirement" and "Authority Requirement"). They'll only be used as icons on the toolbox (see screenshot attached). Could you please also remind me of the BAPL for the new "Node" SVGs (I'll need to make PNGs of those too for the same "toolbox" purpose.. unless UX have a tool to convert SVG to PNG?)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (WFLY-10649) Eviction doesn't work for infinspan distributed cache "dist"
by Andrey Grigoriev (JIRA)
[ https://issues.jboss.org/browse/WFLY-10649?page=com.atlassian.jira.plugin... ]
Andrey Grigoriev commented on WFLY-10649:
-----------------------------------------
Yes, you understood right ).
"Additionally, Infinispan memory size attribute operates per-cache entry, which, while proportional, does not directly translate to the number of sessions." - I know about it. In our case it's enought because we have only one application on server and we got this value in practice.
> Eviction doesn't work for infinspan distributed cache "dist"
> ------------------------------------------------------------
>
> Key: WFLY-10649
> URL: https://issues.jboss.org/browse/WFLY-10649
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 13.0.0.Final
> Environment: OS: Centos 7
> Java:
> java version "1.8.0_171"
> Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
> Wildfly 13.0.0.Final run in "Domain Mode" with two nodes in profile "ha"
> {code:java}
> /server-group=web-group:read-resource(recursive=true)
> {
> "outcome" => "success",
> "result" => {
> "management-subsystem-endpoint" => false,
> "profile" => "ha",
> "socket-binding-default-interface" => undefined,
> "socket-binding-group" => "ha-sockets",
> "socket-binding-port-offset" => 0,
> "deployment" => {"cluster-demo.war" => {
> "enabled" => false,
> "name" => "cluster-demo.war",
> "runtime-name" => "cluster-demo.war"
> }},
> "deployment-overlay" => undefined,
> "jvm" => {"default" => {
> "agent-lib" => undefined,
> "agent-path" => undefined,
> "env-classpath-ignored" => undefined,
> "environment-variables" => undefined,
> "heap-size" => "512m",
> "java-agent" => undefined,
> "java-home" => undefined,
> "jvm-options" => ["-XX:MaxMetaspaceSize=1024m"],
> "launch-command" => undefined,
> "max-heap-size" => "4096m",
> "max-permgen-size" => undefined,
> "permgen-size" => undefined,
> "stack-size" => undefined,
> "type" => undefined
> }},
> "system-property" => {
> "jboss.default.multicast.address" => {
> "boot-time" => true,
> "value" => "230.0.0.5"
> },
> "mycluster.modcluster.lbgroup" => {
> "boot-time" => true,
> "value" => "WebLBGroup"
> }
> }
> }
> }
> {code}
> Set cache store "memory" size = 100
> {code:java}
> /profile=ha/subsystem=infinispan/cache-container=web/distributed-cache=dist/memory=object:read-resource(recursive=true)
> {
> "outcome" => "success",
> "result" => {
> "max-entries" => 100L,
> "size" => 100L,
> "strategy" => "NONE"
> }
> }
> {code}
> Reporter: Andrey Grigoriev
> Assignee: Paul Ferraro
>
> Deploying distributable application (for example https://github.com/liweinan/cluster-demo) fails:
> {code:java}
> 2018-06-28 11:23:50,504 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service org.wildfly.clustering.infinispan.cache-configuration.web.cluster-demo.war: org.jboss.msc.service.StartException in service org.wildfly.clustering.infinispan.cache-configuration.web.cluster-demo.war: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1728)
> at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
> 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:1364)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.infinispan.commons.CacheConfigurationException: ISPN000424: Eviction size value cannot be less than or equal to zero if eviction is enabled
> at org.infinispan.configuration.cache.MemoryConfigurationBuilder.validate(MemoryConfigurationBuilder.java:185)
> at org.infinispan.configuration.cache.ConfigurationBuilder.validate(ConfigurationBuilder.java:233)
> at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:290)
> at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:280)
> at org.wildfly.clustering.infinispan.spi.service.ConfigurationBuilder.start(ConfigurationBuilder.java:88)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698)
> ... 6 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (WFLY-10649) Eviction doesn't work for infinspan distributed cache "dist"
by Paul Ferraro (JIRA)
[ https://issues.jboss.org/browse/WFLY-10649?page=com.atlassian.jira.plugin... ]
Paul Ferraro commented on WFLY-10649:
-------------------------------------
[~xtron] Perhaps I was unclear. The distributed session manager does not treat max-active-sessions as a hard limit - but rather the maximum number of sessions that can be active in memory. Any excess sessions are passivated to disk - which is precisely your use case, AIUI.
Additionally, Infinispan memory size attribute operates per-cache entry, which, while proportional, does not directly translate to the number of sessions.
> Eviction doesn't work for infinspan distributed cache "dist"
> ------------------------------------------------------------
>
> Key: WFLY-10649
> URL: https://issues.jboss.org/browse/WFLY-10649
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 13.0.0.Final
> Environment: OS: Centos 7
> Java:
> java version "1.8.0_171"
> Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
> Wildfly 13.0.0.Final run in "Domain Mode" with two nodes in profile "ha"
> {code:java}
> /server-group=web-group:read-resource(recursive=true)
> {
> "outcome" => "success",
> "result" => {
> "management-subsystem-endpoint" => false,
> "profile" => "ha",
> "socket-binding-default-interface" => undefined,
> "socket-binding-group" => "ha-sockets",
> "socket-binding-port-offset" => 0,
> "deployment" => {"cluster-demo.war" => {
> "enabled" => false,
> "name" => "cluster-demo.war",
> "runtime-name" => "cluster-demo.war"
> }},
> "deployment-overlay" => undefined,
> "jvm" => {"default" => {
> "agent-lib" => undefined,
> "agent-path" => undefined,
> "env-classpath-ignored" => undefined,
> "environment-variables" => undefined,
> "heap-size" => "512m",
> "java-agent" => undefined,
> "java-home" => undefined,
> "jvm-options" => ["-XX:MaxMetaspaceSize=1024m"],
> "launch-command" => undefined,
> "max-heap-size" => "4096m",
> "max-permgen-size" => undefined,
> "permgen-size" => undefined,
> "stack-size" => undefined,
> "type" => undefined
> }},
> "system-property" => {
> "jboss.default.multicast.address" => {
> "boot-time" => true,
> "value" => "230.0.0.5"
> },
> "mycluster.modcluster.lbgroup" => {
> "boot-time" => true,
> "value" => "WebLBGroup"
> }
> }
> }
> }
> {code}
> Set cache store "memory" size = 100
> {code:java}
> /profile=ha/subsystem=infinispan/cache-container=web/distributed-cache=dist/memory=object:read-resource(recursive=true)
> {
> "outcome" => "success",
> "result" => {
> "max-entries" => 100L,
> "size" => 100L,
> "strategy" => "NONE"
> }
> }
> {code}
> Reporter: Andrey Grigoriev
> Assignee: Paul Ferraro
>
> Deploying distributable application (for example https://github.com/liweinan/cluster-demo) fails:
> {code:java}
> 2018-06-28 11:23:50,504 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service org.wildfly.clustering.infinispan.cache-configuration.web.cluster-demo.war: org.jboss.msc.service.StartException in service org.wildfly.clustering.infinispan.cache-configuration.web.cluster-demo.war: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1728)
> at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
> 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:1364)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.infinispan.commons.CacheConfigurationException: ISPN000424: Eviction size value cannot be less than or equal to zero if eviction is enabled
> at org.infinispan.configuration.cache.MemoryConfigurationBuilder.validate(MemoryConfigurationBuilder.java:185)
> at org.infinispan.configuration.cache.ConfigurationBuilder.validate(ConfigurationBuilder.java:233)
> at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:290)
> at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:280)
> at org.wildfly.clustering.infinispan.spi.service.ConfigurationBuilder.start(ConfigurationBuilder.java:88)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698)
> ... 6 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (WFLY-10649) Eviction doesn't work for infinspan distributed cache "dist"
by Andrey Grigoriev (JIRA)
[ https://issues.jboss.org/browse/WFLY-10649?page=com.atlassian.jira.plugin... ]
Andrey Grigoriev edited comment on WFLY-10649 at 7/5/18 2:55 PM:
-----------------------------------------------------------------
Thanks but our target isn't limit sessions. Target - when web cache is too big for our heap size persist it to file storage. This configuration is just for example.
Real production configuration (Wildfly 10.1)
{code:java}
[domain@nr-domain-01:9990 /] /profile=ha/subsystem=infinispan/cache-container=web/distributed-cache=concurrent:read-resource(recursive=true)
{
"outcome" => "success",
"result" => {
"async-marshalling" => false,
"batching" => false,
"capacity-factor" => 1.0,
"consistent-hash-strategy" => "INTER_CACHE",
"indexing" => "NONE",
"indexing-properties" => undefined,
"jndi-name" => undefined,
"l1-lifespan" => 0L,
"mode" => "SYNC",
"module" => undefined,
"owners" => 2,
"queue-flush-interval" => 10L,
"queue-size" => 0,
"remote-timeout" => 17500L,
"segments" => 256,
"start" => "LAZY",
"statistics-enabled" => false,
"component" => {
"expiration" => {
"interval" => 60000L,
"lifespan" => -1L,
"max-idle" => -1L
},
"state-transfer" => {
"chunk-size" => 512,
"enabled" => true,
"timeout" => 240000L
},
"eviction" => {
"max-entries" => 1000L,
"strategy" => "LIRS"
},
"locking" => {
"acquire-timeout" => 15000L,
"concurrency-level" => 1000,
"isolation" => "READ_COMMITTED",
"striping" => false
},
"backups" => {"backup" => undefined},
"transaction" => {
"locking" => "PESSIMISTIC",
"mode" => "NONE",
"stop-timeout" => 10000L
},
"backup-for" => {
"remote-cache" => "___defaultcache",
"remote-site" => undefined
},
"partition-handling" => {"enabled" => false}
},
"store" => {"file" => {
"fetch-state" => true,
"passivation" => true,
"path" => undefined,
"preload" => false,
"properties" => undefined,
"purge" => true,
"relative-to" => "jboss.server.data.dir",
"shared" => false,
"singleton" => false,
"property" => undefined,
"write" => {"behind" => {}}
}}
}
}
{code}
was (Author: xtron):
Thanks but our target isn't limit sessions. Target - when web cache is too big for our heap size persist it to file storage. This configuration is just for example.
Real production configuration (Wildfly 10.1)
{code:java}
[domain@nr-domain-01:9990 /] /profile=ha/subsystem=infinispan/cache-container=web/distributed-cache=concurrent:read-resource(recursive=true)
{
"outcome" => "success",
"result" => {
"async-marshalling" => false,
"batching" => false,
"capacity-factor" => 1.0,
"consistent-hash-strategy" => "INTER_CACHE",
"indexing" => "NONE",
"indexing-properties" => undefined,
"jndi-name" => undefined,
"l1-lifespan" => 0L,
"mode" => "SYNC",
"module" => undefined,
"owners" => 2,
"queue-flush-interval" => 10L,
"queue-size" => 0,
"remote-timeout" => 17500L,
"segments" => 256,
"start" => "LAZY",
"statistics-enabled" => false,
"component" => {
"expiration" => {
"interval" => 60000L,
"lifespan" => -1L,
"max-idle" => -1L
},
"state-transfer" => {
"chunk-size" => 512,
"enabled" => true,
"timeout" => 240000L
},
"eviction" => {
"max-entries" => 1000L,
"strategy" => "LIRS"
},
"locking" => {
"acquire-timeout" => 15000L,
"concurrency-level" => 1000,
"isolation" => "READ_COMMITTED",
"striping" => false
},
"backups" => {"backup" => undefined},
"transaction" => {
"locking" => "PESSIMISTIC",
"mode" => "NONE",
"stop-timeout" => 10000L
},
"backup-for" => {
"remote-cache" => "___defaultcache",
"remote-site" => undefined
},
"partition-handling" => {"enabled" => false}
},
"store" => {"file" => {
"fetch-state" => true,
"passivation" => true,
"path" => undefined,
"preload" => false,
"properties" => undefined,
"purge" => true,
"relative-to" => "jboss.server.data.dir",
"shared" => false,
"singleton" => false,
"property" => undefined,
"write" => {"through" => {}}
}}
}
}
{code}
> Eviction doesn't work for infinspan distributed cache "dist"
> ------------------------------------------------------------
>
> Key: WFLY-10649
> URL: https://issues.jboss.org/browse/WFLY-10649
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 13.0.0.Final
> Environment: OS: Centos 7
> Java:
> java version "1.8.0_171"
> Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
> Wildfly 13.0.0.Final run in "Domain Mode" with two nodes in profile "ha"
> {code:java}
> /server-group=web-group:read-resource(recursive=true)
> {
> "outcome" => "success",
> "result" => {
> "management-subsystem-endpoint" => false,
> "profile" => "ha",
> "socket-binding-default-interface" => undefined,
> "socket-binding-group" => "ha-sockets",
> "socket-binding-port-offset" => 0,
> "deployment" => {"cluster-demo.war" => {
> "enabled" => false,
> "name" => "cluster-demo.war",
> "runtime-name" => "cluster-demo.war"
> }},
> "deployment-overlay" => undefined,
> "jvm" => {"default" => {
> "agent-lib" => undefined,
> "agent-path" => undefined,
> "env-classpath-ignored" => undefined,
> "environment-variables" => undefined,
> "heap-size" => "512m",
> "java-agent" => undefined,
> "java-home" => undefined,
> "jvm-options" => ["-XX:MaxMetaspaceSize=1024m"],
> "launch-command" => undefined,
> "max-heap-size" => "4096m",
> "max-permgen-size" => undefined,
> "permgen-size" => undefined,
> "stack-size" => undefined,
> "type" => undefined
> }},
> "system-property" => {
> "jboss.default.multicast.address" => {
> "boot-time" => true,
> "value" => "230.0.0.5"
> },
> "mycluster.modcluster.lbgroup" => {
> "boot-time" => true,
> "value" => "WebLBGroup"
> }
> }
> }
> }
> {code}
> Set cache store "memory" size = 100
> {code:java}
> /profile=ha/subsystem=infinispan/cache-container=web/distributed-cache=dist/memory=object:read-resource(recursive=true)
> {
> "outcome" => "success",
> "result" => {
> "max-entries" => 100L,
> "size" => 100L,
> "strategy" => "NONE"
> }
> }
> {code}
> Reporter: Andrey Grigoriev
> Assignee: Paul Ferraro
>
> Deploying distributable application (for example https://github.com/liweinan/cluster-demo) fails:
> {code:java}
> 2018-06-28 11:23:50,504 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service org.wildfly.clustering.infinispan.cache-configuration.web.cluster-demo.war: org.jboss.msc.service.StartException in service org.wildfly.clustering.infinispan.cache-configuration.web.cluster-demo.war: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1728)
> at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
> 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:1364)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.infinispan.commons.CacheConfigurationException: ISPN000424: Eviction size value cannot be less than or equal to zero if eviction is enabled
> at org.infinispan.configuration.cache.MemoryConfigurationBuilder.validate(MemoryConfigurationBuilder.java:185)
> at org.infinispan.configuration.cache.ConfigurationBuilder.validate(ConfigurationBuilder.java:233)
> at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:290)
> at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:280)
> at org.wildfly.clustering.infinispan.spi.service.ConfigurationBuilder.start(ConfigurationBuilder.java:88)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698)
> ... 6 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (WFLY-10649) Eviction doesn't work for infinspan distributed cache "dist"
by Andrey Grigoriev (JIRA)
[ https://issues.jboss.org/browse/WFLY-10649?page=com.atlassian.jira.plugin... ]
Andrey Grigoriev edited comment on WFLY-10649 at 7/5/18 2:53 PM:
-----------------------------------------------------------------
Thanks but our target isn't limit sessions. Target - when web cache is too big for our heap size persist it to file storage. This configuration is just for example.
Real production configuration (Wildfly 10.1)
{code:java}
[domain@nr-domain-01:9990 /] /profile=ha/subsystem=infinispan/cache-container=web/distributed-cache=concurrent:read-resource(recursive=true)
{
"outcome" => "success",
"result" => {
"async-marshalling" => false,
"batching" => false,
"capacity-factor" => 1.0,
"consistent-hash-strategy" => "INTER_CACHE",
"indexing" => "NONE",
"indexing-properties" => undefined,
"jndi-name" => undefined,
"l1-lifespan" => 0L,
"mode" => "SYNC",
"module" => undefined,
"owners" => 2,
"queue-flush-interval" => 10L,
"queue-size" => 0,
"remote-timeout" => 17500L,
"segments" => 256,
"start" => "LAZY",
"statistics-enabled" => false,
"component" => {
"expiration" => {
"interval" => 60000L,
"lifespan" => -1L,
"max-idle" => -1L
},
"state-transfer" => {
"chunk-size" => 512,
"enabled" => true,
"timeout" => 240000L
},
"eviction" => {
"max-entries" => 1000L,
"strategy" => "LIRS"
},
"locking" => {
"acquire-timeout" => 15000L,
"concurrency-level" => 1000,
"isolation" => "READ_COMMITTED",
"striping" => false
},
"backups" => {"backup" => undefined},
"transaction" => {
"locking" => "PESSIMISTIC",
"mode" => "NONE",
"stop-timeout" => 10000L
},
"backup-for" => {
"remote-cache" => "___defaultcache",
"remote-site" => undefined
},
"partition-handling" => {"enabled" => false}
},
"store" => {"file" => {
"fetch-state" => true,
"passivation" => true,
"path" => undefined,
"preload" => false,
"properties" => undefined,
"purge" => true,
"relative-to" => "jboss.server.data.dir",
"shared" => false,
"singleton" => false,
"property" => undefined,
"write" => {"through" => {}}
}}
}
}
{code}
was (Author: xtron):
Thanks but our target isn't limit sessions. Target - when web cache is too big for our heap size persist it to file storage. This configuration is just for example.
Real production configuration (Wildfly 10.1)
{code:java}
[domain@nr-domain-01:9990 /] /profile=ha/subsystem=infinispan/cache-container=web/distributed-cache=concurrent:read-resource(recursive=true)
{
"outcome" => "success",
"result" => {
"async-marshalling" => false,
"batching" => false,
"capacity-factor" => 1.0,
"consistent-hash-strategy" => "INTER_CACHE",
"indexing" => "NONE",
"indexing-properties" => undefined,
"jndi-name" => undefined,
"l1-lifespan" => 0L,
"mode" => "SYNC",
"module" => undefined,
"owners" => 1,
"queue-flush-interval" => 10L,
"queue-size" => 0,
"remote-timeout" => 17500L,
"segments" => 256,
"start" => "LAZY",
"statistics-enabled" => false,
"component" => {
"expiration" => {
"interval" => 60000L,
"lifespan" => -1L,
"max-idle" => -1L
},
"state-transfer" => {
"chunk-size" => 512,
"enabled" => true,
"timeout" => 240000L
},
"eviction" => {
"max-entries" => 1000L,
"strategy" => "LIRS"
},
"locking" => {
"acquire-timeout" => 15000L,
"concurrency-level" => 1000,
"isolation" => "READ_COMMITTED",
"striping" => false
},
"backups" => {"backup" => undefined},
"transaction" => {
"locking" => "PESSIMISTIC",
"mode" => "NONE",
"stop-timeout" => 10000L
},
"backup-for" => {
"remote-cache" => "___defaultcache",
"remote-site" => undefined
},
"partition-handling" => {"enabled" => false}
},
"store" => {"file" => {
"fetch-state" => true,
"passivation" => true,
"path" => undefined,
"preload" => false,
"properties" => undefined,
"purge" => true,
"relative-to" => "jboss.server.data.dir",
"shared" => false,
"singleton" => false,
"property" => undefined,
"write" => {"through" => {}}
}}
}
}
{code}
> Eviction doesn't work for infinspan distributed cache "dist"
> ------------------------------------------------------------
>
> Key: WFLY-10649
> URL: https://issues.jboss.org/browse/WFLY-10649
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 13.0.0.Final
> Environment: OS: Centos 7
> Java:
> java version "1.8.0_171"
> Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
> Wildfly 13.0.0.Final run in "Domain Mode" with two nodes in profile "ha"
> {code:java}
> /server-group=web-group:read-resource(recursive=true)
> {
> "outcome" => "success",
> "result" => {
> "management-subsystem-endpoint" => false,
> "profile" => "ha",
> "socket-binding-default-interface" => undefined,
> "socket-binding-group" => "ha-sockets",
> "socket-binding-port-offset" => 0,
> "deployment" => {"cluster-demo.war" => {
> "enabled" => false,
> "name" => "cluster-demo.war",
> "runtime-name" => "cluster-demo.war"
> }},
> "deployment-overlay" => undefined,
> "jvm" => {"default" => {
> "agent-lib" => undefined,
> "agent-path" => undefined,
> "env-classpath-ignored" => undefined,
> "environment-variables" => undefined,
> "heap-size" => "512m",
> "java-agent" => undefined,
> "java-home" => undefined,
> "jvm-options" => ["-XX:MaxMetaspaceSize=1024m"],
> "launch-command" => undefined,
> "max-heap-size" => "4096m",
> "max-permgen-size" => undefined,
> "permgen-size" => undefined,
> "stack-size" => undefined,
> "type" => undefined
> }},
> "system-property" => {
> "jboss.default.multicast.address" => {
> "boot-time" => true,
> "value" => "230.0.0.5"
> },
> "mycluster.modcluster.lbgroup" => {
> "boot-time" => true,
> "value" => "WebLBGroup"
> }
> }
> }
> }
> {code}
> Set cache store "memory" size = 100
> {code:java}
> /profile=ha/subsystem=infinispan/cache-container=web/distributed-cache=dist/memory=object:read-resource(recursive=true)
> {
> "outcome" => "success",
> "result" => {
> "max-entries" => 100L,
> "size" => 100L,
> "strategy" => "NONE"
> }
> }
> {code}
> Reporter: Andrey Grigoriev
> Assignee: Paul Ferraro
>
> Deploying distributable application (for example https://github.com/liweinan/cluster-demo) fails:
> {code:java}
> 2018-06-28 11:23:50,504 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service org.wildfly.clustering.infinispan.cache-configuration.web.cluster-demo.war: org.jboss.msc.service.StartException in service org.wildfly.clustering.infinispan.cache-configuration.web.cluster-demo.war: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1728)
> at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
> 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:1364)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.infinispan.commons.CacheConfigurationException: ISPN000424: Eviction size value cannot be less than or equal to zero if eviction is enabled
> at org.infinispan.configuration.cache.MemoryConfigurationBuilder.validate(MemoryConfigurationBuilder.java:185)
> at org.infinispan.configuration.cache.ConfigurationBuilder.validate(ConfigurationBuilder.java:233)
> at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:290)
> at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:280)
> at org.wildfly.clustering.infinispan.spi.service.ConfigurationBuilder.start(ConfigurationBuilder.java:88)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698)
> ... 6 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (WFLY-10649) Eviction doesn't work for infinspan distributed cache "dist"
by Andrey Grigoriev (JIRA)
[ https://issues.jboss.org/browse/WFLY-10649?page=com.atlassian.jira.plugin... ]
Andrey Grigoriev edited comment on WFLY-10649 at 7/5/18 2:52 PM:
-----------------------------------------------------------------
Thanks but our target isn't limit sessions. Target - when web cache is too big for our heap size persist it to file storage. This configuration is just for example.
Real production configuration (Wildfly 10.1)
{code:java}
[domain@nr-domain-01:9990 /] /profile=ha/subsystem=infinispan/cache-container=web/distributed-cache=concurrent:read-resource(recursive=true)
{
"outcome" => "success",
"result" => {
"async-marshalling" => false,
"batching" => false,
"capacity-factor" => 1.0,
"consistent-hash-strategy" => "INTER_CACHE",
"indexing" => "NONE",
"indexing-properties" => undefined,
"jndi-name" => undefined,
"l1-lifespan" => 0L,
"mode" => "SYNC",
"module" => undefined,
"owners" => 1,
"queue-flush-interval" => 10L,
"queue-size" => 0,
"remote-timeout" => 17500L,
"segments" => 256,
"start" => "LAZY",
"statistics-enabled" => false,
"component" => {
"expiration" => {
"interval" => 60000L,
"lifespan" => -1L,
"max-idle" => -1L
},
"state-transfer" => {
"chunk-size" => 512,
"enabled" => true,
"timeout" => 240000L
},
"eviction" => {
"max-entries" => 1000L,
"strategy" => "LIRS"
},
"locking" => {
"acquire-timeout" => 15000L,
"concurrency-level" => 1000,
"isolation" => "READ_COMMITTED",
"striping" => false
},
"backups" => {"backup" => undefined},
"transaction" => {
"locking" => "PESSIMISTIC",
"mode" => "NONE",
"stop-timeout" => 10000L
},
"backup-for" => {
"remote-cache" => "___defaultcache",
"remote-site" => undefined
},
"partition-handling" => {"enabled" => false}
},
"store" => {"file" => {
"fetch-state" => true,
"passivation" => true,
"path" => undefined,
"preload" => false,
"properties" => undefined,
"purge" => true,
"relative-to" => "jboss.server.data.dir",
"shared" => false,
"singleton" => false,
"property" => undefined,
"write" => {"through" => {}}
}}
}
}
{code}
was (Author: xtron):
Thanks but our target isn't limit sessions. Target - when web cache is too big for our heap size persist it to file storage. This configuration is just for example.
> Eviction doesn't work for infinspan distributed cache "dist"
> ------------------------------------------------------------
>
> Key: WFLY-10649
> URL: https://issues.jboss.org/browse/WFLY-10649
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 13.0.0.Final
> Environment: OS: Centos 7
> Java:
> java version "1.8.0_171"
> Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
> Wildfly 13.0.0.Final run in "Domain Mode" with two nodes in profile "ha"
> {code:java}
> /server-group=web-group:read-resource(recursive=true)
> {
> "outcome" => "success",
> "result" => {
> "management-subsystem-endpoint" => false,
> "profile" => "ha",
> "socket-binding-default-interface" => undefined,
> "socket-binding-group" => "ha-sockets",
> "socket-binding-port-offset" => 0,
> "deployment" => {"cluster-demo.war" => {
> "enabled" => false,
> "name" => "cluster-demo.war",
> "runtime-name" => "cluster-demo.war"
> }},
> "deployment-overlay" => undefined,
> "jvm" => {"default" => {
> "agent-lib" => undefined,
> "agent-path" => undefined,
> "env-classpath-ignored" => undefined,
> "environment-variables" => undefined,
> "heap-size" => "512m",
> "java-agent" => undefined,
> "java-home" => undefined,
> "jvm-options" => ["-XX:MaxMetaspaceSize=1024m"],
> "launch-command" => undefined,
> "max-heap-size" => "4096m",
> "max-permgen-size" => undefined,
> "permgen-size" => undefined,
> "stack-size" => undefined,
> "type" => undefined
> }},
> "system-property" => {
> "jboss.default.multicast.address" => {
> "boot-time" => true,
> "value" => "230.0.0.5"
> },
> "mycluster.modcluster.lbgroup" => {
> "boot-time" => true,
> "value" => "WebLBGroup"
> }
> }
> }
> }
> {code}
> Set cache store "memory" size = 100
> {code:java}
> /profile=ha/subsystem=infinispan/cache-container=web/distributed-cache=dist/memory=object:read-resource(recursive=true)
> {
> "outcome" => "success",
> "result" => {
> "max-entries" => 100L,
> "size" => 100L,
> "strategy" => "NONE"
> }
> }
> {code}
> Reporter: Andrey Grigoriev
> Assignee: Paul Ferraro
>
> Deploying distributable application (for example https://github.com/liweinan/cluster-demo) fails:
> {code:java}
> 2018-06-28 11:23:50,504 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service org.wildfly.clustering.infinispan.cache-configuration.web.cluster-demo.war: org.jboss.msc.service.StartException in service org.wildfly.clustering.infinispan.cache-configuration.web.cluster-demo.war: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1728)
> at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
> 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:1364)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.infinispan.commons.CacheConfigurationException: ISPN000424: Eviction size value cannot be less than or equal to zero if eviction is enabled
> at org.infinispan.configuration.cache.MemoryConfigurationBuilder.validate(MemoryConfigurationBuilder.java:185)
> at org.infinispan.configuration.cache.ConfigurationBuilder.validate(ConfigurationBuilder.java:233)
> at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:290)
> at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:280)
> at org.wildfly.clustering.infinispan.spi.service.ConfigurationBuilder.start(ConfigurationBuilder.java:88)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698)
> ... 6 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (WFLY-10649) Eviction doesn't work for infinspan distributed cache "dist"
by Andrey Grigoriev (JIRA)
[ https://issues.jboss.org/browse/WFLY-10649?page=com.atlassian.jira.plugin... ]
Andrey Grigoriev commented on WFLY-10649:
-----------------------------------------
Thanks but our target isn't limit sessions. Target - when web cache is too big for our heap size persist it to file storage. This configuration is just for example.
> Eviction doesn't work for infinspan distributed cache "dist"
> ------------------------------------------------------------
>
> Key: WFLY-10649
> URL: https://issues.jboss.org/browse/WFLY-10649
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 13.0.0.Final
> Environment: OS: Centos 7
> Java:
> java version "1.8.0_171"
> Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
> Wildfly 13.0.0.Final run in "Domain Mode" with two nodes in profile "ha"
> {code:java}
> /server-group=web-group:read-resource(recursive=true)
> {
> "outcome" => "success",
> "result" => {
> "management-subsystem-endpoint" => false,
> "profile" => "ha",
> "socket-binding-default-interface" => undefined,
> "socket-binding-group" => "ha-sockets",
> "socket-binding-port-offset" => 0,
> "deployment" => {"cluster-demo.war" => {
> "enabled" => false,
> "name" => "cluster-demo.war",
> "runtime-name" => "cluster-demo.war"
> }},
> "deployment-overlay" => undefined,
> "jvm" => {"default" => {
> "agent-lib" => undefined,
> "agent-path" => undefined,
> "env-classpath-ignored" => undefined,
> "environment-variables" => undefined,
> "heap-size" => "512m",
> "java-agent" => undefined,
> "java-home" => undefined,
> "jvm-options" => ["-XX:MaxMetaspaceSize=1024m"],
> "launch-command" => undefined,
> "max-heap-size" => "4096m",
> "max-permgen-size" => undefined,
> "permgen-size" => undefined,
> "stack-size" => undefined,
> "type" => undefined
> }},
> "system-property" => {
> "jboss.default.multicast.address" => {
> "boot-time" => true,
> "value" => "230.0.0.5"
> },
> "mycluster.modcluster.lbgroup" => {
> "boot-time" => true,
> "value" => "WebLBGroup"
> }
> }
> }
> }
> {code}
> Set cache store "memory" size = 100
> {code:java}
> /profile=ha/subsystem=infinispan/cache-container=web/distributed-cache=dist/memory=object:read-resource(recursive=true)
> {
> "outcome" => "success",
> "result" => {
> "max-entries" => 100L,
> "size" => 100L,
> "strategy" => "NONE"
> }
> }
> {code}
> Reporter: Andrey Grigoriev
> Assignee: Paul Ferraro
>
> Deploying distributable application (for example https://github.com/liweinan/cluster-demo) fails:
> {code:java}
> 2018-06-28 11:23:50,504 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service org.wildfly.clustering.infinispan.cache-configuration.web.cluster-demo.war: org.jboss.msc.service.StartException in service org.wildfly.clustering.infinispan.cache-configuration.web.cluster-demo.war: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1728)
> at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
> 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:1364)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.infinispan.commons.CacheConfigurationException: ISPN000424: Eviction size value cannot be less than or equal to zero if eviction is enabled
> at org.infinispan.configuration.cache.MemoryConfigurationBuilder.validate(MemoryConfigurationBuilder.java:185)
> at org.infinispan.configuration.cache.ConfigurationBuilder.validate(ConfigurationBuilder.java:233)
> at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:290)
> at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:280)
> at org.wildfly.clustering.infinispan.spi.service.ConfigurationBuilder.start(ConfigurationBuilder.java:88)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698)
> ... 6 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years