root/trunk/config/bwbuild/jboss/bedework-card-ds.xml

Revision 2938 (checked in by douglm, 3 years ago)

Skip a couple of jars in jbossService.xml

Add a carddav datasource definition to configurations and update properties appropriately

Fix up prefixing in caldav test so that it can be used to test carddav. Add some carddav tests

Comment out the javadocs group definitions for calendarapi - it was breaking.

Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!DOCTYPE datasources
4         PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
5         "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd">
6
7 <datasources>
8   <local-tx-datasource>
9     <jndi-name>CardDS</jndi-name>
10
11     <!-- Embedded mode - does not need mbean
12     <driver-class>org.apache.derby.jdbc.EmbeddedDriver</driver-class>
13
14     <connection-url>jdbc:derby:${jboss.server.data.dir}/bedework/derby/CalDb3p6;create=true</connection-url>
15     -->
16
17     <!-- Server mode needs the mbean -->
18     <driver-class>org.apache.derby.jdbc.ClientDriver</driver-class>
19
20     <connection-url>jdbc:derby://localhost:1527/${jboss.server.data.dir}/bedework/derby/CardDb3p6;create=true</connection-url>
21
22     <depends>org.bedework:service=DerbyDb</depends>
23
24     <user-name>sa</user-name>
25     <password>bw</password>
26     <min-pool-size>5</min-pool-size>
27     <max-pool-size>20</max-pool-size>
28     <idle-timeout-minutes>5</idle-timeout-minutes>
29     <track-statements/>
30
31     <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
32     <metadata>
33       <type-mapping>Derby</type-mapping>
34     </metadata>
35   </local-tx-datasource>
36
37   <!-- mbean for server mode -->
38   <mbean code="edu.rpi.cmt.jboss.jdbc.DerbyDb"
39          name="org.bedework:service=DerbyDb">
40     <!-- Should be done like this
41     <attribute name="Port">       
42       <value-factory bean="ServiceBindingManager" method="getIntBinding"
43            parameter="jboss:service=Hypersonic"/>
44     </attribute>
45     -->
46     <attribute name="Port">1527</attribute>
47     <!--
48     <attribute name="BindAddress">       
49         <value-factory bean="ServiceBindingManager" method="getStringBinding"
50            parameter="jboss:service=Hypersonic"/>
51     </attribute>     
52     -->
53     <attribute name="Account">sa</attribute>
54     <attribute name="Pw">bw</attribute>
55   </mbean>
56 </datasources>
57
Note: See TracBrowser for help on using the browser.