Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 42096 invoked from network); 22 May 2006 19:41:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 May 2006 19:41:23 -0000 Received: (qmail 27331 invoked by uid 500); 22 May 2006 19:41:22 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 27295 invoked by uid 500); 22 May 2006 19:41:22 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 27284 invoked by uid 99); 22 May 2006 19:41:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 May 2006 12:41:21 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of aaronmevans@gmail.com designates 64.233.184.225 as permitted sender) Received: from [64.233.184.225] (HELO wr-out-0506.google.com) (64.233.184.225) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 May 2006 12:41:21 -0700 Received: by wr-out-0506.google.com with SMTP id i13so1172262wra for ; Mon, 22 May 2006 12:41:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bFfP0gMlOkyvPRbm2vICoDsz97+27dGaVC1PdBVDRmI1AHNfTOIe+hv5eTHN5P6wcNubGC9aSi7el+5kmo2uP0RtU1XsonUo8Fv9/57QYr0Y8PXcyvgW5qECevXiA4hAgEhZtynctQ8/kcj5TNeyZrIR7SBRSdGvZNkSp5thkC8= Received: by 10.54.94.14 with SMTP id r14mr1930424wrb; Mon, 22 May 2006 12:41:00 -0700 (PDT) Received: by 10.54.104.10 with HTTP; Mon, 22 May 2006 12:41:00 -0700 (PDT) Message-ID: Date: Mon, 22 May 2006 15:41:00 -0400 From: "Aaron Evans" To: "Jetspeed Developers List" Subject: Re: I also got the exception while start tomcat server In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Yes, it is the tomcat version. You probably did not specify your tomcat version properly in your build.properties (you should have specified 5.5). On 5/21/06, Yanhua Li wrote: > It works!!! Though it's very strange. > > I changed the file \conf\Catalina\localhost\jetspeed.xml: > > The original (error) (auto-generated) version has the section: > > -------------------------------------------------------------------------= ------------------- > > > > factory > org.apache.commons.dbcp.BasicDataSourceFactory > > > > > maxActive > 100 > > > > > maxIdle > 30 > > > > > maxWait > 10000 > > > > > username > hilda > > > password > hilda > > > > > driverClassName > com.mysql.jdbc.Driver > > > > > url > jdbc:mysql://127.0.0.1:3306/jtspd > > > -------------------------------------------------------------------------= ------------------- > > And when I change them to the following format, the tomcat can startup > successfully. Is this related to the tomcat version? I'm using tomcat 5.5= .15 > . > > -------------------------------------------------------------------------= ------------------- > factory=3D"org.apache.commons.dbcp.BasicDataSourceFactory" > type=3D"javax.sql.DataSource" username=3D"hilda" password=3D"= hilda" > driverClassName=3D"com.mysql.jdbc.Driver" > url=3D"jdbc:mysql://localhost:3306/jtspd" > maxActive=3D"100" maxIdle=3D"30" maxWait=3D"10000"/> > -------------------------------------------------------------------------= ------------------- > > -hilda > > --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-dev-help@portals.apache.org