You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ernesto Echeverría <er...@telemovil.net> on 2004/09/08 23:55:22 UTC

RE: [tomcat] Tomcat & Connection Pool

You could try to reconfigure the web.xml thru the Tomcat Administration
Tool. At least you get the basic configuration and after that you can
complete the configuration manually.



-----Original Message-----
From: Caroline Jen [mailto:jiapei_jen@yahoo.com] 
Sent: Miércoles, 08 de Septiembre de 2004 03:26 p.m.
To: tomcat-user@jakarta.apache.org
Subject: [tomcat] 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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org