tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Connection pooling
Date Fri, 11 Jan 2008 14:37:44 GMT
> From: Andrew Hole [mailto:andremailinglist@gmail.com] 
> Subject: Re: Connection pooling
> 
> With the following configuration i get the
> error:DatasourceConnectionProvider - Could not find datasource:
> java:/comp/env/ehr
> <Resource name="jdbc/ehr" auth="Container"

That's because Martin gave you bad information.  As long as the names
are consistent (which they were, before you applied Martin's
suggestion), it doesn't really matter what they are.  If you change the
<Resource> name to "jdbc/ehr" then the name on the context lookup in
your webapp must change correspondingly.

 - 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


Mime
View raw message