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">
<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>

分类:Java 时间:2010-10-01 人气:178
分享到:
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 10.2.0.1.0 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 http://edu.codepub.com/2009/1029/17069.php 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 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.808 (s). 10 q(s)