You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Pascal Schumacher <pa...@gmx.net> on 2019/08/26 18:04:49 UTC
Is it possible to disable JMX?
|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?
Thanks and kind regards,
Pascal|
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Is it possible to disable JMX?
Posted by Mark Thomas <ma...@apache.org>.
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 <pa...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Is it possible to disable JMX?
Posted by Alex O'Ree <al...@apache.org>.
you may have to edit catalina.bat and add --no-jmx to the command line
On Mon, Aug 26, 2019 at 2:05 PM Pascal Schumacher <pa...@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?
>
> Thanks and kind regards,
> Pascal|
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>