Programming Tips - Jetty: set temporary directory

Date: 2021sep14 Product: Jetty OS: Windows Keywords: Storage Sense, StorageSense, tmpwatcher Q. Jetty: set temporary directory A. I know of three ways. 1. For Jetty 8 and 9 you can set it in the context file
... <Configure class="org.eclipse.jetty.webapp.WebAppContext"> ... <Set name="tempDirectory">c:\mycustomtmp</Set> </Configure> ...
2. You can set it in the start.ini file by adding
...\mycustomtmp ...
3. If you have a .bat file to install it with prunsrv, add something like this to the command line\mycustomtmp
More info