Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 91820 invoked from network); 8 Feb 2005 09:53:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Feb 2005 09:53:30 -0000 Received: (qmail 83757 invoked by uid 500); 8 Feb 2005 09:53:13 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 83733 invoked by uid 500); 8 Feb 2005 09:53:13 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 83719 invoked by uid 99); 8 Feb 2005 09:53:13 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of mario.bittermann@gmx.at designates 213.165.64.20 as permitted sender) Received: from pop.gmx.de (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 08 Feb 2005 01:53:12 -0800 Received: (qmail 30523 invoked by uid 0); 8 Feb 2005 09:53:09 -0000 Received: from 193.186.185.102 by www16.gmx.net with HTTP; Tue, 8 Feb 2005 10:53:09 +0100 (MET) Date: Tue, 8 Feb 2005 10:53:09 +0100 (MET) From: "Mario Bittermann" To: tomcat-user@jakarta.apache.org MIME-Version: 1.0 Subject: Problem configure Datasource on Tomcat 4 X-Priority: 3 (Normal) X-Authenticated: #9563421 Message-ID: <2391.1107856389@www16.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I tried to configure datasource as described in the How-To manual on tomcat 4, but it doesn�t work. I found two ways to define a datasource and work with it: On tomcat 4.1.24: 1. Define context-entry in server.xml for my application with resource entry for datasource. 2. Define resource-ref in web.xml of my application. Not a good way, because i cannot change my datasource via admin-console. I have to edit server.xml file with editor and my server have to be restarted. On tomcat 4.1.31: Define datasource via admin-console and then edit server.xml and generate content-entry with resource-link entry. Its also poor because i also have to restart my server. Is there a way to define datasource via admin-console and generate an entry in my web.xml to get a connect to datasource? Mario -- Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org