Guest User

Untitled

a guest
May 1st, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.39 KB | None | 0 0
  1. <Context path="" crossContext="true">
  2.  
  3. <!-- DB2 -->
  4.  
  5. <!--<Resource
  6. name="jdbc/LiferayPool"
  7. auth="Container"
  8. type="javax.sql.DataSource"
  9. driverClassName="com.ibm.db2.jcc.DB2Driver"
  10. url="jdbc:db2:lportal"
  11. username="db2admin"
  12. password="lportal"
  13. maxActive="20"
  14. />-->
  15.  
  16. <!-- Derby -->
  17.  
  18. <!--<Resource
  19. name="jdbc/LiferayPool"
  20. auth="Container"
  21. type="javax.sql.DataSource"
  22. driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
  23. url="jdbc:derby:lportal"
  24. username=""
  25. password=""
  26. maxActive="20"
  27. />-->
  28.  
  29. <!-- Hypersonic -->
  30.  
  31. <Resource
  32. name="jdbc/LiferayPool"
  33. auth="Container"
  34. type="javax.sql.DataSource"
  35. driverClassName="org.hsqldb.jdbcDriver"
  36. url="jdbc:hsqldb:lportal"
  37. username="sa"
  38. password=""
  39. maxActive="20"
  40. />
  41.  
  42. <!-- MySQL -->
  43.  
  44. <!--<Resource
  45. name="jdbc/LiferayPool"
  46. auth="Container"
  47. type="javax.sql.DataSource"
  48. driverClassName="com.mysql.jdbc.Driver"
  49. url="jdbc:mysql://localhost/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false"
  50. username=""
  51. password=""
  52. maxActive="20"
  53. />-->
  54.  
  55. <!-- Oracle -->
  56.  
  57. <!--<Resource
  58. name="jdbc/LiferayPool"
  59. auth="Container"
  60. type="javax.sql.DataSource"
  61. driverClassName="oracle.jdbc.driver.OracleDriver"
  62. url="jdbc:oracle:thin:@localhost:1521:xe"
  63. username="lportal"
  64. password="lportal"
  65. maxActive="20"
  66. />-->
  67.  
  68. <!-- P6Spy -->
  69.  
  70. <!--<Resource
  71. name="jdbc/LiferayPool"
  72. auth="Container"
  73. type="javax.sql.DataSource"
  74. driverClassName="com.p6spy.engine.spy.P6SpyDriver"
  75. url="jdbc:mysql://localhost/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false"
  76. username=""
  77. password=""
  78. maxActive="20"
  79. />-->
  80.  
  81. <!-- PostgreSQL -->
  82.  
  83. <!--<Resource
  84. name="jdbc/LiferayPool"
  85. auth="Container"
  86. type="javax.sql.DataSource"
  87. driverClassName="org.postgresql.Driver"
  88. url="jdbc:postgresql://localhost:5432/lportal"
  89. username="sa"
  90. password=""
  91. maxActive="20"
  92. />-->
  93.  
  94. <!-- SQL Server -->
  95.  
  96. <!--<Resource
  97. name="jdbc/LiferayPool"
  98. auth="Container"
  99. type="javax.sql.DataSource"
  100. driverClassName="net.sourceforge.jtds.jdbc.Driver"
  101. url="jdbc:jtds:sqlserver://localhost/lportal"
  102. username="sa"
  103. password=""
  104. maxActive="20"
  105. />-->
  106.  
  107. <!-- Sybase -->
  108.  
  109. <!--<Resource
  110. name="jdbc/LiferayPool"
  111. auth="Container"
  112. type="javax.sql.DataSource"
  113. driverClassName="net.sourceforge.jtds.jdbc.Driver"
  114. url="jdbc:jtds:sybase://localhost:5000/lportal"
  115. username="sa"
  116. password=""
  117. maxActive="20"
  118. />-->
  119.  
  120. <!-- Mail -->
  121.  
  122. <Resource
  123. name="mail/MailSession"
  124. auth="Container"
  125. type="javax.mail.Session"
  126. mail.imap.host="localhost"
  127. mail.pop3.host="localhost"
  128. mail.smtp.host="localhost"
  129. mail.store.protocol="imap"
  130. mail.transport.protocol="smtp"
  131. />
  132.  
  133. <!-- JAAS -->
  134.  
  135. <Realm
  136. className="org.apache.catalina.realm.JAASRealm"
  137. appName="PortalRealm"
  138. userClassNames="com.liferay.portal.kernel.security.jaas.PortalPrincipal"
  139. roleClassNames="com.liferay.portal.kernel.security.jaas.PortalRole"
  140. />
  141.  
  142. <!--
  143. Uncomment the following to disable persistent sessions across reboots.
  144. -->
  145.  
  146. <!--<Manager pathname="" />-->
  147.  
  148. <!--
  149. Uncomment the following to not use sessions. See the property
  150. "session.disabled" in portal.properties.
  151. -->
  152.  
  153. <!--<Manager className="com.liferay.support.tomcat.session.SessionLessManagerBase" />-->
  154. </Context>
Add Comment
Please, Sign In to add comment