views:

25

answers:

2

I work on a folder and tomcat recognizes the folder. But, when I shutdown and restart tomcat it is taking time to recognize the same folder. Can anybody tell me why?

I see the error report in catalina.out. It gives a list of errors but finally says Nov 22, 2009 2:08:58 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 1403 ms

A: 

I pressume 'folder' is your webapp. I takes time starting your wabapp, because tomcat has to load.parse configuration files for that app. Additionaly if your webapp contains JSP pages those get most likely recompiled on the restart.

quosoo
A: 

I guess you are referring to application deployment time. The most time consuming process is to scan the jars for TLDs. If you don't use JSP tags, you can speed up the deployment time by adding this to your context,

  <Context processTlds="false" ... />
ZZ Coder