Advertisement
Guest User

Untitled

a guest
Jun 30th, 2018
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.66 KB | None | 0 0
  1. root@ip-172-31-77-143:/usr/share/tomcat7/conf# cat server.xml
  2. <?xml version='1.0' encoding='utf-8'?>
  3. <Server port="8005" shutdown="SHUTDOWN">
  4. <Listener className="org.apache.catalina.core.JasperListener" />
  5. <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
  6. <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
  7. <Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
  8. <GlobalNamingResources>
  9. <Resource name="UserDatabase" auth="Container"
  10. type="org.apache.catalina.UserDatabase"
  11. description="User database that can be updated and saved"
  12. factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
  13. pathname="conf/tomcat-users.xml"
  14. />
  15. <Resource type="javax.sql.DataSource"
  16. name="jdbc/mifosplatform-tenants"
  17. factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
  18. driverClassName="com.mysql.jdbc.Driver"
  19. url="jdbc:mysql://localhost:3306/mifosplatform-tenants"
  20. username="root"
  21. password="mysql"
  22. initialSize="3"
  23. maxActive="10"
  24. maxIdle="6"
  25. minIdle="3"
  26. validationQuery="SELECT 1"
  27. testOnBorrow="true"
  28. testOnReturn="true"
  29. testWhileIdle="true"
  30. timeBetweenEvictionRunsMillis="30000"
  31. minEvictableIdleTimeMillis="60000"
  32. logAbandoned="true"
  33. suspectTimeout="60"
  34. />
  35. </GlobalNamingResources>
  36. <Service name="Catalina">
  37. <Connector protocol="org.apache.coyote.http11.Http11Protocol"
  38. port="8443" maxThreads="200" scheme="https"
  39. secure="true" SSLEnabled="true"
  40. keystoreFile="/usr/share/tomcat.keystore"
  41. keystorePass="xyz123"
  42. clientAuth="false" sslProtocol="TLS"
  43. URIEncoding="UTF-8"
  44. compression="force"
  45. compressableMimeType="text/html,text/xml,text/plain,text/javascript,text/css"/>
  46. <Engine name="Catalina" defaultHost="localhost">
  47. <Realm className="org.apache.catalina.realm.LockOutRealm">
  48. <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/>
  49. </Realm>
  50. <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
  51. <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
  52. prefix="localhost_access_log." suffix=".log"
  53. pattern="%h %l %u %t &quot;%r&quot; %s %b" />
  54. </Host>
  55. </Engine>
  56. </Service>
  57. </Server>
  58. root@ip-172-31-77-143:/usr/share/tomcat7/conf#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement