Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 769 invoked from network); 9 Sep 2004 18:28:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Sep 2004 18:28:40 -0000 Received: (qmail 84811 invoked by uid 500); 9 Sep 2004 18:28:02 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 84635 invoked by uid 500); 9 Sep 2004 18:27:59 -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 84445 invoked by uid 99); 9 Sep 2004 18:27:57 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [206.190.39.144] (HELO web52606.mail.yahoo.com) (206.190.39.144) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 09 Sep 2004 11:27:56 -0700 Message-ID: <20040909182753.87021.qmail@web52606.mail.yahoo.com> Received: from [12.109.33.254] by web52606.mail.yahoo.com via HTTP; Thu, 09 Sep 2004 11:27:53 PDT Date: Thu, 9 Sep 2004 11:27:53 -0700 (PDT) From: Caroline Jen Subject: RE: Tomcat & Connection Pool To: Tomcat Users List In-Reply-To: <9C5166762F311146951505C6790A9CF80229C093@US-VS1.corp.mpi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I removed the opening and closing tag and inserted the following code inside the element of the C:\jakarta-tomcat-5.0.27\conf\server.xml file (right before the closing tag). The Tomcat can be started again. Is it the correct way of configuring Tomcat for using connection pool? code: ---------------------------------------------------- factory org.apache.commons.dbcp.BasicDataSourceFactory maxWait 5000 maxActive 20 password cmis001 url jdbc:oracle:thin:@172.19.47.22:1521:devora2 driverClassName oracle.jdbc.driver.OracleDriver maxIdle 10 username cmis removeAbandoned true removeAbandonedTimeout 60 logAbandoned true -------------------------------------------------- --- "Shapira, Yoav" wrote: > > Hi, > No, I mean a element with no docBase and > path attributes is > cruising for a bruising at best. > > Yoav Shapira > Millennium Research Informatics > > > >-----Original Message----- > >From: Caroline Jen [mailto:jiapei_jen@yahoo.com] > >Sent: Thursday, September 09, 2004 9:17 AM > >To: Tomcat Users List > >Subject: RE: Tomcat & Connection Pool > > > >I do not quite understand the message "A > >element will not get you far, no matter what its > >contents. But let's assume you actually have a > >docBase and path at least, and just typed > shorthand." > > > >Do you mean that I should delete the open and > closing > > tag? > > > >--- "Shapira, Yoav" wrote: > > > >> > >> Hi, > >> A element will not get you far, no > matter > >> what its contents. > >> But let's assume you actually have a docBase and > >> path at least, and just > >> typed shorthand. > >> > >> When you can't start tomcat, look at the logs. > They > >> will have error > >> messages that tell you what's wrong. > >> > >> Yoav Shapira > >> Millennium Research Informatics > >> > >> > >> >-----Original Message----- > >> >From: Caroline Jen [mailto:jiapei_jen@yahoo.com] > >> >Sent: Wednesday, September 08, 2004 5:26 PM > >> >To: tomcat-user@jakarta.apache.org > >> >Subject: Tomcat & Connection Pool > >> > > >> >I do not know what is going on. I am using the > >> Tomcat > >> >5.0.27 in the Windows XP environment. > >> > > >> >I insert the following code right before the > >> > >> >element in the $TOMCAT/conf/server.xml file; > i.e. > >> >inside the element and right before its > >> closing > >> >tag. I re-boot my computer, and then, I cannot > >> start > >> >the Tomcat. I removed the segment of code shown > >> below; > >> >then, Tomcat functions normally. What is wrong? > >> > > >> > > >> > auth="Container" > >> > type="javax.sql.DataSource"/> > >> > > >> > > >> > > >> > factory > >> > > >> > >>org.apache.commons.dbcp.BasicDataSourceFactory > >> > > >> > > >> > maxWait > >> > 5000 > >> > > >> > > >> > maxActive > >> > 20 > >> > > >> > > >> > password > >> > cmis001 > >> > > >> > > >> > url > >> > > >> > >>jdbc:oracle:thin:@172.19.47.22:1521:devora2 > >> > > >> > > >> > driverClassName > >> > > >> >oracle.jdbc.driver.OracleDriver > >> > > >> > > >> > maxIdle > >> > 10 > >> > > >> > > >> > username > >> > cmis > >> > > >> > > >> > removeAbandoned > >> > true > >> > > >> > > >> > removeAbandonedTimeout > >> > 60 > >> > > >> > > >> > logAbandoned > >> > true > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> >__________________________________ > >> >Do you Yahoo!? > >> >Yahoo! Mail is new and improved - Check it out! > >> >http://promotions.yahoo.com/new_mail > >> > > >> > >>--------------------------------------------------------------------- > >> >To unsubscribe, e-mail: > >> tomcat-user-unsubscribe@jakarta.apache.org > >> >For additional commands, e-mail: > >> tomcat-user-help@jakarta.apache.org > >> > >> > >> > >> > >> This e-mail, including any attachments, is a > >> confidential business communication, and may > contain > >> information that is confidential, proprietary > and/or > >> privileged. This e-mail is intended only for the > >> individual(s) to whom it is addressed, and may > not > >> be saved, copied, printed, disclosed or used by > >> anyone else. If you are not the(an) intended > >> recipient, please immediately delete this e-mail > >> from your computer system and notify the sender. > >> Thank you. > >> > >> > >> > >--------------------------------------------------------------------- > >> To unsubscribe, e-mail: > >> tomcat-user-unsubscribe@jakarta.apache.org > >> For additional commands, e-mail: > >> tomcat-user-help@jakarta.apache.org > >> > >> > > > > > > > > > >__________________________________ > >Do you Yahoo!? > >Yahoo! Mail is new and improved - Check it out! > >http://promotions.yahoo.com/new_mail > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: > tomcat-user-unsubscribe@jakarta.apache.org > >For additional commands, e-mail: > tomcat-user-help@jakarta.apache.org > > > > > This e-mail, including any attachments, is a > confidential business communication, and may contain > information that is confidential, proprietary and/or > privileged. This e-mail is intended only for the > individual(s) to whom it is addressed, and may not > be saved, copied, printed, disclosed or used by > anyone else. If you are not the(an) intended > recipient, please immediately delete this e-mail > from your computer system and notify the sender. > Thank you. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > tomcat-user-unsubscribe@jakarta.apache.org > === message truncated === __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org