[JBoss JIRA] (WFLY-11387) IllegalStateException when calling MetricsContextService.stop during shutdown sequence
by Rostislav Svoboda (Jira)
Rostislav Svoboda created WFLY-11387:
----------------------------------------
Summary: IllegalStateException when calling MetricsContextService.stop during shutdown sequence
Key: WFLY-11387
URL: https://issues.jboss.org/browse/WFLY-11387
Project: WildFly
Issue Type: Bug
Components: MP Metrics
Reporter: Rostislav Svoboda
Assignee: Jason Greene
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, 8 months
[JBoss JIRA] (WFLY-11386) Dependencies: Manifest Entries should be a heading
by Peter Palaga (Jira)
Peter Palaga created WFLY-11386:
-----------------------------------
Summary: Dependencies: Manifest Entries should be a heading
Key: WFLY-11386
URL: https://issues.jboss.org/browse/WFLY-11386
Project: WildFly
Issue Type: Task
Components: Documentation
Reporter: Peter Palaga
Assignee: Peter Palaga
Dependencies: Manifest Entries is formatted (bold) as a heading, but it is not a heading, has no anchor, and hence cannot be linked directly e.g. from stackoverflow.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (WFCORE-4170) The vault resource needs to expose a capability that requires the picketbox package
by Jean-Francois Denise (Jira)
[ https://issues.jboss.org/browse/WFCORE-4170?page=com.atlassian.jira.plugi... ]
Jean-Francois Denise commented on WFCORE-4170:
----------------------------------------------
The vault feature can't express a dependency on the PB package explicitly, galleon forbids a dependency on a package that can't be resolve in the FP (directly or transitively).
The vault layer in full will bring the PB module.
> The vault resource needs to expose a capability that requires the picketbox package
> -----------------------------------------------------------------------------------
>
> Key: WFCORE-4170
> URL: https://issues.jboss.org/browse/WFCORE-4170
> Project: WildFly Core
> Issue Type: Bug
> Components: Management
> Reporter: Brian Stansberry
> Assignee: Jeff Mesnil
> Priority: Major
>
> The picketbox module is optional in core, but there is no link from configuration to a hard requirement for PB. The result is Galleon could theoretically provision a server with a vault in the config but not PB module on the FS. The way to add such a link is via a capability for vault and the use of RuntimeCapability.Builder.addAdditionalRequiredPackages.
> Note that I think this means the vault feature can't be part of any layer in core, or at least not a layer that's depended upon by any 'default' core layer. This is because the PB module will not be part of the core feature pack.
> [~jfdenise] FYI; this is a follow up to our conversation earlier today.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months