`

JNDI setting

阅读更多
<Context path="/OceanSoftPortal" docBase="d:\workspace\OceanSoftPortal\main\web" workDir="d:\workspace\OceanSoftPortal\work" reloadable="true">
 
           <Resource auth="Container" name="jdbc/javadb" type="javax.sql.DataSource"/>
     <ResourceParams name="jdbc/javadb">
       <parameter>
         <name>factory</name>
         <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
       </parameter>
       <parameter>
         <name>url</name>
         <value>jdbc:microsoft:sqlserver://jasonywf:1433;DatabaseName=oceansoftoa</value>
       </parameter>
       <parameter>
         <name>password</name>
         <value></value>
       </parameter>
       <parameter>
         <name>maxWait</name>
         <value>10000</value>
       </parameter>
       <parameter>
         <name>maxActive</name>
         <value>100</value>
       </parameter>
       <parameter>
         <name>driverClassName</name>
         <value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
       </parameter>
       <parameter>
         <name>username</name>
         <value>sa</value>
       </parameter>
       <parameter>
         <name>maxIdle</name>
         <value>30</value>
       </parameter>
     </ResourceParams>
 
 </Context>
分享到:
评论

相关推荐

    database jndi setting ehcache

    NULL 博文链接:https://simpleuu.iteye.com/blog/1112749

    Spring-Reference_zh_CN(Spring中文参考手册)

    1. 简介 1.1. 概览 1.2. 使用场景 2. Spring 2.0 的新特性 2.1. 简介 2.2. 控制反转(IoC)容器 2.2.1. 更简单的XML配置 2.2.2. 新的bean作用域 2.2.3. 可扩展的XML编写 2.3. 面向切面编程(AOP) 2.3.1. 更加简单的AOP ...

    hibernate.properties

    ## to use JTATransactionFactory, Hibernate must be able to locate the UserTransaction in JNDI ## default is java:comp/UserTransaction ## you do NOT need this setting if you specify hibernate....

    Manning.Spring.in.Action.4th.Edition.2014.11.epub

    10.2.1. Using JNDI data sources 10.2.2. Using a pooled data source 10.2.3. Using JDBC driver-based data sources 10.2.4. Using an embedded data source 10.2.5. Using profiles to select a data source ...

    BlazeDS开发者指南

    Setting up your development environment 10 Running the BlazeDS sample applications 14 Building your client-side application 15 Building your server-side application 20 Debugging your application 22 ...

    Apache Geronimo 2.1_ Quick Reference.pdf

    Setting transaction timeout 145 Transaction isolation levels 145 Transactions in web applications 146 Summary 148 Chapter 6: Security 149 Overview of security standards 149 Java Authentication ...

    The Java EE 6 Tutorial Basic Concepts 4th Edition

    Resources and JNDI Naming 529 DataSource Objects and Connection Pools 530 Resource Injection 531 Resource Adapters and Contracts 534 Metadata Annotations 538 Common Client Interface 540 Further ...

    tomcat权威指南第二版.pdf

    Accessing JNDI and JDBC Resources 75 Servlet Auto-Reloading 78 Customized User Directories 78 Tomcat Example Applications 80 Common Gateway Interface (CGI) 80 The Tomcat Admin Webapp 82 3. Deploying ...

    Mahout in Action

    JDBC and MySQL 32 ■ Configuring via JNDI 33 Configuring programmatically 34 3.3 Coping without preference values 34 When to ignore values 35 ■ In-memory representations without preference values 36 ...

    spring-boot-reference.pdf

    25.2. Programmatically Setting Profiles 25.3. Profile-specific Configuration Files 26. Logging 26.1. Log Format 26.2. Console Output 26.2.1. Color-coded Output 26.3. File Output 26.4. Log Levels 26.5....

    Geoserver用户手册

    4.2 Setting the Data Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 4.3 Structure of the Data Directory . . . . . . . . . . . . . . . . . . . . . . . . . . ...

    spring-framework-reference4.1.4

    Not Using Commons Logging ................................................................... 12 Using SLF4J ..............................................................................................

    spring-framework-reference-4.1.2

    Not Using Commons Logging ................................................................... 12 Using SLF4J ..............................................................................................

Global site tag (gtag.js) - Google Analytics