Gents,

Our application sets up jetty programmatically.
Now what it did was:
mWapContext.getServletContext().setAttribute("javax.servlet.context.tempdir", 
new File(System.getProperty("java.io.tmpdir")));

But this way quite a few jetty-code paths are unaware of this directory.
Also all other contexts picked up by WebAppProvider would not know the 
temp-folder.

We use Jetty 9.0.3 with settings:
java.io.tmpdir: C:\Users\<user>\AppData\Local\Temp
java.home     : c:\<app folder>\jre\jre
jetty.home    :

* What is the way to let all contexts connected to Jetty by default point to a 
single temp folder(not the OS-default temp folder)?
   There's a separate jetty document about temp folders, but for some reason it 
doesn't click with what calls I need to perform.

* Also, Jetty-home is empty. What folder should it be pointing to?

Kind regards,
Roland

_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to