Last active
August 29, 2015 14:01
-
-
Save dinigo/f23ea1adc5aed941b016 to your computer and use it in GitHub Desktop.
Patches and config files for a subject
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='utf-8'?> | |
<Context> | |
<WatchedResource>WEB-INF/web.xml</WatchedResource> | |
<WatchedResource>${catalina.base}/conf/web.xml</WatchedResource> | |
<Resource name="jdbc/tienda" auth="Container" type="javax.sql.DataSource" | |
maxActive="100" maxIdle="30" maxWait="10000" | |
username="tomcat" password="s3cr3t-hsqldb" driverClassName="org.hsqldb.jdbc.JDBCDriver" | |
url="jdbc:hsqldb:hsql://localhost:11000/tienda"/> | |
</Context> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server.port=11000 | |
server.database.0=file:databases/tienda;user=tomcat;password=s3cr3t-hsqldb | |
server.dbname.0=tienda |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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.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"/> | |
</GlobalNamingResources> | |
<Service name="Catalina"> | |
<Connector port="8888" protocol="HTTP/1.1" | |
connectionTimeout="20000" | |
redirectPort="8443"/> | |
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443"/> | |
<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=".txt" | |
pattern="%h %l %u %t "%r" %s %b"/> | |
</Host> | |
</Engine> | |
</Service> | |
</Server> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
<servers> | |
<server> | |
<id>tomcat</id> | |
<username>maven</username> | |
<password>s3cr3t-tomcat</password> | |
</server> | |
</servers> | |
</settings> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='utf-8'?> | |
<tomcat-users> | |
<role rolename="manager-script"/> | |
<role rolename="manager-gui"/> | |
<user username="daniel" password="s3cr3t-tomcat" roles="manager-gui"/> | |
<user username="maven" password="s3cr3t-tomcat" roles="manager-script"/> | |
</tomcat-users> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment