tomcat6.x the data source configuration with tomcat5.x

<? Xml version = '1 .0 'encoding =' utf-8 '?>
<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">
<name> url </ name>
<value> jdbc: oracle: thin: @ wormtest </ value>
</ Parameter>
<name> username </ name>
<value> sb2 </ value>
</ Parameter>
<name> password </ name>
<value> test123 </ value>
</ Parameter>
<name> maxActive </ name>
<value> 10 </ value>
</ Parameter>
<name> maxWait </ name>
<value> 20 </ value>
</ Parameter>
<name> driverClassName </ name>
<value> oracle.jdbc.driver.OracleDriver </ value>
</ Parameter>
<name> maxIdle </ name>
<value> 4 </ value>
</ Parameter>
</ ResourceParams> ->
name = "SB2DB"
type = "javax.sql.DataSource"
password = "test123"
driverClassName = "oracle.jdbc.driver.OracleDriver"
maxIdle = "4"
maxWait = "20"
username = "sb2"
url = "jdbc: oracle: thin: @ wormtest"
maxActive = "10" />

</ Context>

分类:Java 时间:2010-10-01 人气:181
blog comments powered by Disqus


  • Analyzing the details of Oracle JDBC driver 2010-09-09

    Oracle database to connect all the details of the oracle JDBC driver. These details include: 1, Import JDBC packages 2, registered oracle JDBC drivers 3, open the database connection 4, the implementation of SQL DML statements in the database table a

  • 19.5 SQL to create a hierarchical data source controls 2011-06-01

    SQL to create a hierarchical data source controls SqlHierarchicaldataSource SqlHierarchicalDataSource.cs using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.U

  • pl / sql operation xml 2011-08-03

    SQL code Connected to Oracle Database 10g Enterprise Edition Release Connected as SYS SQL> SQL> - 1. Used as sys user with dba privileges to create a directory, such as: SQL> CREATE OR REPLACE DIRECTORY TESTDIR AS 'D: \ temp \'; Direct

  • (Turn) How to TXT, EXCEL or CSV import data into the corresponding table in the ORACLE 2010-08-31

    How to TXT, EXCEL or CSV data into ORACLE table to the corresponding Time: 2009-10-29 13:45:19 Source: Network Author: Unknown Views: 695 times Method 1, using SQL * Loader This is more of the methods used,

  • Method of SQL Server to export import data 2010-09-10

    First, export the database into a SQL Server in 1. In SQL Server Enterprise Manager in the database to be transferred is selected, press the mouse button, select All Tasks -> Backup Database. 2. Select the database backup - full, Purpose of the backu

  • JSTL Introduction: Access sql and xml content (d) 2010-11-10

    Web application template type (stereotypical) architecture is divided into three layers: the Web server processes the request, the implementation of business logic, application server and database management of persistent data. Between application an

  • PL / SQL Developer to export the data script. Data 2010-06-23

    Quote PL / SQL Developer script to export data, data If only export the table structure (built table statement), does not export the table data can be used Tools - Export User Objects Select to export the table, set up to export the path and all para

  • sql server2000 part of the operation of the notes (which some and oracle database comparison) 2010-08-26

    - This case with the char - Are placed six student number, check up soon. . . If it is a varchar will have a ratio of - If a field's length is determined using char create table hgname ( test float (3) ) insert into hgname values ​​(2) select * from

  • Remember a complicated sql server xml query field 2011-06-12

    Project has been to use "no sql" sequence into the way the entity is stored in xml format the xml sql server database table field, most recently at last to migrate data, the need to migrate back to the relational data format, and therefore exper

  • xml + css display data 2008-07-08

    xml + css display data, see Annex

iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



Copyright (C), All Rights Reserved. 版权所有 闽ICP备15018612号

processed in 0.183 (s). 12 q(s)