source: mauRepo/revitalizationProject/branches/MEDIN/ear/src/main/application/discovery-datasource.xml @ 8830

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/revitalizationProject/branches/MEDIN/ear/src/main/application/discovery-datasource.xml@8830
Revision 8830, 2.9 KB checked in by mnagni, 6 years ago (diff)

Complete - # 22442: Debug MEDIN DWS SOAP response
 http://team.ceda.ac.uk/trac/ceda/ticket/22442

  • Property svn:mime-type set to application/xml
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<datasources>
3        <xa-datasource>
4                <use-java-context>false</use-java-context>
5                <jndi-name>jdbc/discoveryDPWS</jndi-name>
6                <xa-datasource-class>org.postgresql.xa.PGXADataSource
7                </xa-datasource-class>
8                <xa-datasource-property name="ServerName">DPWS_HOST
9                </xa-datasource-property>
10                <xa-datasource-property name="PortNumber">DPWS_HOST_PORT
11                </xa-datasource-property>
12                <xa-datasource-property name="DatabaseName">DPWS_DB_NAME
13                </xa-datasource-property>
14                <xa-datasource-property name="User">DPWS_DB_USER
15                </xa-datasource-property>
16                <xa-datasource-property name="Password">DPWS_DB_PSW
17                </xa-datasource-property>
18
19                <connection-property name="char.encoding">UTF-8
20                </connection-property>
21
22                <metadata>
23                        <type-mapping>PostgreSQL</type-mapping>
24                </metadata>
25
26                <transaction-isolation>
27                        TRANSACTION_READ_COMMITTED
28                </transaction-isolation>
29
30                <!--pooling parameters -->
31                <min-pool-size>5</min-pool-size>
32                <max-pool-size>100</max-pool-size>
33                <blocking-timeout-millis>5000</blocking-timeout-millis>
34                <idle-timeout-minutes>15</idle-timeout-minutes>
35                <!-- sql to call when connection is created <new-connection-sql>some arbitrary
36                        sql</new-connection-sql> -->
37
38                <!-- sql to call on an existing pooled connection when it is obtained from
39                        pool <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql> -->
40
41                <set-tx-query-timeout />
42
43                <!-- maximum of 5 minutes for queries -->
44                <query-timeout>0</query-timeout>
45        </xa-datasource>
46
47        <xa-datasource>
48                <use-java-context>false</use-java-context>
49                <jndi-name>jdbc/discoveryDB</jndi-name>
50                <xa-datasource-class>org.postgresql.xa.PGXADataSource
51                </xa-datasource-class>
52                <xa-datasource-property name="ServerName">DISCOVERY_HOST
53                </xa-datasource-property>
54                <xa-datasource-property name="PortNumber">DISCOVERY_HOST_PORT
55                </xa-datasource-property>
56                <xa-datasource-property name="DatabaseName">DISCOVERY_DB_NAME
57                </xa-datasource-property>
58                <xa-datasource-property name="User">DISCOVERY_DB_USER
59                </xa-datasource-property>
60                <xa-datasource-property name="Password">DISCOVERY_DB_PSW
61                </xa-datasource-property>
62                <connection-property name="char.encoding">UTF-8
63                </connection-property>
64
65                <metadata>
66                        <type-mapping>PostgreSQL</type-mapping>
67                </metadata>
68
69                <transaction-isolation>
70                        TRANSACTION_READ_COMMITTED
71                </transaction-isolation>
72
73                <!--pooling parameters -->
74                <min-pool-size>5</min-pool-size>
75                <max-pool-size>100</max-pool-size>
76                <blocking-timeout-millis>5000</blocking-timeout-millis>
77                <idle-timeout-minutes>15</idle-timeout-minutes>
78                <!-- sql to call when connection is created <new-connection-sql>some arbitrary
79                        sql</new-connection-sql> -->
80
81                <!-- sql to call on an existing pooled connection when it is obtained from
82                        pool <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql> -->
83
84                <set-tx-query-timeout />
85
86                <!-- maximum of 5 minutes for queries -->
87                <query-timeout>0</query-timeout>
88        </xa-datasource>       
89</datasources>
Note: See TracBrowser for help on using the repository browser.