1
votes

In one of my project, I got a requirement to display JVM parameters which are setup while creating tomcat as a service. I'm referring https://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html but I didn't find any solution of my requirement. Please suggest me solution. Thanks in advance!

2

2 Answers

2
votes

You are looking for the Tomcat Monitor application, which is one of the first sections on the page you referenced.

From the command-line, you can run this set of commands:

C:\> \path\to\tomcat\bin\tomcat7w.exe //ES//

If you have used a customized name for your service, you can do this:

C:\> \path\to\tomcat\bin\tomcat7w.exe //ES//custom-name
1
votes

You can try to get command line options on PowerShell.

Get-WmiObject Win32_Process -Filter "Caption='tomcat.exe'" | Format-List CommandLine