Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Context path="" docBase="../dotCMS" debug="0" reloadable="false" crossContext="true">
- <Resource name="mail/MailSession" auth="Container" type="javax.mail.Session" mail.smtp.host="localhost" />
- <!--
- IMPORTANT your maxActive number of connections should be higher than the number of server threads you
- configured in your server.xml, if not on heavy loads you will start getting db connections errors.
- Your number of server threads should be the sum of threads for every connector (http, https, AJP, etc)
- in your server.xml file.
- We recommend you set your number of connections to be your max server threads + 10
- -->
- <!-- POSTGRESQL
- <Resource name="jdbc/dotCMSPool" auth="Container"
- type="javax.sql.DataSource" driverClassName="org.postgresql.Driver"
- url="jdbc:postgresql://127.0.0.1/dotcms"
- username="postgres" password="xxxxxx" maxActive="50" maxIdle="10" maxWait="60000"
- removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true"
- testOnBorrow="true" validationQuery="SELECT 1"/>
- MYSQL UTF8-->
- <Resource name="jdbc/dotCMSPool" auth="Container"
- type="javax.sql.DataSource" driverClassName="com.mysql.jdbc.Driver"
- url="jdbc:mysql://localhost/dotcms?characterEncoding=UTF-8"
- username="remoteuser" password="Hg86xZ3g" maxActive="60" maxIdle="10" maxWait="60000"
- removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true"
- validationQuery="SELECT 1" testOnBorrow="true"/>
- <!-- Oracle
- <Resource name="jdbc/dotCMSPool" auth="Container"
- type="javax.sql.DataSource" driverClassName="oracle.jdbc.driver.OracleDriver"
- url="jdbc:oracle:thin:@192.168.1.128:1521:orcl"
- username="xxxxx" password="xxxxxx" maxActive="60" maxIdle="10" maxWait="60000"
- removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true"
- testOnBorrow="true" validationQuery="SELECT 1 from DUAL"/>
- -->
- <!-- MSSQL
- <Resource name="jdbc/dotCMSPool" auth="Container"
- type="javax.sql.DataSource" driverClassName="net.sourceforge.jtds.jdbc.Driver"
- url="jdbc:jtds:sqlserver://192.168.1.34:1433/dotcms"
- username="xxxxxx" password="xxxxxx" maxActive="60" maxIdle="10" maxWait="60000"
- removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true"
- testOnBorrow="true" validationQuery="SELECT 1"/>
- -->
- <Realm
- className="org.apache.catalina.realm.JAASRealm"
- appName="PortalRealm"
- userClassNames="com.liferay.portal.jaas.PortalPrincipal"
- roleClassNames="com.liferay.portal.jaas.PortalRole"
- debug="99"
- useContextClassLoader="false" />
- </Context>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement