Howdy, >Oh wow found out what happend. >Tomcat created the conf/Tomcat-Standalone/parks.com/.xml >due to my earlier server.xml changes >I just went back in to my conf dir and deleted the Tomcat-Standalone >directory >and then proceed to restart tomcat. >guess what that worked. Could that be a bug? or is that by design? > >Thanks Yoav for showing me the better way of pathing.
Glad to help. The behavior is by design but it might be a bit harsh for new users. Yoav Shapira > >Thanks, >Daniel Schulken > > >----- Original Message ----- >From: <[EMAIL PROTECTED]> >To: "Tomcat Users List" <[EMAIL PROTECTED]> >Sent: Friday, December 19, 2003 3:13 PM >Subject: Re: Odd problem with pathing for appbase and docbase > > >I've tried both ways and i am still getting the same error that it cannot >find the web.xml. >So I tried >appbase ="/home/parks" >docbase = "htdocs" > >appbase ="/home/parks/htdocs" >docbase = "." > >So im still getting this message >INFO: Processing Context configuration file URL >file:/usr/local/jakarta-tomcat-5.0.16/conf/Tomcat-Standalone/parks.com/ .xml >Dec 19, 2003 2:04:46 PM org.apache.catalina.startup.ContextConfig >applicationConfig >INFO: Missing application web.xml, using defaults only >StandardEngine[Tomcat- >Standalone].StandardHost[standrewsparks.com].StandardC >ontext[/] > > >I dont understand why its even looking at this directory >:/usr/local/jakarta-tomcat-5.0.16/conf/Tomcat-Standalone/parks.com > >When i think it should be looking at /home/parks/htdocs/WEB-INF/web.xml >Is the way i am thinking correct? > > >----- Original Message ----- >From: "Shapira, Yoav" <[EMAIL PROTECTED]> >To: "Tomcat Users List" <[EMAIL PROTECTED]> >Sent: Friday, December 19, 2003 2:40 PM >Subject: RE: Odd problem with pathing for appbase and docbase > > > >Howdy, > >>Its located at /home/parks/htdocs/WEB-INF/web.xml > >>and here is my config for the server.xml > > >><Host name="parks.com" debug="0" appBase="/home/parks/htdocs" >><Context path="" docBase="/" debug="0"/> > >Consider using appBase="/home/parks" and docBase="htdocs". docBase is >relative to appBase or absolute. docBase="/" is the simple absolute >root directory, which is not what you want. An alternative might be >appBase="/home/parks/htdocs" docBase=".". But I prefer my first >suggestion. > >Yoav Shapira > > > > >This e-mail, including any attachments, is a confidential business >communication, and may contain information that is confidential, >proprietary >and/or privileged. This e-mail is intended only for the individual(s) to >whom it is addressed, and may not be saved, copied, printed, disclosed or >used by anyone else. If you are not the(an) intended recipient, please >immediately delete this e-mail from your computer system and notify the >sender. Thank you. > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.553 / Virus Database: 345 - Release Date: 12/18/2003 > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]