You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Zacharias J. Beckman" <zb...@creativesun.com> on 2000/01/10 05:50:44 UTC

Persistent workdir... how?

Is there a way to make the Tomcat workdir persistent?

How about on a site-by-site basis? (Er, well, a "context by context" basis)?

--
Zacharias J. Beckman - zbeckman@creativesun.com - (U.S.) 305-281-8701
Creative Sun Inc., Publishing for the Internet - http://www.creativesun.com

Far better it is to dare mighty things, to win glorious triumphs, even
though checkered by failure, than to take rank with those poor spirits who
neither enjoy nor suffer much, because they live in the gray twilight that
knows neither victory nor defeat. -- Theodore Roosevelt


Re: Persistent workdir... how?

Posted by James Todd <jw...@pacbell.net>.
at this time all context work dirs have a common base under which the
context dir name is just a url.encode on the server-port-context tuple.

the "persistency" of each is controlled by the associated
context.isWorkDirPersistent
in the server.xml file.

- james

"Zacharias J. Beckman" wrote:

> Ah, fudge. I wasn't being clear.
>
> What I _meant_ to ask was:
>
> "Is there a way to create independent workdir's for each context? If so, is
> there a way to make some of them persistent and some not?"
>
> Thanks. Better get some sleep now... ;-)
> --
> Zacharias J. Beckman - zbeckman@creativesun.com - (U.S.) 305-281-8701
> Creative Sun Inc., Publishing for the Internet - http://www.creativesun.com
>
> Far better it is to dare mighty things, to win glorious triumphs, even
> though checkered by failure, than to take rank with those poor spirits who
> neither enjoy nor suffer much, because they live in the gray twilight that
> knows neither victory nor defeat. -- Theodore Roosevelt
>
>   ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Persistent workdir... how?

Posted by "Zacharias J. Beckman" <zb...@creativesun.com>.
Ah, fudge. I wasn't being clear.

What I _meant_ to ask was:

"Is there a way to create independent workdir's for each context? If so, is
there a way to make some of them persistent and some not?"

Thanks. Better get some sleep now... ;-)
--
Zacharias J. Beckman - zbeckman@creativesun.com - (U.S.) 305-281-8701
Creative Sun Inc., Publishing for the Internet - http://www.creativesun.com

Far better it is to dare mighty things, to win glorious triumphs, even
though checkered by failure, than to take rank with those poor spirits who
neither enjoy nor suffer much, because they live in the gray twilight that
knows neither victory nor defeat. -- Theodore Roosevelt


Re: Persistent workdir... how?

Posted by James Todd <jw...@pacbell.net>.
try setting the "isWorkDirPersistent" boolean in server.xml for the
context in question to "true". the work dir persistence is managed
at the context, not the server, level.

that said, it used to work although i haven't tried it for a spell.

hope this helps,

- james

"Zacharias J. Beckman" wrote:

> Is there a way to make the Tomcat workdir persistent?
>
> How about on a site-by-site basis? (Er, well, a "context by context" basis)?
>
> --
> Zacharias J. Beckman - zbeckman@creativesun.com - (U.S.) 305-281-8701
> Creative Sun Inc., Publishing for the Internet - http://www.creativesun.com
>
> Far better it is to dare mighty things, to win glorious triumphs, even
> though checkered by failure, than to take rank with those poor spirits who
> neither enjoy nor suffer much, because they live in the gray twilight that
> knows neither victory nor defeat. -- Theodore Roosevelt
>
>   ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org