I am having to work on a poorly written, ten year old humongous web application, deployed on IBM Websphere. The problem is it takes forever (almost 40minutes) to start. I have used JVM monitor in the past to analyze a running application, and memory analyzer to analyze heap dumps, but I have never worked on startup issues like this.
Is there a way to profile/analyze the application while it is starting up, without making code changes? I searched SO and I found this post. I didn't quite get how to get VisualVM to work with a web application that has not yet started.
Can anyone help me here - is it possible to use VisuaVM or any other tool (preferably free) to monitor a web application that is starting up?