Nope, unfortunately, didn't work.  Still get the "Resource not
found" message.

What am I missing here?

> -----Original Message-----
> From: Allen Williams [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 25, 2006 3:28 PM
> To: Tomcat Users List
> Subject: RE: More (Unending) "Resource Not Found"/ Directory Problems
> 
> 
> Ahh!  Thanks!  I found the appBase attribute in the <Host> element.
> I'm putting absolute paths in everything (of the form
> "/usr/local/tomcat/...",
> not of the form
> "http://localhost:8080/...";)
> to see if that gets it working.  The only context.xml
> file I've found is in the CATALINA_HOME/conf directory, not a META-INF
> directory.
> 
> > -----Original Message-----
> > From: Marc Farrow [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, May 25, 2006 3:18 PM
> > To: Tomcat Users List
> > Subject: Re: More (Unending) "Resource Not Found"/ Directory Problems
> > 
> > 
> > the appBase is an attribute that is defined in your server.xml.  
> > By default
> > it is your TOMCAT_HOME/WEBAPPS folder.
> > 
> > On 5/25/06, Allen Williams <[EMAIL PROTECTED]> wrote:
> > >
> > > I will take your advice and figure out how to use META-INF/context.xml
> > > as soon as I get back to where I was (I wondered what that META-INF
> > > directory was for;-). Are the absolute paths like
> > > "http://localhost:8080/smsinfo";
> > > or like "/usr/local/tomcat/webapps/smsinfo"?  This has always been a
> > > point of confusion for me.
> > >
> > > Also, I assume by docBase you mean the docbase attribute in 
> the Context
> > > element.
> > > What do you mean by appBase?
> > >
> > > TIA
> > >
> > > > -----Original Message-----
> > > > From: Hassan Schroeder [mailto:[EMAIL PROTECTED]
> > > > Sent: Thursday, May 25, 2006 11:45 AM
> > > > To: Tomcat Users List
> > > > Subject: Re: More (Unending) "Resource Not Found"/ 
> Directory Problems
> > > >
> > > >
> > > > On 5/25/06, Allen Williams <[EMAIL PROTECTED]> wrote:
> > > >
> > > > > I added this to the server.xml file:
> > > > >
> > > > >       <Host name="localhost" appBase="webapps"
> > > > >        unpackWARs="true" autoDeploy="true"
> > > > >        xmlValidation="false" xmlNamespaceAware="false">
> > > > >
> > > > > <!-- This is what I added; note above, it is contained withing
> > > > the localhost
> > > > > elements -->
> > > > >         <Context path="/smsinfo" docbase="smsinfo"
> > > > >                  debug="5" reloadable="true" />
> > > >
> > > > > What's wrong here, and can someone help me with this immediate
> > > problem?
> > > >
> > > > 1) putting context configuration in server.xml is 
> > discouraged; you'd be
> > > >     well off to get used to using META-INF/context.xml early 
> > :-)  but --
> > > > 2) when troubleshooting a problem like this, especially if 
> you've been
> > > >      moving things around,  try using *absolute paths* for 
> appBase and
> > > >      docBase so you *know* there's no ambiguity.
> > > >
> > > > > Is there some definitive guide to how the hell you're supposed
> > > > to organize a
> > > > > directory structure with multiple applications?
> > > >
> > > > Exactly as you have it, as proven by the fact that the ROOT 
> > and example
> > > > contexts work -- it's your context config that's causing 
> your problem.
> > > >
> > > > HTH!
> > > > --
> > > > Hassan Schroeder ------------------------ [EMAIL PROTECTED]
> > > >
> > > > 
> ---------------------------------------------------------------------
> > > > To start a new topic, e-mail: users@tomcat.apache.org
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To start a new topic, e-mail: users@tomcat.apache.org
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > 
> > 
> > -- 
> > Marc Farrow
> > 
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to