<Server port=”8005″ shutdown=”SHUTDOWN” debug=”0″>
<Listener className=”org.apache.catalina.mbeans.ServerLifecycleListener” debug=”0″/>
<Listener className=”org.apache.catalina.mbeans.GlobalResourcesLifecycleListener” debug=”0″/>
<GlobalNamingResources>
<Environment name=”simpleValue” type=”java.lang.Integer” value=”30″/>
<Resource name=”UserDatabase” auth=”Container” type=”org.apache.catalina.UserDatabase” description=”User database that can be updated and saved”/>
<ResourceParams name=”UserDatabase”>
<parameter>
<name>factory</name>
<value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
</parameter>
<parameter>
<name>pathname</name>
<value>conf/tomcat-users.xml</value>
</parameter>
</ResourceParams>
</GlobalNamingResources>
<Service name=”Catalina”>
<Connector port=”4040″ maxThreads=”150″ minSpareThreads=”25″ maxSpareThreads=”75″ enableLookups=”false” redirectPort=”8443″ acceptCount=”100″ debug=”0″ connectionTimeout=”20000″ disableUploadTimeout=”true” />
<Connector port=”8009″ enableLookups=”false” redirectPort=”8443″ debug=”0″ protocol=”AJP/1.3″ />
<Engine name=”Catalina” defaultHost=”localhost” debug=”0″>
<Logger className=”org.apache.catalina.logger.FileLogger” prefix=”catalina_log.” suffix=”.txt” timestamp=”true”/>
<Realm className=”org.apache.catalina.realm.UserDatabaseRealm” debug=”0″ resourceName=”UserDatabase”/>
<Host name=”localhost” debug=”0″ appBase=”E:\java\structs” unpackWARs=”false” autoDeploy=”true” xmlValidation=”false” xmlNamespaceAware=”false” deployOnStartup=”false”>
<Context path=”/AHProject” docBase=”E:\java\workspace\AHProject\WebContent” debug=”0″ reloadable=”true”>
<Resource name=”ProjectDataSource” auth=”Container” type=”javax.sql.DataSource”/>
<ResourceParams name=”ProjectDataSource”>
<parameter>
<name>driverClassName</name>
<value>oracle.jdbc.driver.OracleDriver</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:oracle:thin:@192.168.0.70:1521:headpms</value>
</parameter>
<parameter>
<name>username</name>
<value>test_ah</value>
</parameter>
<parameter>
<name>password</name>
<value>0000</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>20</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>10</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>-1</value>
</parameter>
</ResourceParams>
</Context>
<Context path=”/AHProject_XMB” docBase=”E:\java\workspace\AHProject_XMB\WebContent” debug=”0″ reloadable=”true”>
<Resource name=”ProjectDataSource” auth=”Container” type=”javax.sql.DataSource”/>
<ResourceParams name=”ProjectDataSource”>
<parameter>
<name>driverClassName</name>
<value>oracle.jdbc.driver.OracleDriver</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:oracle:thin:@192.168.0.70:1521:headpms</value>
</parameter>
<parameter>
<name>username</name>
<value>test_ah</value>
</parameter>
<parameter>
<name>password</name>
<value>0000</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>20</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>10</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>-1</value>
</parameter>
</ResourceParams>
</Context>
<Context path=”” docBase=”E:\java\structs” debug=”0″ reloadable=”true”>
<Resource name=”jdbc/jspdev” auth=”Container” type=”javax.sql.DataSource”/>
<ResourceParams name=”jdbc/jspdev”>
<parameter>
<name>driverClassName</name>
<value>oracle.jdbc.driver.OracleDriver</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:oracle:thin:@localhost:1521:oradb</value>
</parameter>
<parameter>
<name>username</name>
<value>JSPDEV</value>
</parameter>
<parameter>
<name>password</name>
<value>000</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>20</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>10</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>-1</value>
</parameter>
</ResourceParams>
</Context>
<Logger className=”org.apache.catalina.logger.FileLogger” directory=”logs” prefix=”localhost_log.” suffix=”.txt” timestamp=”true”/>
</Host>
</Engine>
</Service>
</Server>