Hi Users,

I am running Tomcat 7.0.77 on a linux server with openJDK 1.7.0.131
I am working on an issue where within 2-3 days Tomcat goes out of memory
because of java.lang.OutOfMemoryError: PermGen space .
After monitoring permgen via jconsole and checking catalina logs we noticed
the information messages

Jul 12, 2017 11:27:02 AM org.apache.catalina.startup.HostConfig reload

INFO: Reloading context [/abc]

Jul 12, 2017 11:27:02 AM org.apache.catalina.core.StandardContext reload
INFO: Reloading Context with name [/abc] has started

I see web.xml within webapp/abc/WEB-INF has the same time stamp of that of
the information message.
This makes me deduce that since Tomcat sees the new time stamp on web.xml,
it reloads this web-app.
I, however, do not see the date/time stamp change on webapp/abc folder.
Meaning the web application does not get deployed but it getting reloaded
into Tomcat.

How can i debug this further i find who is responsible in changing web.xml
(If my analysis above is correct).
Should adding a stack trace within tomcat code (from where "INFO: Reloading
context ") will help?
Or if there is another option please share with me.

Thanks for your help in advance.

-Utkarsh Dave

Reply via email to