tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kohanm <kohan.mass...@gmail.com>
Subject Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5
Date Thu, 24 Jul 2008 15:49:44 GMT
Thanks for your replay.
When  I sent the email it generated asterisks. In the context there is not
any asteriske. I do not use them. The Catalina directory name was a typo
too.

I removed the  path and docBase attributes like this:
<Context  path="" docBase=""
      debug="5" reloadable="true" crossContext="true">
**

still  does not work: (*The requested resource (/webapplication/welcome.do)
is not available.)*

Thanks,

MK

On 7/24/08, Caldarale, Charles R <Chuck.Caldarale@unisys.com> wrote:
>
> > From: kohanm <kohan.massoud@gmail.com>
> > Subject: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5
> >
> > If I change the directory name Tomcat5.5/webapps/*booking*
> > to the *webapplication,* the server works fine.
>
> Which is how it's supposed to work.  The URI path to the webapp is
> determined by the name of the webapp's directory or .war file.
>
> > The content of context xml file on
> > Tomcat5.5/conf/localhost/*webapplication.xml*:
>
> I'll presume the above is a typo, and should really be
> Tomcat5.5/conf/Catalina/localhost/webapplication.xml
>
> (BTW, putting asterisks in what should be verbatim configuration text only
> confuses things.)



 * *


> <Context path="/*webapplication*" docBase="*booking*"
>
> The path attribute is not allowed for this <Context> element, and the
> docBase setting conflicts with the name of the .xml file.  At best you'll be
> getting double deployment, but the behavior can not be guaranteed to be
> consistent across different Tomcat levels.
>
> Change the name of the deployment directory to webapplication, remove the
> path and docBase attributes, and it all should work.
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
Massoud

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message