[JBoss JIRA] (LOGMGR-52) Add option to WriterHandler to collapse repeated messages
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/LOGMGR-52?page=com.atlassian.jira.plugin.... ]
James Perkins updated LOGMGR-52:
--------------------------------
Fix Version/s: 2.1.4.Final
(was: 2.1.3.Final)
> Add option to WriterHandler to collapse repeated messages
> ---------------------------------------------------------
>
> Key: LOGMGR-52
> URL: https://issues.jboss.org/browse/LOGMGR-52
> Project: JBoss Log Manager
> Issue Type: Feature Request
> Reporter: David Lloyd
> Assignee: David Lloyd
> Fix For: 2.1.4.Final
>
>
> The WriterHandler could have a time interval configured wherein a repeated message would be collapsed.
> The last message would be stored in a field for comparison along with a nanoTime tag (the timestamp on the message is not adequate because the clock can have skew or be reset completely at any time). If the current message string equals the last message string, and collapsing is enabled, then instead of logging the message, a count is incremented. If the current message is not equal, then the stored message is logged with a tag indicating the number of repeats (i18n?) and then the next submitted message is logged.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-2709) Revise and align visual presentation of tables (DMN, scenario, DT)
by Liz Clayton (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2709?page=com.atlassian.jira.plugi... ]
Liz Clayton commented on DROOLS-2709:
-------------------------------------
[~danielezonca] [~Rikkola] ^^ for DMN and Scenario tables.
> Revise and align visual presentation of tables (DMN, scenario, DT)
> -------------------------------------------------------------------
>
> Key: DROOLS-2709
> URL: https://issues.jboss.org/browse/DROOLS-2709
> Project: Drools
> Issue Type: Enhancement
> Components: DMN Editor, Scenario Simulation and Testing, Test Scenarios Editor
> Reporter: Liz Clayton
> Assignee: Michael Anstis
> Labels: UX, UXTeam, VisualDesign
>
> As a practitioner I need a clear and consistent presentation of table styles, so that I can learn the visual cues once for all tables in the application suite.
> When possible, iteratively update visual styles for tables using the following proposed options: https://redhat.invisionapp.com/share/RXLG7XB2TCW
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (LOGMGR-196) PeriodicRotatingFileHandlerTests.testFailedRotate fails on JDK10+
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/LOGMGR-196?page=com.atlassian.jira.plugin... ]
James Perkins reassigned LOGMGR-196:
------------------------------------
Assignee: James Perkins
> PeriodicRotatingFileHandlerTests.testFailedRotate fails on JDK10+
> -----------------------------------------------------------------
>
> Key: LOGMGR-196
> URL: https://issues.jboss.org/browse/LOGMGR-196
> Project: JBoss Log Manager
> Issue Type: Task
> Affects Versions: 2.1.0.Final
> Reporter: Nikoleta Žiaková
> Assignee: James Perkins
> Priority: Minor
>
> {code}
> [ERROR] Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.035 s <<< FAILURE! - in org.jboss.logmanager.handlers.PeriodicRotatingFileHandlerTests
> [ERROR] testFailedRotate(org.jboss.logmanager.handlers.PeriodicRotatingFileHandlerTests) Time elapsed: 0.023 s <<< FAILURE!
> java.lang.AssertionError: The rotated file '/home/nziakova/testing/logging/jboss-logmanager/target/logs/periodic-rotating-file-handler.log.28' exists and should not
> {code}
> It seems like the byteman rule is not executed on JDK10+. However, after upgrading the byteman version to 4.0.1, which should support JDK10, I get following error:
> {code}
> org.jboss.byteman.rule.exception.ParseException: rule Test failed rotated
> File org.jboss.logmanager.handlers.PeriodicRotatingFileHandlerTests+testFailedRotate line 6 : illegal character in string <\>
> {code}
> Looks like hitting BYTEMAN-346 when escaping the backslash because updating the condition to following one works:
> {code}
> condition = "$2.getFileName().toString().matches(\"periodic-rotating-file-handler\\\\.log\\\\.\\\\d+\")",
> {code}
> I'm not sure what should be the proper fix here - is adjusting the backslash escaping in the test enough?
--
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:
-------------------------------------
OK - there is a bug here, but it's a byproduct with how you've configured web session eviction.
Web session eviction is configured per-application, via the <max-active-sessions/> element in jboss-web.xml.
This value, by default, is limitless - however, the eviction strategy is not being correctly reset to EvictionStrategy.MANUAL and instead retains the value of EvictionStrategy.REMOVE, which is incompatible with the size of -1 (i.e. for limitless storage).
Until the above is fixed, remove your custom memory configuration from your infinispan subsystem, and instead configure eviction using max-active-sessions (since this ultimately determines the value to be used).
> 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] (DROOLS-2709) Revise and align visual presentation of tables (DMN, scenario, DT)
by Liz Clayton (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2709?page=com.atlassian.jira.plugi... ]
Liz Clayton commented on DROOLS-2709:
-------------------------------------
[~bdellasc] [~mstevens1] Linking to related jira. Created this Drools jira for the same.
> Revise and align visual presentation of tables (DMN, scenario, DT)
> -------------------------------------------------------------------
>
> Key: DROOLS-2709
> URL: https://issues.jboss.org/browse/DROOLS-2709
> Project: Drools
> Issue Type: Enhancement
> Components: DMN Editor, Scenario Simulation and Testing, Test Scenarios Editor
> Reporter: Liz Clayton
> Assignee: Michael Anstis
> Labels: UX, UXTeam, VisualDesign
>
> As a practitioner I need a clear and consistent presentation of table styles, so that I can learn the visual cues once for all tables in the application suite.
> When possible, iteratively update visual styles for tables using the following proposed options: https://redhat.invisionapp.com/share/RXLG7XB2TCW
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-2709) Revise and align visual presentation of tables (DMN, scenario, DT)
by Liz Clayton (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2709?page=com.atlassian.jira.plugi... ]
Liz Clayton updated DROOLS-2709:
--------------------------------
Description:
As a practitioner I need a clear and consistent presentation of table styles, so that I can learn the visual cues once for all tables in the application suite.
When possible, iteratively update visual styles for tables using the following proposed options: https://redhat.invisionapp.com/share/RXLG7XB2TCW
was:
As a practitioner I need a clear and consistent presentation of table styles, so that I can learn the visual cues once for all tables in the application suite.
When possible, iteratively update visual styles for tables using the following proposed options.
> Revise and align visual presentation of tables (DMN, scenario, DT)
> -------------------------------------------------------------------
>
> Key: DROOLS-2709
> URL: https://issues.jboss.org/browse/DROOLS-2709
> Project: Drools
> Issue Type: Enhancement
> Components: DMN Editor, Scenario Simulation and Testing, Test Scenarios Editor
> Reporter: Liz Clayton
> Assignee: Michael Anstis
> Labels: UX, UXTeam, VisualDesign
>
> As a practitioner I need a clear and consistent presentation of table styles, so that I can learn the visual cues once for all tables in the application suite.
> When possible, iteratively update visual styles for tables using the following proposed options: https://redhat.invisionapp.com/share/RXLG7XB2TCW
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-2709) Revise and align visual presentation of tables (DMN, scenario, DT)
by Liz Clayton (JIRA)
Liz Clayton created DROOLS-2709:
-----------------------------------
Summary: Revise and align visual presentation of tables (DMN, scenario, DT)
Key: DROOLS-2709
URL: https://issues.jboss.org/browse/DROOLS-2709
Project: Drools
Issue Type: Enhancement
Components: DMN Editor, Scenario Simulation and Testing, Test Scenarios Editor
Reporter: Liz Clayton
Assignee: Michael Anstis
As a practitioner I need a clear and consistent presentation of table styles, so that I can learn the visual cues once for all tables in the application suite.
When possible, iteratively update visual styles for tables using the following proposed options.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-2708) Icon for test results dock
by Liz Clayton (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2708?page=com.atlassian.jira.plugi... ]
Liz Clayton commented on DROOLS-2708:
-------------------------------------
[~Rikkola] Please comment if there are any icons being used for the current test tool that we should be reusing, thanks!
> Icon for test results dock
> --------------------------
>
> Key: DROOLS-2708
> URL: https://issues.jboss.org/browse/DROOLS-2708
> Project: Drools
> Issue Type: Sub-task
> Components: Scenario Simulation and Testing, Test Scenarios Editor
> Reporter: Liz Clayton
> Assignee: Brian Dellascio
>
> As a practitioner I need to know which docked tab indicates the Scenario Test results panel within the test editor.
> Notes:
> Icon needed for the right panel dock (functions as a tab) - same behavior as all Process Designer docks. Additional details outlined in icon spreadsheet and parent jira.
> Reasonable icon concept could be something like the font awesome "play-circle" icon: https://fontawesome.com/cheatsheet?from=io
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-2708) Icon for test results dock
by Liz Clayton (JIRA)
Liz Clayton created DROOLS-2708:
-----------------------------------
Summary: Icon for test results dock
Key: DROOLS-2708
URL: https://issues.jboss.org/browse/DROOLS-2708
Project: Drools
Issue Type: Sub-task
Components: Scenario Simulation and Testing, Test Scenarios Editor
Reporter: Liz Clayton
Assignee: Brian Dellascio
As a practitioner I need to know which docked tab indicates the Scenario Test results panel within the test editor.
Notes:
Icon needed for the right panel dock (functions as a tab) - same behavior as all Process Designer docks. Additional details outlined in icon spreadsheet and parent jira.
Reasonable icon concept could be something like the font awesome "play-circle" icon: https://fontawesome.com/cheatsheet?from=io
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years