On 27/08/2019 03:59, Alex O'Ree wrote:
> you may have to edit catalina.bat and add --no-jmx to the command line

That won't work. Quoting from the changelog:
<quote>
 Add --no-jmx flag to allow disabling JMX in startup.Tomcat.main.
</quote>

Disabling JMX is only possible when using Tomcat as am embedded component.

> 
> On Mon, Aug 26, 2019 at 2:05 PM Pascal Schumacher <pascalschumac...@gmx.net>
> wrote:
> 
>> |Hi,
>>
>> according to https://tomcat.apache.org/tomcat-9.0-doc/changelog.html it
>> should be possible to disable JMX when using Tomcat 9.0.20+.
>>
>> I tried different way to pass --no-jmx to Tomcat 9.0.24 ("catalina.bat
>> start --no-jmx", "startup.bat --no-jmx", editing catalina.bat), but the
>> "Catalina" folder is present in JMX and memory consumption remains the
>> same.
>>
>> I guess I am misunderstanding something and there is not way to disable
>> JMX when using org.apache.catalina.startup.Bootstrap?

Correct. See above.

Why do you want to disable JMX?

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to