Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: apache virtual hosting + server.xml + context

Caldarale, Charles R

2005-10-12


> From: sudip shrestha [mailto:sudipx@(protected)]
> 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@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.