1 <?xml version="1.0" encoding="UTF-8"?>
4 <Context path="/confluence" docBase="/usr/share/confluence"
5 debug="0" privileged="false" allowLinking="true" reloadable="true">
7 <!-- You can define database connection here, or while configuring
8 confluence via web interface -->
11 <Resource name="jdbc/ConfluenceDS" auth="Container"
12 type="javax.sql.DataSource"
15 driverClassName="com.mysql.jdbc.Driver"
16 url="jdbc:mysql://localhost/confluence?autoReconnect=true&useUnicode=true&characterEncoding=UTF8"
18 validationQuery="select 1" />
21 <!-- Example mail session definition for Confluence. You can refer it in
22 confluence configuration as JNDI: java:comp/env/mail/ConfluenceMS
24 Alternatively you can configure mail server via web interface.
26 TODO: how to specify SMTP username and password here?
31 <Resource name="mail/ConfluenceMS" auth="Container" type="javax.mail.Session"
32 mail.smtp.host="smtp.example.net" />