This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I run a server with Tomcat, and I've noticed something odd, over time it's taking longer and longer to start/restart, and I finally started digging into it when restarting took about 15-20 minutes (For just Tomcat)
What I found was that the folders/applications are being deployed 7 times each!
I have no idea what would cause something like that, I don't even know in what end to start looking for the cause, I'm hoping that someone here recognizes the issue and could point me in the right direction.
It does seem to be a very peculiar problem. Maybe its some issue with the tomcat itself. Try deploying the same applications to a separate ( a fresh tomcat 7 ) instance and see if the issue persists there.
Muhammad Saif Asif Mirza
OCJA(5/6) OCJP(6) OCJWCD(6)
Joined: Apr 14, 2012
I run it for OpenBD so I asked the same question on a different forum, a fellow coder had run into the same problem and it had to do with "deploying" subfolders.
The fix was simple:
In the virtualhost setup: deployOnStartup="true" autoDeploy="false" deployIgnore=".*"