[prev in list] [next in list] [prev in thread] [next in thread]
List: tomcat-user
Subject: META-INF/context.xml & connection pool
From: Jose_Marķa_Zaragoza <demablogia () gmail ! com>
Date: 2013-11-28 17:04:05
Message-ID: CABOBwRg_P7+d0HpQ38Ps2rR24DwTt5vw58FE+9sS0jmLVSfj4Q () mail ! gmail ! com
[Download RAW message or body]
Hello:
I'm using Tomcat 6.0.23
Yes, I know is an old release
Anyway, I would like to use tomcat-jdbc connection pool JAR
So, I 've stored a context.xml into META-INF folder in my WAR, as
<Context>
<Resource auth="Container" type="javax.sql.DataSource"
factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
driverClassName="org.postgresql.Driver"
initialSize="0" maxActive="100" maxIdle="20" maxWait="10000" mindIdle="0"
name="datasource/ddbb" password="xxxx" removeAbandoned="true"
url="jdbc:postgresql://localhost:5433/ddbb?LoginTimeout=3"
username="uuuuuu" validationQuery="SELECT 1" testOnBorrow="true" />
</Context>
My question is
should I store JAR ( tomcat-jdbc-x.x.x.jar & tomcat-juli-x.x.x.jar )
into WEB-INF/lib folder in WAR
or into $TOMCAT_HOME/lb folder ?
Could there be a problem by store them into the own WAR ( WEB-INF/lib ) ?
Thanks and regards
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic