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]

Reply via email to