Skip to content

JMX: Tomcat only collecting metrics from one listener at a timeΒ #1236

@tbm48813

Description

@tbm48813

Component(s)

jmx-metrics

What happened?

Description

If Tomcat has two listeners configured, one HTTP and one HTTPS, it will only gather metrics from the HTTP listener.

Steps to Reproduce

Configure Tomcat with a HTTP and HTTPS listener. It will only pull metrics from HTTP unless you disable the HTTP listener, then it will then pull metrics from the HTTPS listener.

Expected Result

It should get metrics from all the listeners, which I verified is visible through JConsole.

Actual Result

It only gets metrics from the http listener.

Component version

JMX v0.96.0, Java Contrib v1.28.0

Log output

No response

Additional context

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions