AprLifecycleListener
<?xml version= "1.0 " encoding= "UTF-8 "?>
<Server>
<Listener className= "org.apache.catalina.core.AprLifecycleListener "/>
<Listener className= "org.apache.catalina.mbeans.GlobalResourcesLifecycleListener "/>
<Listener className= "org.apache.catalina.storeconfig.StoreConfigLifecycleListener "/>
<Listener className= "org.apache.catalina.mbeans.ServerLifecycleListener "/>
<GlobalNamingResources>
<Environment
name= "simpleValue "
type= "java.lang.Integer "
value= "30 "/>
<Resource
auth= "Container "
description= "User database that can be updated and saved "
name= "UserDatabase "
type= "org.apache.catalina.UserDatabase "
pathname= "conf/tomcat-users.xml "
factory= "org.apache.catalina.users.MemoryUserDatabaseFactory "/>
<Resource
name= "EAPool "
auth= "Container "
type= "javax.sql.DataSource "
username= "sa "
password= "1111 "
driverClassName= "com.microsoft.jdbc.sqlserver.SQLServerDriver "
maxIdle= "2 "
maxWait= "5000 "
url= "jdbc:microsoft:sqlserver://127.0.0.1:1433;DatabaseName=sqltas_std;SelectMethod=Cursor "
maxActive= "30 "/>
</GlobalNamingResources>
<Service name= "cares ">
<Connector
port= "80 "
redirectPort= "8443 "
minSpareThreads= "25 "
connectionTimeout= "60000 "
connectionLinger= "-1 "
serverSoTimeout= "0 "
maxSpareThreads= "75 "
maxThreads= "150 "
maxHttpHeaderSize= "8192 "
tcpNoDelay= "true ">
</Connector>
<Connector