Changeset 3263

Show
Ignore:
Timestamp:
05/05/11 16:12:06
Author:
douglm
Message:

Fix bedework-card-ds.xml

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/config/bwbuild/default/bedework-card-ds.xml

    r3259 r3263  
    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     <!-- If bedework calendar is deployed the DerbyDb mbean may be defined there  
    23       The definition is commented out below. 
    24     --> 
    25     <depends>org.bedework:service=DerbyDb</depends> 
    26      
    27     <user-name>sa</user-name> 
    28     <password>bw</password> 
    29     <min-pool-size>5</min-pool-size> 
    30     <max-pool-size>20</max-pool-size> 
    31     <idle-timeout-minutes>5</idle-timeout-minutes> 
    32     <track-statements/> 
    33  
    34     <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) --> 
    35     <metadata> 
    36       <type-mapping>Derby</type-mapping> 
    37     </metadata> 
    38   </local-tx-datasource> 
    39  
    40   <!-- mbean for server mode  
    41   <mbean code="edu.rpi.cmt.jboss.jdbc.DerbyDb"  
    42          name="org.bedework:service=DerbyDb"> 
    43     < ! - - Should be done like this 
    44     <attribute name="Port">         
    45       <value-factory bean="ServiceBindingManager" method="getIntBinding"  
    46            parameter="jboss:service=Hypersonic"/> 
    47     </attribute> 
    48     - - > 
    49     <attribute name="Port">1527</attribute> 
    50     < ! - - 
    51     <attribute name="BindAddress">         
    52         <value-factory bean="ServiceBindingManager" method="getStringBinding"  
    53            parameter="jboss:service=Hypersonic"/> 
    54     </attribute>      
    55     - - > 
    56     <attribute name="Account">sa</attribute> 
    57     <attribute name="Pw">bw</attribute> 
    58   </mbean> 
    59   --> 
    60 </datasources> 
    611<?xml version="1.0" encoding="UTF-8"?> 
    622 
     
    11757      --> 
    11858 
    119       <!-- Use the security domain defined in conf/login-config.xml --> 
    120       <security-domain>HsqlDbRealm</security-domain> 
     59      <!-- Use the security domain defined in conf/login-config.xml  
     60      <security-domain>HsqlDbRealm</security-domain>--> 
    12161 
    12262      <!-- Use the security domain defined in conf/login-config.xml or the