I do not quite understand the message "A <Context> 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 <Context> tag? --- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > > Hi, > A <Context> 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:[EMAIL PROTECTED] > >Sent: Wednesday, September 08, 2004 5:26 PM > >To: [EMAIL PROTECTED] > >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 > </Host> > >element in the $TOMCAT/conf/server.xml file; i.e. > >inside the <Host> 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? > > > ><Context> > > <Resource name="jdbc/OracleDB" auth="Container" > > type="javax.sql.DataSource"/> > > > > <ResourceParams name="jdbc/OracleDB"> > > <parameter> > > <name>factory</name> > > > ><value>org.apache.commons.dbcp.BasicDataSourceFactory</value> > > </parameter> > > <parameter> > > <name>maxWait</name> > > <value>5000</value> > > </parameter> > > <parameter> > > <name>maxActive</name> > > <value>20</value> > > </parameter> > > <parameter> > > <name>password</name> > > <value>cmis001</value> > > </parameter> > > <parameter> > > <name>url</name> > > > ><value>jdbc:oracle:thin:@172.19.47.22:1521:devora2</value> > > </parameter> > > <parameter> > > <name>driverClassName</name> > > > ><value>oracle.jdbc.driver.OracleDriver</value> > > </parameter> > > <parameter> > > <name>maxIdle</name> > > <value>10</value> > > </parameter> > > <parameter> > > <name>username</name> > > <value>cmis</value> > > </parameter> > > <parameter> > > <name>removeAbandoned</name> > > <value>true</value> > > </parameter> > > <parameter> > > <name>removeAbandonedTimeout</name> > > <value>60</value> > > </parameter> > > <parameter> > > <name>logAbandoned</name> > > <value>true</value> > > </parameter> > ></ResourceParams> > ></Context> > > > > > > > > > > > >__________________________________ > >Do you Yahoo!? > >Yahoo! Mail is new and improved - Check it out! > >http://promotions.yahoo.com/new_mail > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: > [EMAIL PROTECTED] > >For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > 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: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]