Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F27057DB3 for ; Mon, 29 Aug 2011 17:21:30 +0000 (UTC) Received: (qmail 84323 invoked by uid 500); 29 Aug 2011 17:21:27 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 84142 invoked by uid 500); 29 Aug 2011 17:21:26 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 84133 invoked by uid 99); 29 Aug 2011 17:21:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 17:21:26 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,MSGID_MULTIPLE_AT,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of a.haouas@nouvellemarque.com designates 84.96.93.161 as permitted sender) Received: from [84.96.93.161] (HELO bizpsie3.9services.com) (84.96.93.161) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 17:21:19 +0000 Received: from VOSTROJBA ([80.124.153.117]) by bizpsie3.9services.com with 9services id SHLx1h0052YEDeQ04HLx4U; Mon, 29 Aug 2011 19:20:57 +0200 X-Biz3: ?? X-VRSPAM-SCORE: 0.00 From: "Alaeddine HAOUAS" To: Subject: Could not find datasource when starting tomcat Date: Mon, 29 Aug 2011 19:20:57 +0200 Message-ID: <000601cc6670$03f9e1e0$0beda5a0$@haouas@nouvellemarque.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01CC6680.C782B1E0" Content-Language: fr ------=_NextPart_000_0007_01CC6680.C782B1E0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I try to "backup" a java 1.5 web application with servlet/JSP using tomcat-6.0.20. I am having the following error when starting my tomcat in Eclipse (sysdeo plugin v3.2.1) : FATAL [main] DatasourceConnectionProvider:47 - Could not find datasource: dbName javax.naming.NameNotFoundException I have read the Context Container documentation to make a correct context file. I added a context file 'proto.xml' in conf\catalina\localhost. The file content : In the hibernate config file I have the following property : dbName Any idea how to make the datasource visible for my application ? Thanks Alaeddine ------=_NextPart_000_0007_01CC6680.C782B1E0--