Return-Path: Delivered-To: apmail-roller-user-archive@www.apache.org Received: (qmail 33596 invoked from network); 11 Feb 2008 21:42:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2008 21:42:56 -0000 Received: (qmail 71589 invoked by uid 500); 11 Feb 2008 21:42:48 -0000 Delivered-To: apmail-roller-user-archive@roller.apache.org Received: (qmail 71558 invoked by uid 500); 11 Feb 2008 21:42:48 -0000 Mailing-List: contact user-help@roller.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@roller.apache.org Delivered-To: mailing list user@roller.apache.org Received: (qmail 71420 invoked by uid 99); 11 Feb 2008 21:42:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 13:42:48 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of snoopdave@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 21:42:17 +0000 Received: by ug-out-1314.google.com with SMTP id k40so382723ugc.18 for ; Mon, 11 Feb 2008 13:42:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=myaM6lLTkTEs4GEZJ0kCTw5UOf4c9EAQK5rjSgvYBP4=; b=k+K5hjmEvVxzBDI3pYy6PQs2YckZOx2dLR9Pj5PSXzA2N/pxQ02GHmzKEMKLQwCl2qiLU2VnLEs58vE67lQkB76GOPXNOsnS76jaJZ7+BeJX4FmOEZjm0G9kPgAgPDHXXVObxOQlWUySyWzCyPC1bml8K/CmQ0hLA7nugUW9hvU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=P3lwUUlNBZYd0DaxauBUm86UkVciTn+btjttmavxbzE9cnhWMnp2R07Z3uZZGToAPfxokKHstp3ljQJpSgwkTB5vgvx8MZk5sKxQXCQipfx8383m1hY6hQMk8uuT++gB8WCfjAjqaX3Rzue0F59+PzqR2bdc2gEz001GH2DX5tg= Received: by 10.150.202.17 with SMTP id z17mr170674ybf.139.1202766142963; Mon, 11 Feb 2008 13:42:22 -0800 (PST) Received: by 10.150.155.19 with HTTP; Mon, 11 Feb 2008 13:42:22 -0800 (PST) Message-ID: <8fb9ac720802111342m10626c16sf82f2fcf47cf64f6@mail.gmail.com> Date: Mon, 11 Feb 2008 16:42:22 -0500 From: Dave To: user@roller.apache.org Subject: Oracle connection URL issue? (was Re: Error filterStart?) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org On Feb 11, 2008 1:58 PM, Timothy Mizas wrote: > In roller.log I get RollerContext:upgradeDatabaseIfNeeded - > org.apache.commons.dbcp.SQLNestedException: > Cannot create JDBC driver of class '' for connect URL 'null' That Tomcat error message basically means that there is something wrong with your database configuration, i.e. the JDBC jar is in the wrong place, the connection URL is wrong, the driver class name is wrong, etc. > I'm connecting to Oracle9i and my classes12.jar is in common/lib. My roller-custom.properties file is found and loaded. I have a roller.xml file in conf/Standalone/hostname/ which is where my tomcat looks for contexts, that looks like That all sounds good. > docBase="/path-to/roller" debug="0"> > > connectionProperties="autoReconnect=true&useUnicode=true&characterEncoding=utf-8&mysqlEncoding=utf8" > driverClassName="oracle.jdbc.driver.OracleDriver" > maxActive="50" > maxIdle="3" > maxWait="3000" > name="jdbc/rollerdb" > password="passwrd" > removeAbandoned="true" > type="javax.sql.DataSource" > url="jdbc:oracle:thin:@dburl" > username="username"/> > I don't think I've ever seen the connectionProperties attribute before. And it looks like you are putting the MySQL connection properties in there, that can't be right. Any Oracle users out there want to offer some connection URL advice to Mr. Mizas? - Dave