Advertisement
Guest User

Untitled

a guest
Sep 29th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. <Context path="" docBase="../../dotCMS" debug="0" reloadable="false" crossContext="true">
  2.  
  3.  
  4. <Resource name="mail/MailSession" auth="Container" type="javax.mail.Session" mail.smtp.host="localhost" />
  5.  
  6. <!--
  7. IMPORTANT your maxActive number of connections should be higher than the number of server threads you
  8. configured in your server.xml, if not on heavy loads you will start getting db connections errors.
  9. Your number of server threads should be the sum of threads for every connector (http, https, AJP, etc)
  10. in your server.xml file.
  11. We recommend you set your number of connections to be your max server threads + 10
  12. -->
  13.  
  14. <!-- Oracle -->
  15. <Resource name="jdbc/dotCMSPool" auth="Container"
  16. type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver"
  17. url="jdbc:oracle:thin:@50.19.74.3:1427/SQLWEB"
  18. username="onacms" password="******" maxActive="60" maxIdle="10" maxWait="60000"
  19. removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true"
  20. testOnBorrow="true" validationQuery="SELECT 1 from DUAL"/>
  21.  
  22. <!-- MXQA -->
  23. <!-- <Resource name="jdbc/mxqa" auth="Container"
  24. type="javax.sql.DataSource" driverClassName="oracle.jdbc.driver.OracleDriver"
  25. url="jdbc:oracle:thin:@208.112.58.50:1427:SQLWEB"
  26. username="beta9ams" password="Alph9ams" maxActive="60" maxIdle="10" maxWait="60000"
  27. removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true"
  28. testOnBorrow="true" validationQuery="SELECT 1 from DUAL"/>
  29. -->
  30.  
  31. </Context>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement