Advertisement
gallopelado

Context para Ambulatorio

Dec 30th, 2021 (edited)
1,460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.09 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <Context  allowCasualMultipartParsing="true">
  3.     <Resource
  4.         name="jdbc/postgres"
  5.         auth="Container"
  6.         type="javax.sql.DataSource"
  7.         driverClassName="org.postgresql.Driver"
  8.         url="jdbc:postgresql://localhost/hispy"
  9.         username="postgres" password="dgtic123"
  10.         initialSize ="3"
  11.         maxTotal="300" maxIdle="10" maxWaitMillis="30000"
  12.         closeMethod="close"
  13.         validationQuery="SELECT 1"
  14.         validationQueryTimeout="5"
  15.         removeAbandonedOnBorrow="true"
  16.         removeAbandonedOnMaintenance="true"
  17.         removeAbandonedTimeout="60"
  18.         logAbandoned="true"
  19.     />
  20.     <Resource
  21.         name="jdbc/postgresPolicia"
  22.         auth="Container"
  23.         type="javax.sql.DataSource"
  24.         driverClassName="org.postgresql.Driver"
  25.         url="jdbc:postgresql://localhost/policia"
  26.         username="postgres" password="dgtic123"
  27.         initialSize ="3"
  28.         maxTotal="300" maxIdle="10" maxWaitMillis="30000"
  29.         closeMethod="close"
  30.         validationQuery="SELECT 1"
  31.         validationQueryTimeout="5"
  32.         removeAbandonedOnBorrow="true"
  33.         removeAbandonedOnMaintenance="true"
  34.         removeAbandonedTimeout="60"
  35.         logAbandoned="true"
  36.     />
  37. </Context>
  38.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement