Mark,
On 1/12/22 13:36, Mark Thomas wrote:
On 12/01/2022 17:29, Christopher Schultz wrote:
On 1/10/22 11:46, Mark Thomas wrote:
<snip/>
So, as a first step, I intend to completely remove the
JMXLifecycleListener.
Are all those various system properties available in recent releases
of Java 7? I wouldn't want to trap users of Tomcat 8.5 on Java 7 into
a situation where they cannot upgrade to Tomcat 8.5.latest because
they still need the capability to control the JMX ports.
Define recent :)
If you define recent as "the thing you get when you pay Oracle $$$" or
"the thing you get when you build from the project source" then yes.
If you define recent as "the last free version you could get back in
April 2015" then mostly. The com.sun.management.jmxremote.host property
is not supported but all the others are.
<snip/>
I don't think we'll get this all sorted for this release round. We
should be able to remove the JmxLifecycleListener though.
It's been documented to be removed for a long time, but I'd like to
know if we are "stranding" any users by removing it.
Anyone still running Tomcat 8.5.x on Java 7 should be doing so on a
supported JRE which means they'll have access to all those properties.
Okay, thanks for that data point.
There needs to be a big warning about it in the changelog, migration
guide, etc.
Actually... how about we just gut the class and replace it with a bunch
of log.info statements saying "This class does nothing". I would be very
surprised to have a Tomcat upgrade cause my existing (working)
configuration to suddenly no longer allow Tomcat to start.
Fortunately, it's not in the default configuration so it would only
affect people who really need it. Maybe those INFO logs could spit-out
the system properties they need to use and even check their Java version
to tell them if their JVM is compatible with those properties.
I know, I'm making more work for you if you are going to do it. I
wouldn't mind doing the work as long as I know which versions apply, etc.
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org