tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Laughton <jlaug...@cisco.com>
Subject RE: apache virtual hosting + server.xml + context
Date Wed, 12 Oct 2005 22:27:00 GMT
yes you need to have a unique path

Also in the doc base, tomcat expects to see WEB-INF/web.xml

ie
/var/www/html/aaa/WEB-INF/web.xml

John


At 04:14 PM 10/12/2005 -0500, Caldarale, Charles R wrote:
> > From: sudip shrestha [mailto:sudipx@gmail.com]
> > Subject: Re: apache virtual hosting + server.xml + context
> >
> > We are having the similar problem,
> > but if we place context in server.xml, ( I also have a
> > META-INF/context.xml
> > ) and as we are using dbcp connection pool, and it seems that tomcat
> > initializes those pool twice....
>
>Which is exactly as it's defined to work.  You should only have one
>instance for each unique <Context> element, otherwise you will get
>multiple deployments and corresponding initializations.
>
>  - 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 unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

*****************************************
   John Laughton,            Cisco Systems
   (john.laughton@cisco.com)
   408.902.3592 (voicemail and fax)
   page - 1 800 365 4578
*****************************************

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