Mysql
From Resin 3.0
WEB-INF/resin-web.xml
<web-app xmlns="http://caucho.com/ns/resin">
<database>
<name>jdbc/mysql</jndi-name>
<driver>
<type>com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource</type>
<url>jdbc:mysql://localhost:3306/<var>dbname</var></url>
<user>''username''</user>
<password>''password''</password>
</driver>
</database>
</web-app>