zoukankan      html  css  js  c++  java
  • pure框架部署xml文件

    <?xml version="1.0" encoding="UTF-8"?>
    <Context docBase="F:workspaceonc-market-jlapp" reloadable="false" path="/pure" >
    <Resource name="default"
    type="com.bonc.commons.jdbc.datasource.EncryptPooledDataSource"
    jdbcUrl="jdbc:oracle:thin:@(DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 132.77.255.104)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = uoptestdb)
    )
    )"
    factory="org.apache.naming.factory.BeanFactory"
    acquireIncrement="10"
    driverClass="oracle.jdbc.driver.OracleDriver"
    user="kpi"
    password="kpi"
    maxIdleTime="120"
    minPoolSize="3"
    maxPoolSize="30"
    idleConnectionTestPeriod="100"
    acquireRetryAttempts="1000"/>

    <Resource name="default1"
    type="com.bonc.commons.jdbc.datasource.EncryptPooledDataSource"
    jdbcUrl="jdbc:oracle:thin:@(DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 132.77.255.104)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = uoptestdb)
    )
    )"
    factory="org.apache.naming.factory.BeanFactory"
    acquireIncrement="10"
    driverClass="oracle.jdbc.driver.OracleDriver"
    user="kpi"
    password="kpi"
    maxIdleTime="120"
    minPoolSize="3"
    maxPoolSize="30"
    idleConnectionTestPeriod="100"
    acquireRetryAttempts="1000"/>

    <Resource name="default2"
    type="com.bonc.commons.jdbc.datasource.EncryptPooledDataSource"
    jdbcUrl="jdbc:oracle:thin:@(DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 132.77.255.104)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = uoptestdb)
    )
    )"
    factory="org.apache.naming.factory.BeanFactory"
    acquireIncrement="10"
    driverClass="oracle.jdbc.driver.OracleDriver"
    user="kpi"
    password="kpi"
    maxIdleTime="120"
    minPoolSize="3"
    maxPoolSize="30"
    idleConnectionTestPeriod="100"
    acquireRetryAttempts="1000"/>

    </Context>

  • 相关阅读:
    linux下mysql的root密码忘记解决方法
    基于NIO2的遍历文件夹简单复制
    bootstrap插件bootstrapValidator常用验证规则总结
    《程序员修炼之道》-读书笔记六-工厂模式下的伪DI依赖注入
    cpu 突增问题排查
    一次线上OOM 的定位
    熔断、限流、降级的区别
    Mac 下 idea 在同一个窗口下打开多个项目
    No operations allowed after connection closed
    java 死锁演示
  • 原文地址:https://www.cnblogs.com/xiaziteng/p/5358188.html
Copyright © 2011-2022 走看看