up? :) Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://rmannibucau.metawerx.net/> | Old Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book <https://www.packtpub.com/application-development/java-ee-8-high-performance>
Le dim. 15 juil. 2018 à 12:12, Romain Manni-Bucau <rmannibu...@gmail.com> a écrit : > Hi guys, > > Just tested with Tomcat 9.0.10 embed and it seems the requirement is a > base directory is now arbitrary. > > To be concrete I overrided org.apache.catalina.startup.Tomcat#initBaseDir > to not mkdir the folder if it doesn't exist and I ran several apps > (including meecrowave/cdi based ones) without any issue. > > Is it possible to relax this constraint? I envision it as a toggle > settable on Tomcat instance (tomcat.setRequiresDirectories(false)). If set > it to false it would disable the mkdir and probably disable the webapp > extractions. > > Guess spring boot can benefit from it as well. > > Wdyt? > > Romain Manni-Bucau > @rmannibucau <https://twitter.com/rmannibucau> | Blog > <https://rmannibucau.metawerx.net/> | Old Blog > <http://rmannibucau.wordpress.com> | Github > <https://github.com/rmannibucau> | LinkedIn > <https://www.linkedin.com/in/rmannibucau> | Book > <https://www.packtpub.com/application-development/java-ee-8-high-performance> >