-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Don,
On 4/22/20 09:12, Clough, Don wrote: > Thanks for all the feedback! I will continue to debug why our > particular installation hangs when I remove the ROOT. I was able to > do this on a fresh installation on my local machine. Take some thread dumps to find out what's happening. Wild guess without any other information: you are out of entropy, and you'll find that either TLS initialization or session-manager initialization is where things hang-up. (This will have nothing to do with the presence of the ROOT web app). - -chris > -----Original Message----- From: Christopher Schultz > <ch...@christopherschultz.net> Sent: Tuesday, April 21, 2020 6:33 > PM To: users@tomcat.apache.org Subject: Re: [OT] Removing Tomcat > ROOT directory causes the server to hang on startup > > Don, > > On 4/21/20 09:20, Clough, Don wrote: >> 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. > This is a good idea. But it's also a good idea to have a ROOT web > application. It just doesn't have to be (and shouldn't be!) the > default Tomcat root web application. > > Why? > > Well, if you navigate to /doesnotexist.html or > /does/not/exist.html, unless your application is ROOT or happens to > be mounted on "/does", Tomcat has no application to "assign" the > request to, so it MUST generate a generic error message. > > If you want to be able to handle all possible 404 responses with a > nice, application-branded "not found" page, you'll need to roll a > ROOT web application which has just some basic configuration for > things like errors, and the pages which will be returned when you > get those errors. > > -chris > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > 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. > -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl6gWkoACgkQHPApP6U8 pFjuHQ/8DMMu5QK9+RuOzxfTV8mTEltNjwC30HoK+jlWWUTMevPDEoa8h5NNZVUK FdIPaI5eSYqpkdv9WEFZoY9ANhclClfTSHoGSl823qCjrR/D0lHi9p6hVPgWTN3a F2FjgkkO/d7rFexZCJO0poE5BXyPKfMUePP6KPE99MB+GFJ+oPFBA7UDbyv2L0Ev 4PShWSVpps5eTLB05DZoOdM3qIhXgoqwn4a5cG8DixE3jPQsTVtyYF91b3YgH34g YkY0j7F80EiCdYRM4QggxOvpqwrMGsNdtlT6kyU+mixZvD2PV5Yblex1yG0cHim4 uoa2/Jo//I5nVQupAuImjnDZ4476131l7yY4HvgcmG4VqheUn4FwxhdrK4b+019K xYk6QcpUuY+e4MFhB3xe0Qa227C8Qk2rlZGGYpwrO/P2BAuSJcjwoqUOJ/WAsIqZ Sqh8aNsCvZO8z+aGdvawTwnLWez/zgBI0FlIvJpj16csNpc+pgYwiz0FQE5gIpo6 1NdKE03DkgaffcI2gAm2/Ofzh4jl2ce/BDWf+ENm9YP8zNJoZLbZC8ITPfISX/pw Cl5UxtMKF9lcxEiZKxYfcHKjryPlTyQLejP1qRbfbnqBx9+OPd6esFYeH5UgwqwF qBTh/urA6j6hgUWRXqKkKx0G/kZ9G9TZV3jUAPMYzZUol9kF+Vo= =8hg5 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org