This commit is contained in:
Socrates
2020-05-26 10:29:34 +02:00
commit 9ed0f2a056
1162 changed files with 162062 additions and 0 deletions

56
web/META-INF/context.xml Normal file
View File

@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<Context reloadable="true">
<JarScanner scanClassPath="false" />
<!--
To define the access to your database uncomment the corresponding one
from the below configurations. If you don't find the yours, look in
internet for the JDBC URL and driver class for your database and define
your own Resource entry.
You have to adapt the URL to match your server, and maybe the port.
You have to define the correct user name and password for your database.
Moreover, you have to copy the JDBC driver (a jar file) corresponding to
your database, to the lib folder of your Tomcat, or if you're in development
add the jar to your project Java Build Path using Eclipse:
Right button on your project > Properties > Java Build Path > Libraries
-->
<!-- HSQLDB -->
<Resource name="jdbc/BabydatenbankDS" auth="Container" type="javax.sql.DataSource"
maxTotal="20" maxIdle="5" maxWaitMillis="10000"
username="sa" password="" driverClassName="org.hsqldb.jdbcDriver"
url="jdbc:hsqldb:hsql://localhost:1666"/>
<!-- MySQL
<Resource name="jdbc/BabydatenbankDS" auth="Container" type="javax.sql.DataSource"
maxTotal="20" maxIdle="5" maxWaitMillis="10000"
username="root" password="" driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/"/>
-->
<!-- PostgreSQL
<Resource name="jdbc/BabydatenbankDS" auth="Container" type="javax.sql.DataSource"
maxTotal="20" maxIdle="5" maxWaitMillis="10000"
username="postgres" password="" driverClassName="org.postgresql.Driver"
url="jdbc:postgresql://localhost/"/>
-->
<!-- Oracle
<Resource name="jdbc/BabydatenbankDS" auth="Container" type="javax.sql.DataSource"
maxTotal="20" maxIdle="5" maxWaitMillis="10000"
username="user" password="" driverClassName="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@localhost:1521:XE"/>
-->
<!-- AS/400
<Resource name="jdbc/BabydatenbankDS" auth="Container" type="javax.sql.DataSource"
maxTotal="20" maxIdle="5" maxWaitMillis="10000"
username="user" password="" driverClassName="org.hibernate.dialect.DB2400Dialect"
url="jdbc:as400:localhost"/>
-->
</Context>