tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pid *" <...@pidster.com>
Subject Re: Classpath issues with Embedded Tomcat 7
Date Fri, 20 Apr 2012 07:57:44 GMT
On 19 Apr 2012, at 23:09, Konstantin Kolinko <knst.kolinko@gmail.com> wrote:

> 2012/4/20 Caldarale, Charles R <Chuck.Caldarale@unisys.com>:
>>> From: Adam Gordon [mailto:adam.n.gordon@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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message