Good Morning,

Tomcat version 8.5.15


Is it possible to remove the tomcat ROOT directory? We have several 
applications running on a tomcat instance. I was asked to clean the webapps 
directory up and remove any unused folders. I removed manager host-manager docs 
examples Everything is fine, as I expected. I looked at the ROOT folder an 
there are images, a couple of jsp pages and a WEB-INF directory. None of these 
are used by our applications, so I removed the ROOT directory. Now the server 
hangs on startup and my applications don't start. Can the ROOT directory be 
removed? It appears that according to the Apache docs it is optional:

"The ROOT web application presents a very low security risk but it does include 
the version of Tomcat that is being used. The ROOT web application should 
normally be removed from a publicly accessible Tomcat instance, not for 
security reasons, but so that a more appropriate default page is shown to 
users."

I tried leaving just an empty ROOT directory, but it still hangs. Is there a 
configuration that I'm missing somewhere that could be looking for the ROOT 
directory?


Thanks,

Don


Don Clough | Java Developer
National Association of State Workforce Agencies
444 North Capitol St., NW | Suite 142 | Washington, DC 20001
E dclo...@naswa.org<mailto:dclo...@naswa.org>| W 
naswa.org<http://www.naswa.org/>

[naswa]
[naswa2]<https://twitter.com/NASWAORG>  [naswa3] 
<https://www.linkedin.com/company/national-asociation-of-state-workforce-agencies>
   [naswa4] <https://www.facebook.com/NASWAorg/>

Disclaimer

The information contained in this communication from the sender is 
confidential. It is intended solely for use by the recipient and others 
authorized to receive it. If you are not the recipient, you are hereby notified 
that any disclosure, copying, distribution or taking action in relation of the 
contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been 
automatically archived by Mimecast Ltd, an innovator in Software as a Service 
(SaaS) for business. Providing a safer and more useful place for your human 
generated data. Specializing in; Security, archiving and compliance. To find 
out more visit the Mimecast website.

Reply via email to