Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] WebInfConfiguration.resolvTempDirectory


You're right. For good measure, here's the wiki page about it:

We have been tossing around the whole "work" directory concept lately.
IIRC it is historical, and I think might be something that Tomcat originally

You might like to raise a bugzilla for this, and suggest the behaviour
that you would like, and that will give us developers something to
focus on:


On 18 October 2011 00:31, <jetty-users@xxxxxxxxxxxxxx> wrote:
Hi folks

I'm using Jetty7 embedded.  One of my users ran the hosting program in
his home directory, which happened to have a subdirectory named
"work."  Jetty extracted the war into that directory instead of using
/tmp as it usually does.  The caused mysterious problems when we
upgraded the program.  The user ran the program again in his home dir,
and ended up running the older servlets.

According to the javadoc for WebInfConfiguration.resolvTempDirectory,
this is expected behavior, but I wonder if there's a way to force
Jetty to ignore the user's "work" directory?  I want the behavior of
placing the war in $(, and that of deleting that dir's
contents on exiting and deployment.  Setting an explicit directory
would not give me that, if I am reading the javadoc correctly.


 -- Guy Hillyer
jetty-users mailing list

Back to the top