Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@ip-172-31-77-143:/usr/share/tomcat7/conf# cat server.xml
- <?xml version='1.0' encoding='utf-8'?>
- <Server port="8005" shutdown="SHUTDOWN">
- <Listener className="org.apache.catalina.core.JasperListener" />
- <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
- <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
- <Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
- <GlobalNamingResources>
- <Resource name="UserDatabase" auth="Container"
- type="org.apache.catalina.UserDatabase"
- description="User database that can be updated and saved"
- factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
- pathname="conf/tomcat-users.xml"
- />
- <Resource type="javax.sql.DataSource"
- name="jdbc/mifosplatform-tenants"
- factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
- driverClassName="com.mysql.jdbc.Driver"
- url="jdbc:mysql://localhost:3306/mifosplatform-tenants"
- username="root"
- password="mysql"
- initialSize="3"
- maxActive="10"
- maxIdle="6"
- minIdle="3"
- validationQuery="SELECT 1"
- testOnBorrow="true"
- testOnReturn="true"
- testWhileIdle="true"
- timeBetweenEvictionRunsMillis="30000"
- minEvictableIdleTimeMillis="60000"
- logAbandoned="true"
- suspectTimeout="60"
- />
- </GlobalNamingResources>
- <Service name="Catalina">
- <Connector protocol="org.apache.coyote.http11.Http11Protocol"
- port="8443" maxThreads="200" scheme="https"
- secure="true" SSLEnabled="true"
- keystoreFile="/usr/share/tomcat.keystore"
- keystorePass="xyz123"
- clientAuth="false" sslProtocol="TLS"
- URIEncoding="UTF-8"
- compression="force"
- compressableMimeType="text/html,text/xml,text/plain,text/javascript,text/css"/>
- <Engine name="Catalina" defaultHost="localhost">
- <Realm className="org.apache.catalina.realm.LockOutRealm">
- <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/>
- </Realm>
- <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
- <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
- prefix="localhost_access_log." suffix=".log"
- pattern="%h %l %u %t "%r" %s %b" />
- </Host>
- </Engine>
- </Service>
- </Server>
- root@ip-172-31-77-143:/usr/share/tomcat7/conf#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement