Load Time of flowable Webapps is too high


I am facing a problem that tomcat loading of all webapps takes around 4 minutes. Even in parallel loading it takes no less than 2.5 minutes. This is huge as compared to our other server processes.

  1. Can somebody please guide if any optimizations are available there?

  2. Also, i found an article which mentioned setting metadata-complete=“true” on wep-app element in web.xml.
    This has helped in some performance improvement but I am not sure if it is ok to use it.

  3. Also, can we do something about TLD scanning as it is taking lots of time. Is it really needed?

Any pointers would be really helpful.