<!--
	Context configuration file template for deployment of a Tersus application using Tomcat 5.5.x

	Placeholders should be replaced with appropriate values.
	See the deployment documentation at http://www.tersus.org/documentation/deployment for details
-->


<Context
	path="/EPO OnCall System"
	docBase="C:\tersus-server"
	debug="0" privileged="true">
	<Valve
		className="org.apache.catalina.authenticator.BasicAuthenticator"
		disableProxyCaching="false"/>
	<Parameter
		name="trace"
		value="C:\tersus-server\tersus-applications\EPO OnCall System/work/trace"
		override="true"/>
	<Parameter
		name="repository_root"
		value="C:\tersus-server\tersus-applications\EPO OnCall System/models"/>
	<Parameter
		name="root_system"
		value="EPO OnCall System/EPO OnCall System"/>
	<Parameter
		name="model_libraries"
		value="C:\tersus-server/WEB-INF/common.trl"/>
	<Parameter
		name="local_web_directories"
		value="C:\tersus-server\tersus-applications\EPO OnCall System/web;C:\tersus-server\tersus-applications\EPO OnCall System/models"/>
	<Parameter
		name="timestamp_file"
		value="C:\tersus-server\tersus-applications\EPO OnCall System/.timestamp"/>
	<Parameter
		name="init_db"
		value="true"/>
	<Parameter
		name="check_db"
		value="true"/>
	<Parameter
		name="dev_mode"
		value="null"/>


	<!--
		Setup of the 'Main' DataSource
	-->
	<Resource name="jdbc/Main"
		driverClassName="org.hsqldb.jdbcDriver"
		maxActive="20" maxIdle="10" maxWait="10000"
		type="javax.sql.DataSource"
		username=""
		password=""
		url="jdbc:hsqldb:file:///tersus-server/database/EPO OnCall System"
		validationQuery="call now()"/>


	<!--
		Authentication setup

		If your application does not require authentication (i.e. it does not use the Authorization module),
		comment out the following Realm element.
	-->
	<!--
	<Realm	className="org.apache.catalina.realm.JDBCRealm"
		debug="0"
		driverName="org.hsqldb.jdbcDriver"
		connectionURL="jdbc:hsqldb:file:///tersus-server/database/EPO OnCall System"
		connectionName=""
		connectionPassword=""
		userTable="Users" userRoleTable="User_Roles"
		userNameCol="User_ID" userCredCol="Password" roleNameCol="Role"/>
	-->

</Context>

