Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 14843 invoked by uid 99); 1 Sep 2004 07:07:37 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [217.76.146.205] (HELO smtp-01.servidoresdns.net) (217.76.146.205) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Sep 2004 00:07:36 -0700 Received: from pedro1 (unknown [80.28.250.140]) by smtp-01.servidoresdns.net (Postfix) with SMTP id C458735DCB7 for ; Wed, 1 Sep 2004 09:07:30 +0200 (CEST) From: "Pedro Nevado" To: "Cactus Users List" Subject: RE: Context Help w/ Tomcat5 Date: Wed, 1 Sep 2004 09:02:19 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal In-Reply-To: X-Virus-Checked: Checked Hi, Check Tomcat users list. There is a bug with version 5.0.27 with the META-INF/context.xml files in deployed wars. I do not know about other versions. Pedro Nevado -----Mensaje original----- De: Hookom, Jacob [mailto:Jacob.Hookom@redline.mckhboc.com] Enviado el: martes, 31 de agosto de 2004 22:45 Para: 'cactus-user@jakarta.apache.org' Asunto: Context Help w/ Tomcat5 Hello All, We are setting up Cactus for a new project. We had previously successfully integrated Cactus on another project using the runatserver task with ant. With the new project, we are attempting to use the cactus task to run our test cases. The problem we are having is getting the DataSource to work where it doesn't seem to be finding the context.xml we've placed in the META-INF of the war. ... 'test-webapp' matches the war name of 'test-webapp.war' that is configured with ant via: &tests; I've run a single test case where I check the driver class to be resolved via Class.forName(..) which is successful. But when I try to grab a connection from a DataSource, I get the exception: Cannot create JDBC driver of class '' for connect URL 'null' The context.xml is used in other deployments successfully, we just can't get things to work in Cactus. If anyone can offer any suggestions it would be greatly appreciated, thanks... Jacob Hookom Senior Analyst/Programmer McKesson Medical-Surgical, Minnesota --------------------------------------------------------------------- To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: cactus-user-help@jakarta.apache.org