[Edevsagetools-commit] SF.net SVN: edevsagetools: [37] trunk/synchro/webapp/src/main/webapp/ META-I
Status: Beta
Brought to you by:
avdyk
From: <av...@us...> - 2007-03-19 16:47:20
|
Revision: 37 http://svn.sourceforge.net/edevsagetools/?rev=37&view=rev Author: avdyk Date: 2007-03-19 06:31:50 -0700 (Mon, 19 Mar 2007) Log Message: ----------- added a template to configure the datasource of the application Added Paths: ----------- trunk/synchro/webapp/src/main/webapp/META-INF/context.xml.template Removed Paths: ------------- trunk/synchro/webapp/src/main/webapp/META-INF/context.xml Deleted: trunk/synchro/webapp/src/main/webapp/META-INF/context.xml =================================================================== --- trunk/synchro/webapp/src/main/webapp/META-INF/context.xml 2007-03-19 13:05:58 UTC (rev 36) +++ trunk/synchro/webapp/src/main/webapp/META-INF/context.xml 2007-03-19 13:31:50 UTC (rev 37) @@ -1,8 +0,0 @@ -<Context debug="99" - reloadable="true" crossContext="true"> - - <!-- Realm className="org.apache.catalina.realm.MemoryRealm" - pathname="conf/toby-users.xml" / --> - -</Context> - Added: trunk/synchro/webapp/src/main/webapp/META-INF/context.xml.template =================================================================== --- trunk/synchro/webapp/src/main/webapp/META-INF/context.xml.template (rev 0) +++ trunk/synchro/webapp/src/main/webapp/META-INF/context.xml.template 2007-03-19 13:31:50 UTC (rev 37) @@ -0,0 +1,19 @@ +<Context debug="99" + reloadable="true" crossContext="true"> + + <!-- Realm className="org.apache.catalina.realm.MemoryRealm" + pathname="conf/toby-users.xml" / --> + + <Resource name="jdbc/synchro" + scope="Shareable" + type="javax.sql.DataSource" + url="jdbc:mysql://localhost/your_database" + driverClassName="com.mysql.jdbc.Driver" + username="username" + password="password" + maxWait="3000" + maxIdle="100" + maxActive="10" + /> + +</Context> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |