Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version='1.0' encoding='utf-8'?>
- <Server port="8005" shutdown="SHUTDOWN">
- <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
- <Listener className="org.apache.catalina.core.JasperListener" />
- <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 name="ingresso"
- driverClassName="org.postgresql.Driver"
- type="javax.sql.DataSource"
- maxActive="4" maxIdle="1" maxWait="5000"
- url="jdbc:postgresql://192.168.1.228/testeingresso"
- username="postgres"
- password="teste"
- validationQuery="select current_date"/>
- <!--
- <Resource name="wmix"
- driverClassName="org.postgresql.Driver"
- type="javax.sql.DataSource"
- maxActive="4"
- maxIdle="2"
- maxWait="5000"
- url="jdbc:postgresql://192.168.1.230/testewebwmix"
- username="postgres"
- password="teste"
- validationQuery="select current_date"/>
- <Resource name="wmixconf"
- driverClassName="org.postgresql.Driver"
- type="javax.sql.DataSource"
- maxActive="4"
- maxIdle="2"
- maxWait="5000"
- url="jdbc:postgresql://192.168.1.230/testewebwmixconf"
- username="postgres"
- password="teste"
- validationQuery="select current_date"/>
- <Resource name="ingresso"
- driverClassName="org.postgresql.Driver"
- type="javax.sql.DataSource"
- maxActive="4" maxIdle="1" maxWait="5000"
- url="jdbc:postgresql://192.168.1.230/testeingresso"
- username="postgres"
- password="teste"
- validationQuery="select current_date"/>
- <Resource name="imagem"
- driverClassName="org.postgresql.Driver"
- type="javax.sql.DataSource"
- maxActive="4"
- maxIdle="2"
- maxWait="5000"
- url="jdbc:postgresql://192.168.1.230/wwwimagem"
- username="postgres"
- password="teste"
- validationQuery="select current_date"/>
- -->
- </GlobalNamingResources>
- <Service name="Catalina">
- <Connector port="8080"
- protocol="HTTP/1.1"
- connectionTimeout="10000"
- redirectPort="8443"
- compression="on"
- compressableMimeType="text/css,text/html,text/xml,text/javascript,application/x-javascript,application/javascript,application/x-shockwave-flash"
- compressionMinSize="1024"/>
- <Connector port="8009"
- protocol="AJP/1.3"
- redirectPort="8443"
- compression="on"
- compressableMimeType="text/css,text/html,text/xml,text/javascript,application/x-javascript,application/javascript,application/x-shockwave-flash"
- compressionMinSize="1024"/>
- <Engine name="Catalina"
- defaultHost="localhost">
- <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
- resourceName="UserDatabase"/>
- <Host name="localhost"
- appBase="webapps"
- unpackWARs="true"
- autoDeploy="true"
- xmlValidation="false"
- xmlNamespaceAware="false">
- </Host>
- </Engine>
- </Service>
- </Server>
Add Comment
Please, Sign In to add comment