| Tomcat JNDI in WTP [message #215581] |
Tue, 17 June 2008 09:18  |
|
Originally posted by: tomh.a-t-g.com
In a few apps that weren't created by WTP we use JNDI to get our JDBC Data
Source in a context.xml file in Tomcat.
<Resource name="jdbc/blahl" auth="Container" type="javax.sql.DataSource"
maxActive="10" maxIdle="1" maxWait="10000"
username="user" password="pass"
driverClassName="com.p6spy.engine.spy.P6SpyDriver"
url="jdbc:db2://server:port/database"/>
How do we do something like this for an web application created in WTP.
Thanks,
Tom
|
|
|
|
Powered by
FUDForum. Page generated in 0.01649 seconds