source: DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/webapp/META-INF/context.xml @ 4010

Last change on this file since 4010 was 4010, checked in by olhsha, 11 years ago

tiding up exceptions and adding/adjusting slf4j-log4j.

File size: 1.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
4    Copyright (C) 2013 DASISH
5
6    This program is free software; you can redistribute it and/or
7    modify it under the terms of the GNU General Public License
8    as published by the Free Software Foundation; either version 2
9    of the License, or (at your option) any later version.
10
11    This program is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14    GNU General Public License for more details.
15
16    You should have received a copy of the GNU General Public License
17    along with this program; if not, write to the Free Software
18    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
20-->
21<Context antiJARLocking="true" path="/annotator-backend">
22 <Resource
23        name="jdbc/DASISHAnnotator"
24        auth="Container"
25        type="javax.sql.DataSource"
26        driverClassName="org.postgresql.Driver"
27        url="jdbc:postgresql:annotator"
28        username="dasish"
29        password="dasish"
30        maxActive="10"
31        maxIdle="5"
32        maxWait="4000"
33        removeAbandoned="false"
34        removeAbandonedTimeout="10"
35        logAbandoned="true" />
36 <Resource
37        name="jdbc/DASISHSecurity"
38        auth="Container"
39        type="javax.sql.DataSource"
40        driverClassName="org.postgresql.Driver"
41        url="jdbc:postgresql:dasishsecurity"
42        username="dasishadmin"
43        password="dasishadmin"
44        maxActive="10"
45        maxIdle="5"
46        maxWait="4000"
47        removeAbandoned="false"
48        removeAbandonedTimeout="10"
49        logAbandoned="true" />
50  <Parameter name="eu.dasish.annotation.backend.schemaLocation" 
51             value="http://www.dasish.eu/ns/addit https://svn.clarin.eu/DASISH/t5.6/schema/trunk/annotator-schema/src/main/resources/DASISH-schema.xsd"/>
52</Context>
Note: See TracBrowser for help on using the repository browser.