-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Chuck,
On 1/30/14, 2:24 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: Manager Doesn't Recognize context = "/" > >>> The WEB-INF folder is in the root. > > I don't know exactly what that means, but it's probably a big > mistake. > >> You should probably switch deployment strategies. It will save >> you headaches in the long-run. > > +1 to that. > >>> <Valve> >>> className="org.apache.catalina.authenticator.SingleSignOn" >>> debug="0" /> > > There is no debug attribute in any element of server.xml, and there > hasn't been one for years. > >>> <Logger className="org.apache.catalina.logger.FileLogger" >>> directory="c:\domains\aaaaaa.bbbbbb.net/logs " prefix="sa" >>> suffix=".txt" timestamp="true" /> > > The <Logger> element hasn't been valid in Tomcat for longer than I > can remember. This config smacks of someone blindly copying over a > very, very old setup into a more recent installation. Bad idea. > >>> <Context path="/" docBase="" debug="0" reloadable="true" >>> crossContext="true" /> > >> The <Context> path is incorrect. For the root context, you want >> to use path="" not path="/". > > Also, it is _always_ illegal to have an empty docBase. Your > default webapp must be named either ROOT.war or located in > <appBase>/ROOT (ROOT is case sensitive, even on Windows). Oh, yeah. I didn't even notice that. The OP probably has webapps/WEB-INF directory and a whole slew of security problems because Tomcat has auto-deployed all the subdirectories of webapps/ to their own separate contexts. Jerry, you really have to fix your deployment. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJS6qgMAAoJEBzwKT+lPKRYQbEQALNa9CMDhXLmS7SOrIl8sBhB +bDVZDw4P3o0H3vr2PHqzlL+LfznSFbxTNz9G0/Pcvd9Q7iugoJtgw0bwZKmlMA1 dEjDtftc4LG4mnNJHHCgPs2d8Rj9lPbEvk4znEVtRe0Ex7UpO9T7JbBgHqSsDyB8 pskD1o63jPrFK8qUR/+Z17NbomU5pf10pfzQfz/NT6P7PU1aBdv9G6PNeJCGVnun td0QFc+5qDUVdBHGHXwdYjCRqGsrZm6xTGP3Xy28CaDsnhMXgwFlKfssTKWUs3Jy bML8P6QVyV2co8nrA/nQROZkVoIAPvoWJfV1qFPcqBMpbadSlbVBxkZU2kusUHTC Hb1P8+USfdswfyj5O2D8w1NGKSu2s3ISuvL6hlaMH4Eh0oHck2DkkQy1mn+3RPMf BNgkKh3s1uMRH41J9aQcM7q2oDkiTJ5leBSBG7WxWwlA/Y6stDx25XcNMewvE2fM acLI9XFWMy/16TpK0M+y4sGXh64m0h1r+TEQuumPPXCzIAEOMXmw70hA3SngYN3c BtkDfDtWLOMl1P7CUVSfnxOlR3ToRqsQYHfP1k0lUPAGxmMGrIO1n/0qPqVlZ33l JrvZpvrrkb11XY5KIbZPV0VK4O9F7IVYPyC303b9mZwdilQenfCt16HY2KzhNkyX oKZBqMDD/H9QvYz/NJTU =cyEi -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org