Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

-- https://tomcat.apache.org/tomcat-8.5-doc/config/jar-scanner.html

Profiling Tomcat startup with VisualVM

Installing the Plugin

Image Added

Profiling Startup

Image Added


1. Specify Application Configuration

Image Added

2. Define Profiler Settings

Image AddedImage Added

3. Setup Profiled Application

Image Added

Example: C:\jdk1.7.0_64b\bin\java.exe -agentpath:C:/VisualVM/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll=C:\VisualVM\profiler\lib,5140 -jar MyApp.jar

Problems & Troubleshooting

https://visualvm.github.io/startupprofiler.html

Part 2 - Usage optimizing options

...