new tomcat

This commit is contained in:
aranganath 2005-05-17 16:50:28 +00:00
parent 879ecc62c4
commit c568828cb8
256 changed files with 19009 additions and 235 deletions

View file

@ -0,0 +1,20 @@
<!--
Context configuration file for the Tomcat Administration Web App
$Id: admin.xml,v 1.3 2005/05/17 16:50:38 aranganath Exp $
-->
<Context docBase="${catalina.home}/server/webapps/admin" privileged="true"
antiResourceLocking="false" antiJARLocking="false">
<!-- Uncomment this Valve to limit access to the Admin app to localhost
for obvious security reasons. Allow may be a comma-separated list of
hosts (or even regular expressions).
<Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="127.0.0.1"/>
-->
</Context>

View file

@ -0,0 +1,13 @@
<!--
Context configuration file for the Tomcat Host Manager Web App
$Id: host-manager.xml,v 1.1 2005/05/17 16:50:38 aranganath Exp $
-->
<Context docBase="${catalina.home}/server/webapps/host-manager"
privileged="true" antiResourceLocking="false" antiJARLocking="false">
</Context>

View file

@ -0,0 +1,30 @@
<Context path="/lex" docBase="/home/anoop/workspaces/thdl-ws/Dictionary/webroot" debug="0" reloadable="true" crossContext="true">
<!-- Jakarta Tomcat 5.5 does not accept the resource & resourceparams partnership. There use this: -->
<Resource name="jdbc/lex-datasource" scope="Shareable" type="javax.sql.DataSource"
factory="org.apache.commons.dbcp.BasicDataSourceFactory"
url="jdbc:mysql://localhost:3306/Lex?useUnicode=true&amp;characterEncoding=UTF-8"
driverClassName="com.mysql.jdbc.Driver"
username="root"
useUnicode="true"
characterEncoding="utf-8"
maxWait="5000"
maxIdle="7"
maxActive="15"
removeAbandoned="true"/>
<Resource name="jdbc/thdl-users-datasource" scope="Shareable" type="javax.sql.DataSource"
factory="org.apache.commons.dbcp.BasicDataSourceFactory"
url="jdbc:mysql://localhost:3306/ThdlUser"
driverClassName="com.mysql.jdbc.Driver"
username="root"
useUnicode="true"
characterEncoding="utf-8"
maxWait="5000"
maxIdle="7"
maxActive="15"
removeAbandoned="true"/>
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs/access" prefix="lex_access_log." suffix=".txt" pattern="combined" resolveHosts="true"/>
</Context>

View file

@ -0,0 +1,17 @@
<!--
Context configuration file for the Tomcat Manager Web App
$Id: manager.xml,v 1.3 2005/05/17 16:50:38 aranganath Exp $
-->
<Context docBase="${catalina.home}/server/webapps/manager"
privileged="true" antiResourceLocking="false" antiJARLocking="false">
<!-- Link to the user database we will get roles from -->
<ResourceLink name="users" global="UserDatabase"
type="org.apache.catalina.UserDatabase"/>
</Context>