I am facing one serious issue as Tomcat server takes much time to start.
I have different applications to work on in day and found that in 2 applications, Tomcat takes more than 3 minutes to start but int my main project it takes more than 5 minutes or even more.
I want to know that is it normal or i need to change some parameters to make it faster ?
Tomcat itself starts up pretty quickly. Maybe there's a lot of initialization work being done in context listeners and similar constructs that get executed at startup time? Maybe some of that could run in a background thread asynchronously instead.
I one took over a web app that would take 20 minutes to start up. The original author was fool enough to attempt to load half the database into RAM in the init method of one of his servlets. I modified it to use just-in-time fetching and the startup time dropped to 30 seconds.
One of the things that made Tomcat (and jetty) so popular was that the full-stack J2EE servers like WebSphere did take an excruciatingly long time to start. But Tomcat itself only takes maybe 20 seconds. All the other time is in the starting of the webapps. Ideally a single webapp would take no more than 60 seconds to launch, but that depends on how the app was designed, not on Tomcat.
"privilege" comes from the Latin words for "private" and "law" (legal) and dates to feudal times. To "claim privilege" meant that you were above the laws that applied to the common people.
Normally trees don't drive trucks. Does this tiny ad have a license?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop