On 19 Apr 2012, at 23:09, Konstantin Kolinko <knst.koli...@gmail.com> wrote:
> 2012/4/20 Caldarale, Charles R <chuck.caldar...@unisys.com>: >>> From: Adam Gordon [mailto:adam.n.gor...@gmail.com] >>> Subject: Re: Classpath issues with Embedded Tomcat 7 >> >>> it's creating tomcat.9090 in the same directory as my >>> web application. >> >> That looks like the pid file used for shutting down Tomcat via scripts. I >> don't think that has anything to do with what Tomcat uses for JSP >> compilations. >> > > Citing from Tomcat.java: > [[[ > /** > * Tomcat needs a directory for temp files. This should be the > * first method called. Maybe this should be a constructor argument, if it's a pre-requisite. p > * > * By default, if this method is not called, we use: > * - system properties - catalina.base, catalina.home > * - $PWD/tomcat.$PORT > * (/tmp doesn't seem a good choice for security). > * > * TODO: disable work dir if not needed ( no jsp, etc ). > */ > public void setBaseDir(String basedir) { > this.basedir = basedir; > } > ]]] > > There is code somewhere in that class that implements what is written > in the above javadoc. > > Best regards, > Konstantin Kolinko > > --------------------------------------------------------------------- > 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