root/trunk/config/bwbuild/default/bedework-tz-ds.xml

Revision 3279 (checked in by douglm, 2 years ago)

Fix up default config for tzserver

Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!-- See http://www.jboss.org/community/wiki/Multiple1PC for information about local-tx-datasource -->
4 <!-- $Id: mysql-ds.xml 88948 2009-05-15 14:09:08Z jesper.pedersen $ -->
5 <!--  Datasource config for MySQL using 3.0.9 available from:
6 http://www.mysql.com/downloads/api-jdbc-stable.html
7 -->
8
9 <datasources>
10   <local-tx-datasource>
11     <jndi-name>TzDS</jndi-name>
12
13     <connection-url>jdbc:hsqldb:hsql://localhost:1703</connection-url>
14
15     <driver-class>org.hsqldb.jdbcDriver</driver-class>
16
17     <user-name>sa</user-name>
18     <password></password>
19         <!-- sql to call when connection is created.  Can be anything, select 1 is valid for PostgreSQL
20         <new-connection-sql>select 1</new-connection-sql>
21         -->
22
23         <!-- sql to call on an existing pooled connection when it is obtained from pool.  Can be anything, select 1 is valid for PostgreSQL
24         <check-valid-connection-sql>select 1</check-valid-connection-sql>
25         -->
26
27       <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
28       <metadata>
29          <type-mapping>Hypersonic SQL</type-mapping>
30       </metadata>
31
32       <depends>jboss:service=HsqlBwTz</depends>
33   </local-tx-datasource>
34
35
36    <mbean code="org.jboss.jdbc.HypersonicDatabase"
37      name="jboss:service=HsqlBwTz">
38     <!-- Should be done like this
39      <attribute name="Port">       
40         <value-factory bean="ServiceBindingManager" method="getIntBinding"
41            parameter="jboss:service=HsqlBedework"/>
42      </attribute>
43      <attribute name="BindAddress">       
44         <value-factory bean="ServiceBindingManager" method="getStringBinding"
45            parameter="jboss:service=Hypersonic"/>
46      </attribute>     
47     -->
48      <attribute name="Port">1703</attribute>
49      <attribute name="Silent">true</attribute>
50      <attribute name="Database">TzDb3p7</attribute>
51      <attribute name="Trace">false</attribute>
52      <attribute name="No_system_exit">true</attribute>
53    </mbean>
54 </datasources>
55
Note: See TracBrowser for help on using the browser.