You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@turbine.apache.org by pa...@apache.org on 2017/12/13 17:21:23 UTC
svn commit: r1818043 - in
/turbine/maven/archetypes/trunk/turbine-webapp-4.0/src/main/resources/archetype-resources/src/main/webapp/META-INF:
./ context.xml
Author: painter
Date: Wed Dec 13 17:21:22 2017
New Revision: 1818043
URL: http://svn.apache.org/viewvc?rev=1818043&view=rev
Log:
check in default context.xml
Added:
turbine/maven/archetypes/trunk/turbine-webapp-4.0/src/main/resources/archetype-resources/src/main/webapp/META-INF/
turbine/maven/archetypes/trunk/turbine-webapp-4.0/src/main/resources/archetype-resources/src/main/webapp/META-INF/context.xml
Added: turbine/maven/archetypes/trunk/turbine-webapp-4.0/src/main/resources/archetype-resources/src/main/webapp/META-INF/context.xml
URL: http://svn.apache.org/viewvc/turbine/maven/archetypes/trunk/turbine-webapp-4.0/src/main/resources/archetype-resources/src/main/webapp/META-INF/context.xml?rev=1818043&view=auto
==============================================================================
--- turbine/maven/archetypes/trunk/turbine-webapp-4.0/src/main/resources/archetype-resources/src/main/webapp/META-INF/context.xml (added)
+++ turbine/maven/archetypes/trunk/turbine-webapp-4.0/src/main/resources/archetype-resources/src/main/webapp/META-INF/context.xml Wed Dec 13 17:21:22 2017
@@ -0,0 +1,10 @@
+<?xml version='1.0' encoding='utf-8'?>
+<Context>
+ <WatchedResource>WEB-INF/web.xml</WatchedResource>
+ <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
+ <Resource name="${turbine_database_jndipath}" global="${turbine_database_jndipath}" auth="Container" type="javax.sql.DataSource"
+ driverClassName="${turbine_database_driver}"
+ url="${turbine_database_url}${turbine_database_name}"
+ username="${turbine_database_user}" password="${turbine_database_password}"
+ maxTotal="100" maxIdle="20" minIdle="5" maxWaitMillis="10000"/>
+</Context>