War deployment on Tomcat takes ages

后端 未结 6 1687
猫巷女王i
猫巷女王i 2021-02-07 23:11

I have a Grails application, built to a war file (~30mb). When I attempt to deploy the war file on Tomcat 6 via the application manager, it takes upwards of 10 minutes to deploy

6条回答
  •  感情败类
    2021-02-07 23:32

    Definitely check the Tomcat logs for any errors/warnings.

    You probably have some expensive/sensitive code logic in one of the ServletContextListeners. They are usually initialized during startup. If so, then I would debug/profile it for any performance matters/leaks.

提交回复
热议问题