server.xml
<Service name="Catalina">
<Connector port="8000" maxThreads="150"
connectionTimeout="20000" redirectPort="8443" />
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
<Engine name="Catalina" defaultHost="localhost">
<Host name="localhost" appBase="webapps" unpackWARs="true"
autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"></Host></Engine>
</Service>
<!--
<Service name="Catalina1">
<Connector port="8081" redirectPort="8443" minSpareThreads="25" connectionTimeout="20000" maxThreads="150" maxSpareThreads="75"> </Connector>
<Engine defaultHost="www.1.com" name="Catalina1">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm" />
<Host appBase="webapps" name="www.1.com">
<Context path="" docBase="D:/workspace/aa/webapp" crossContext="false" debug="0" reloadable="false"></Context>
</Host>
</Engine>
</Service>
-->
contxt.xml
<!--
<Valve className="org.apache.catalina.valves.CometConnectionManagerValve" />
<Resource
name="jdbc/MySQLData"
type="javax.sql.DataSource"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/test"
username="root"
password="0000"
maxIdle="4"
maxWait="5000"
maxActive="8"/>
-->
<Resource
name="jdbc/bscounty"
type="javax.sql.DataSource"
driverClassName="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@192.168.0.222:1521:DB"
username=""
password=""
maxIdle="4"
maxWait="5000"
maxActive="8"/>