>>>> 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.
You're making my point precisely about why I don't upgrade every time a new release comes out. Yes..... I'm someone who 'blindly copies' a config file, bad idea or not.... I've got a major environment that works and is in critical business path production for my client. I guess I'm supposed to take a blank piece of paper or some canned template and re-create my entire configuration from scratch each time I upgrade the server code. But I'm going to have a tough time explaining the down time to my client while I debug and try to get the brand new config file back up and running and researching, for example, why <logger> went away in the new release and what I need to do to replace the functionality that worked in an earlier release. This process may work for some users. But it would put me out of business. This is why I'm on 7.0.27 and, sadly, will probably not be moving soon. Are there any config file migration tools available? On Thu, Jan 30, 2014 at 1:27 PM, Jerry Malcolm <2ndgenfi...@gmail.com> wrote: > Thanks, Chris. I'll make that change. > > Regarding upgrading to the latest version, I know there are tons of > bug fixes and improvements in each version update. But my paranoia > sets in, and I tend to get into the "if it ain't broke, don't fix it" > mode fearing that there's been some tweak in the latest version > that'll break something that currently works. Other than bug fixes > and possibly improved stability, is there anything in 7.0.50 that is > an absolute must-have? I'm willing to take the risk of upgrading if > there is a justifiable advantage to moving up. > > On Thu, Jan 30, 2014 at 1:10 PM, Christopher Schultz > <ch...@christopherschultz.net> wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA256 >> >> Jerry, >> >> On 1/30/14, 2:06 PM, Jerry Malcolm wrote: >>> Hi Christopher, >>> >>> I don't use a WAR. Everything is static (folder structure is >>> already set up in docRoot folder). The WEB-INF folder is in the >>> root. >> >> You should probably switch deployment strategies. It will save you >> headaches in the long-run. >> >>> Server.xml: >>> >>> <Host name="aaaaaa.bbbbbb.net" debug="0" >>> appBase="c:\domains\aaaaaa.bbbbbb.net" unpackWARs="true" > <Valve >>> className="org.apache.catalina.authenticator.SingleSignOn" >>> debug="0" /> <Valve >>> className="org.apache.catalina.valves.AccessLogValve" >>> directory="logs" prefix="staging_access." suffix=".log" >>> pattern="common" /> <Logger >>> className="org.apache.catalina.logger.FileLogger" >>> directory="c:\domains\aaaaaa.bbbbbb.net/logs " prefix="sa" >>> suffix=".txt" timestamp="true" /> >>> >>> <Context path="/manager" privileged="true" >>> docBase="c:\Tomcat7\webapps\manager" /> >>> >>> <Context path="/" docBase="" debug="0" reloadable="true" >>> crossContext="true" /> </Host> >> >> The <Context> path is incorrect. For the root context, you want to use >> path="" not path="/". >> >>> Server: Apache Tomcat/7.0.27 >> >> You should seriously consider upgrading to a later version (current it >> Tomcat 7.0.50). >> >> - -chris >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1 >> Comment: GPGTools - http://gpgtools.org >> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ >> >> iQIcBAEBCAAGBQJS6qOKAAoJEBzwKT+lPKRYtlkP/1tVSDaiGBMa4n4mWXOSCAIK >> N/csRS1/RtiGEVyw4ApTLIrSx6yd70P0OafFWPKyFVZJUNQf1CtitWOOCb1ER8po >> pFXKid47Trg17E1UIV8fIHfF8LtgoU9jpDnG4kO1Xh2VkekSvqqFfHtWaKk/eIgF >> gQwpCz5rKD67lAnOpQmL7OG2LNrzcplyv6MwjfFP7emTvTIZFVSK8OUiYXQi9Loo >> QoHPMM+nLYWoD9Gt4XgoooWUe5rdPJt67y7wBEIEPwZsvz0s1MEm1MMySPg12M28 >> v2kYzFDhtI9MPwc4QnHMjqZihfiVe8XayLZTearDt04UNgElAh30RdfExbpTThoj >> fcFbe7yQlacvooccxEwoD5KX2pSZpdG3wdsKEwncPEDbSob8K7EMR+IhMq+t0vif >> l00q7Ztcfue27Kuwc5nvhx7ty+EIbuKd5E+BJkjb3jGE5PK4XR8rWbOxjMFbmQUK >> VNIPIryfZd/Vdk3PkrMZcJJhMLxByS1R1rTBjd7lch4hajcTlTaK7uEXKC7iWmbY >> h5sVachHBYLBAE/fxyIe0NCi++Xx7z49pZvK9jMurgrnae1VG6S39TzP8SD9tcEs >> 82yId53HS9awTmySdi77qjLNt6hhRkRLH9ousPanOVjBh2FFKwNT0WVqst4bJ8cs >> IknyXW7cNJNJmY7OD76r >> =gDQx >> -----END PGP SIGNATURE----- >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org