Re: no temp directory creation wanted when embedding Tomcat

2019-05-04 Thread Garret Wilson
On 4/24/2019 12:01 AM, Mark Thomas wrote: If you don't want the baggage associated with a Servlet container it might be worth looking at what other solutions are available. Thanks for being forthright here, Mark. (Mark Wood also suggested the same thing separately.) Indeed I have used

Re: no temp directory creation wanted when embedding Tomcat

2019-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Garret, On 4/23/19 16:46, Garret Wilson wrote: > On 4/22/2019 7:58 AM, Mark Thomas wrote: >> On 21/04/2019 15:53, Garret Wilson wrote: >>> … But now I realize Tomcat is creating this directory structur >>> inside the "base dir" I specified: >>>

Re: no temp directory creation wanted when embedding Tomcat

2019-04-24 Thread Mark H. Wood
It seems to me that the problem may be, that you are trying to use Tomcat but cut away most of its raison d'etre. Asking Google for "embedded web server java" will give you a lot of other possibilities to explore, some of them extremely simple. -- Mark H. Wood Lead Technology Analyst

Re: no temp directory creation wanted when embedding Tomcat

2019-04-24 Thread Mark Thomas
On 23/04/2019 21:46, Garret Wilson wrote: > On 4/22/2019 7:58 AM, Mark Thomas wrote: >> On 21/04/2019 15:53, Garret Wilson wrote: >>> … >>> But now I realize Tomcat is creating this directory structur inside the >>> "base dir" I specified: >>> >>> tomcat.8080/work/Tomcat/localhost/ROOT >>> >>> I

Re: no temp directory creation wanted when embedding Tomcat

2019-04-23 Thread Garret Wilson
On 4/23/2019 5:46 PM, Garret Wilson wrote: 3. Since the temporary working directory is on a per-context basis, and I've only set the "basedir" for the entire `Tomcat` instance, Tomcat must be determining a default temporary directory for the context. Surely I'm allowed to explicitly specify a

Re: no temp directory creation wanted when embedding Tomcat

2019-04-23 Thread Garret Wilson
On 4/22/2019 7:58 AM, Mark Thomas wrote: On 21/04/2019 15:53, Garret Wilson wrote: … But now I realize Tomcat is creating this directory structur inside the "base dir" I specified: tomcat.8080/work/Tomcat/localhost/ROOT I don't need this directory. I don't want this directory created. How do

Re: no temp directory creation wanted when embedding Tomcat

2019-04-22 Thread Mark Thomas
On 22/04/2019 14:37, Christopher Schultz wrote: > Garret, > > On 4/22/19 09:36, Christopher Schultz wrote: >> Mark, > >> On 4/22/19 06:58, Mark Thomas wrote: >>> On 21/04/2019 15:53, Garret Wilson wrote: As I mentioned in other emails, I am embedding Tomcat 9 (with OpenJDK 11 on

Re: no temp directory creation wanted when embedding Tomcat

2019-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Garret, On 4/22/19 09:36, Christopher Schultz wrote: > Mark, > > On 4/22/19 06:58, Mark Thomas wrote: >> On 21/04/2019 15:53, Garret Wilson wrote: >>> As I mentioned in other emails, I am embedding Tomcat 9 (with >>> OpenJDK 11 on Windows 10) to

Re: no temp directory creation wanted when embedding Tomcat

2019-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 4/22/19 06:58, Mark Thomas wrote: > On 21/04/2019 15:53, Garret Wilson wrote: >> As I mentioned in other emails, I am embedding Tomcat 9 (with >> OpenJDK 11 on Windows 10) to serve static files from `/foo/bar`. >> Currently I'm not

Re: no temp directory creation wanted when embedding Tomcat

2019-04-22 Thread Mark Thomas
On 21/04/2019 15:53, Garret Wilson wrote: > As I mentioned in other emails, I am embedding Tomcat 9 (with OpenJDK 11 > on Windows 10) to serve static files from `/foo/bar`. Currently I'm not > supporting Java webapps. I'm not supporting JSP. I just want to serve > static files. > > From your help

no temp directory creation wanted when embedding Tomcat

2019-04-21 Thread Garret Wilson
As I mentioned in other emails, I am embedding Tomcat 9 (with OpenJDK 11 on Windows 10) to serve static files from `/foo/bar`. Currently I'm not supporting Java webapps. I'm not supporting JSP. I just want to serve static files. From your help in another thread, I called the magic