Created
October 25, 2011 13:23
-
-
Save gjoseph/1312704 to your computer and use it in GitHub Desktop.
Tomcat context file for the public instance of the "Acme" project discussed at http://dev.magnolia-cms.com/~gjoseph/dont-deploy-magnolia-deploy-your-project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- if this was declared in the <Host> configuration, we'd add a path="" attribute --> | |
<Context path="" docBase="/opt/acme-project/wars/acme-project-webapp-1.0-SNAPSHOT.war" debug="0" reloadable="false"> | |
<Parameter name="magnoliaInstance" value="prodPublic" override="false"/> | |
<Resource name="jdbc/MagnoliaAcmeDS" auth="Container" | |
type="com.mysql.jdbc.jdbc2.optional.MysqlDataSource" | |
factory="com.mysql.jdbc.jdbc2.optional.MysqlDataSourceFactory" | |
driverClassName="com.mysql.jdbc.Driver" | |
user="acme_magnolia" username="acme_magnolia" | |
password="secret" | |
url="jdbc:mysql://localhost:3306/acme_repo_public?useUnicode=true&characterEncoding=UTF8" | |
explicitUrl="true" | |
/> | |
</Context> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment