Hi Fabien, The alternative is to define it in conf/context.xml (<Context docBase="/path/to/mywebapp" path="/" />and put it outside of the managed folder (webapps/ per default) or deactivate the auto deployment of webapps/ on the host.
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2016-07-25 19:05 GMT+02:00 Fabien R <[email protected]>: > Hello, > > I would like to deploy my webapp so that it is the default one on > localhost:8080 (tomEE plus 1.7.4). > > The solution I found [1] is to: > 1) clean $(CATALINA_HOME)/webapps/ROOT/* > 2) move $(CATALINA_HOME)/webapps/mywebapp/* to > $(CATALINA_HOME)/webapps/ROOT > > Isn't there a cleaner way to do that ? > > -- > Fabien > > [1] > http://wiki.apache.org/tomcat/HowTo#How_do_I_make_my_web_application_be_the_Tomcat_default_application.3F >
