[JBoss JIRA] (WFCORE-4245) IllegalStateException when removing HTTP management during shutdown sequence
by Jeff Mesnil (Jira)
[ https://issues.jboss.org/browse/WFCORE-4245?page=com.atlassian.jira.plugi... ]
Jeff Mesnil moved WFLY-11472 to WFCORE-4245:
--------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-4245 (was: WFLY-11472)
Component/s: Management
(was: MP Metrics)
Affects Version/s: 7.0.0.Final
(was: 15.0.0.Beta1)
Fix Version/s: 8.0.0.Beta1
(was: 15.0.0.Final)
> IllegalStateException when removing HTTP management during shutdown sequence
> ----------------------------------------------------------------------------
>
> Key: WFCORE-4245
> URL: https://issues.jboss.org/browse/WFCORE-4245
> Project: WildFly Core
> Issue Type: Bug
> Components: Management
> Affects Versions: 7.0.0.Final
> Reporter: Rostislav Svoboda
> Assignee: Jeff Mesnil
> Priority: Critical
> Fix For: 8.0.0.Beta1
>
>
> IllegalStateException when calling MetricsContextService.stop during shutdown sequence
> This doesn't happen regularly, it happened to me like once from 5 shutdowns. I saw the warning 3 times today.
> "not happening always" is because of parallelism in shutdown/boot of WF/EAP
> I did slight misconfiguration on purpose, but not sure if it's related or not
> {code}
> /subsystem=microprofile-metrics-smallrye/:write-attribute(name=exposed-subsystems, value=["batch_jberet"])
> {code}
> Stacktrace is this:
> {code}
> 09:53:23,883 WARN [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000004: Failure during stop of service jboss.extension.metrics.context: java.lang.IllegalStateException
> at org.jboss.as.domain-http-interface@7.0.0.Beta1//org.jboss.as.domain.http.server.ManagementHttpServer.removeContext(ManagementHttpServer.java:234)
> at org.jboss.as.server@7.0.0.Beta1//org.jboss.as.server.mgmt.UndertowHttpManagementService$1.removeContext(UndertowHttpManagementService.java:144)
> at org.wildfly.extension.microprofile.metrics-smallrye@15.0.0.CR1-SNAPSHOT//org.wildfly.extension.microprofile.metrics.MetricsContextService.stop(MetricsContextService.java:131)
> at org.jboss.msc@1.4.5.Final//org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1794)
> at org.jboss.msc@1.4.5.Final//org.jboss.msc.service.ServiceControllerImpl$StopTask.execute(ServiceControllerImpl.java:1763)
> at org.jboss.msc@1.4.5.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1558)
> at org.jboss.threads@2.3.2.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads@2.3.2.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
> at org.jboss.threads@2.3.2.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
> at org.jboss.threads@2.3.2.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1364)
> at java.base/java.lang.Thread.run(Thread.java:834)
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFLY-11472) IllegalStateException when removing HTTP management during shutdown sequence
by Jeff Mesnil (Jira)
Jeff Mesnil created WFLY-11472:
----------------------------------
Summary: IllegalStateException when removing HTTP management during shutdown sequence
Key: WFLY-11472
URL: https://issues.jboss.org/browse/WFLY-11472
Project: WildFly
Issue Type: Bug
Components: MP Metrics
Affects Versions: 15.0.0.Beta1
Reporter: Rostislav Svoboda
Assignee: Jeff Mesnil
Fix For: 15.0.0.Final
IllegalStateException when calling MetricsContextService.stop during shutdown sequence
This doesn't happen regularly, it happened to me like once from 5 shutdowns. I saw the warning 3 times today.
"not happening always" is because of parallelism in shutdown/boot of WF/EAP
I did slight misconfiguration on purpose, but not sure if it's related or not
{code}
/subsystem=microprofile-metrics-smallrye/:write-attribute(name=exposed-subsystems, value=["batch_jberet"])
{code}
Stacktrace is this:
{code}
09:53:23,883 WARN [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000004: Failure during stop of service jboss.extension.metrics.context: java.lang.IllegalStateException
at org.jboss.as.domain-http-interface@7.0.0.Beta1//org.jboss.as.domain.http.server.ManagementHttpServer.removeContext(ManagementHttpServer.java:234)
at org.jboss.as.server@7.0.0.Beta1//org.jboss.as.server.mgmt.UndertowHttpManagementService$1.removeContext(UndertowHttpManagementService.java:144)
at org.wildfly.extension.microprofile.metrics-smallrye@15.0.0.CR1-SNAPSHOT//org.wildfly.extension.microprofile.metrics.MetricsContextService.stop(MetricsContextService.java:131)
at org.jboss.msc@1.4.5.Final//org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1794)
at org.jboss.msc@1.4.5.Final//org.jboss.msc.service.ServiceControllerImpl$StopTask.execute(ServiceControllerImpl.java:1763)
at org.jboss.msc@1.4.5.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1558)
at org.jboss.threads@2.3.2.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads@2.3.2.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at org.jboss.threads@2.3.2.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at org.jboss.threads@2.3.2.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1364)
at java.base/java.lang.Thread.run(Thread.java:834)
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFLY-11471) Add expressions to enable statistics
by Jeff Mesnil (Jira)
Jeff Mesnil created WFLY-11471:
----------------------------------
Summary: Add expressions to enable statistics
Key: WFLY-11471
URL: https://issues.jboss.org/browse/WFLY-11471
Project: WildFly
Issue Type: Enhancement
Components: JCA, JMS, MP Metrics, Transactions, Web (Undertow)
Affects Versions: 15.0.0.Final
Reporter: Jeff Mesnil
Assignee: Jeff Mesnil
With the microprofile-metrics-smallrye extension, we can expose WildFly metrics to monitoring tools such as Promotheus.
However, some of these metrics can have performance/memory impact and are not computed by default. They are control by attributes named `statistics-enabled` on the WildFly resources those runtime provides these metrics.
If an user wants to collect such metrics, he has to set these `statistics-enabled` attributes to `true` for all resources.
In order to improve user experience, our shipped standalone configuration could use expressions so that the user would have to set a single system property to enable these metrics.
The format would be:
{code}
statistics-enabled=${wildfly.statistics-enabled:${wildfly.<xxx>.statistics-enabled:false}}
{code}
where <xxx> are names of the resources that exposes the metrics: undertow, transactions, datasources, messaging-activemq
The nested expressions allows to have a global system property to enable *all* statistics: (wildfly.statistics-enabled) and specific system properties to enable/disable only some metrics (e.g. wildfly.transactions.statistics-enabled).
Use case:
* start the standalone profile as usual
* ./bin/standalone.sh
* => all statistics-enabled attributes are resolved to false
* start the standalone profile with all statistics:
* ./bin/standalone.sh -Dwildfly.statistics-enabled=true
* => all statistics-enabled attributes are resolved to true
* start the standalone profile with only undertow statistics:
* ./bin/standalone.sh -Dwildfly.undertow.statistics-enabled=true
* => all statistics-enabled attributes are resolved to true
* start the standalone profile with only undertow statistics:
* ./bin/standalone.sh -Dwildfly.undertow.statistics-enabled=true
* => only undertow statistics are enabled
* start the standalone profile with all but undertow statistics:
* ./bin/standalone.sh -Dwildfly.undertow.statistics-enabled=false -Dwildfly.statistics-enabled=true
* => All but undertow statistics are enabled
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (DROOLS-3401) Move simulation fluent API to kie-internal
by Daniele Zonca (Jira)
Daniele Zonca created DROOLS-3401:
-------------------------------------
Summary: Move simulation fluent API to kie-internal
Key: DROOLS-3401
URL: https://issues.jboss.org/browse/DROOLS-3401
Project: Drools
Issue Type: Task
Components: Scenario Simulation and Testing
Reporter: Daniele Zonca
Assignee: Daniele Zonca
Move back to kie-internal all fluent simulation API (ContextFluent, KieContainerFluent etc)
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months