tomcat6.x the data source configuration with tomcat5.x
Advertisements
<Context DisplayName="Sports Book Ver 2" docBase="d:/Project/SB2/web/WebRoot" path="/sb2" workDir="work\Catalina\localhost\sb2">
<! - <Resource Name="SB2DB" type="javax.sql.DataSource"/>
<ResourceParams Name="SB2DB">
<parameter>
<name> url </ name>
<value> jdbc: oracle: thin: @ 10.0.5.182:1521: wormtest </ value>
</ Parameter>
<parameter>
<name> username </ name>
<value> sb2 </ value>
</ Parameter>
<parameter>
<name> password </ name>
<value> test123 </ value>
</ Parameter>
<parameter>
<name> maxActive </ name>
<value> 10 </ value>
</ Parameter>
<parameter>
<name> maxWait </ name>
<value> 20 </ value>
</ Parameter>
<parameter>
<name> driverClassName </ name>
<value> oracle.jdbc.driver.OracleDriver </ value>
</ Parameter>
<parameter>
<name> maxIdle </ name>
<value> 4 </ value>
</ Parameter>
</ ResourceParams> ->
<Resource
name = "SB2DB"
type = "javax.sql.DataSource"
password = "test123"
driverClassName = "oracle.jdbc.driver.OracleDriver"
maxIdle = "4"
maxWait = "20"
username = "sb2"
url = "jdbc: oracle: thin: @ 10.0.5.182:1521: wormtest"
maxActive = "10" />
</ Context>
Related Posts of tomcat6.x the data source configuration with tomcat5.x
-
Hibernate connection pool configuration
Hibernate connection pool configuration <! - Jdbc -> <property name="connection.driver_class"> oracle.jdbc.driver.OracleDriver </ property> <property name="connection.url"> jdbc: oracle: thin: @ 10.203.14.132:15
-
Hibernate.cfg.xml configuration file (including the primary key generation strategy Introduction)
Hibernate.cfg.xml configuration file: <? xml version = "1.0" encoding = "utf-8"?> <! DOCTYPE hibernate-configuration PUBLIC "- / / Hibernate / Hibernate Configuration DTD / / EN" "hibernate-configuration-2.0.dtd
-
The EJB3 Persistence
EJB3 persistence with Hibernate is very similar to the mechanism: Environment: Server: JBOSS5.0 Database: MySQL5.0 1. Set up a data source First of all, in jboss-5.0.0.GA \ server \ default \ deploy, the establishment of a database used to connect the dat
-
Servlet brief introduction
Servlet brief introduction: Servlet is a small application server Are used to complete the B / S architecture, the client requests the response to treatment Platform independence, performance, able to run thread Servlet API for Servlet provides the s ...
-
Spring2.0 + hibernate3.1 + log4j + mysql demo
applicationContext.xml Non-attachment jar package, necessary friends can send an email to todd.liangt @ gmail.com
-
Struts2 + hibernate + spring problem user log in
dao layer services layer action jsp <tr> <td align="center"> <b> user name: </ b> </ td> <td> <s: textfield name = "czyNumber" cssClass = "textstyle" theme = "simple" size = &q












