Yogesh, On 12/16/15 3:50 AM, Yogesh Patel wrote: > Working directory for tomcat is like "D:\tools\tomcat7-4", but there is no > file generated under this directory.
Maybe a file permissions error? Can the user running your service write to D:\tools\tomcat7-4? If you are in fact running as a service, the local service user has virtually no privileges (which is appropriate). -chris > On 15 December 2015 at 06:48, Christopher Schultz < > ch...@christopherschultz.net> wrote: > >> Yogesh, >> >> On 12/14/15 1:34 AM, Yogesh Patel wrote: >>> We set -XX:+HeapDumpOnOutOfMemoryError >>> but we couldn't find any file which contains the heap dump. >>> As per the docs file name will be "./java_pid<pid>.hprof" but there is no >>> such file generated on OutOFMemoryError. >> >> What is the CWD of the Tomcat process? You can find is on Linux by >> poking-around in the /proc/[pid] fs... can probably get it with some >> work using lsof, etc. >> >> -chris >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org