You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Macari McCorry, Gerardo" <gm...@indra.es> on 2006/11/28 15:05:00 UTC

RE: javax.naming.NameNotFoundException: Name pool is not bound inthis Context

Yep I have defined as:

<resource-ref>
        <description>DB Connection</description>
        <res-ref-name>pool</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
    </resource-ref>  

-----Mensaje original-----
De: Mark Thomas [mailto:markt@apache.org]
Enviado el: martes, 28 de noviembre de 2006 13:48
Para: Tomcat Users List
Asunto: Re: javax.naming.NameNotFoundException: Name pool is not bound
inthis Context


Macari McCorry, Gerardo wrote:
> Hi all,
>  
> Problem: Trying to asociate a database pool to a local context
> Error: "javax.naming.NameNotFoundException: Name pool is not bound in this Context'"

Have you defined a <resource-ref> element in web.xml?

Mark

---------------------------------------------------------------------
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

-------------------------------------------------------------------------------------------------------------------
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgación, copia o distribución a terceros sin la previa autorización escrita de Indra. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente. POR FAVOR, ANTES DE IMPRIMIR ESTE CORREO ELECTRÓNICO CONSIDERE SU APORTACIÓN A LA CONSERVACIÓN DEL MEDIO AMBIENTE POR LA REDUCCIÓN DE CONSUMO DE PAPEL.

The information in this e-mail and in any attachments is confidential and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Indra. If you have received this communication in error, please, notify the sender by reply e-mail. PLEASE CONSIDER YOUR ENVIRONMENTAL RESPONSIBILITY BEFORE PRINTING THIS E-MAIL.

---------------------------------------------------------------------
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