root/trunk/deployment/ear.meta/jboss-service.xml

Revision 3473 (checked in by douglm, 1 year ago)

1. Update the ischedule support:

New handler for host information with associated jboss service.
Move all support for hosts out of directory classes.
Various small fixes to ischedule
ischedule log in now done as a service to avoid some overhead

2. Fix problems with storing of resources

Broken in many ways. Postgres blob support completely broken.
Content type was set incorrectly
Upgrade to hibernate 3.6 as first step.
Had to update implementation of GenericEnumUserType? in rpiutil. Used in synch.
Changed sess.lock(o, ?) to sess.buildLockRequest(LockOptions?.?).lock(o);
Delete AbbrevValUserType? - hibernate types have changed. Was used for venue
Change hibernate property hibernate.jdbc.use_streams_for_binary - value is now false
Added some support for quotas. Currently only checking resources created/updated via WebDAV PUT.

Had to use preferences to store current quota use to avoid schema change

Removed option to email freebusy requests. Does not make sense. Changed to an iSchedule option which implies emailing invitations.

3. Small fix to ensure we close calendar-data element when we get an exception. Response still bad but at least valid XML

Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <server>
3   <!--  guarantee separate classloader -->
4   <loader-repository>
5     org.bedework:archive=bedework-services
6   </loader-repository>
7  
8   <mbean code="org.bedework.indexer.BwIndexer"
9          name="org.bedework:service=Indexer">
10     <attribute name="Account">admin</attribute>
11     <attribute name="SkipPaths">/public/unbrowsable:/public/aliases</attribute>
12
13     <!-- We need activemq -->   
14     <depends>jboss.jca:service=ConnectionFactoryBinding,name=activemq/QueueConnectionFactory</depends>
15    
16     <!-- We also need the bedework database -->
17     <depends>jboss.jca:service=DataSourceBinding,name=CalendarDS</depends>
18   </mbean>
19  
20   <mbean code="org.bedework.calsvc.scheduling.ischedule.BwIschedule"
21          name="org.bedework:service=Ischedule">
22     <attribute name="Account">admin</attribute>
23    
24     <!-- We also need the bedework database -->
25     <depends>jboss.jca:service=DataSourceBinding,name=CalendarDS</depends>
26   </mbean>
27  
28   <mbean code="org.bedework.inoutsched.BwInoutSched"
29          name="org.bedework:service=BwInoutSched">
30          <!--  no attributes yet
31     <attribute name="Account">admin</attribute>
32     <attribute name="SkipPaths">/public/unbrowsable:/public/aliases</attribute>
33     -->
34
35     <!-- We need activemq -->   
36     <depends>jboss.jca:service=ConnectionFactoryBinding,name=activemq/QueueConnectionFactory</depends>
37    
38     <!-- We also need the bedework database -->
39     <depends>jboss.jca:service=DataSourceBinding,name=CalendarDS</depends>
40   </mbean>
41  
42   <mbean code="org.bedework.caldav.server.soap.synch.SynchConnections"
43          name="org.bedework:service=CalDAVSynchConnections">
44   </mbean>
45  
46   <mbean code="org.bedework.dumprestore.BwDumpRestore"
47          name="org.bedework:service=DumpRestore">
48     <attribute name="Account">admin</attribute>
49    
50     <attribute name="Appname"/>
51    
52     <!-- Create tables - false for safety - set true in console -->
53     <attribute name="Create">false</attribute>
54    
55     <!-- Statement delimiter -->
56     <attribute name="Delimiter">;</attribute>
57    
58     <!-- Drop tables - false for safety - set true in console -->
59     <attribute name="Drop">false</attribute>
60    
61     <!-- Export to database? - false for safety - set true in console -->
62     <attribute name="Export">false</attribute>
63    
64     <!-- Format the output? -->
65     <attribute name="Format">true</attribute>
66    
67     <!-- Do we halt on error? -->
68     <attribute name="HaltOnError">true</attribute>
69    
70     <!-- Schema Output file name - full path, folders must exist -->
71     <attribute name="SchemaOutFile">${jboss.server.data.dir}/bedework/dumprestore/schema.txt</attribute>
72    
73     <!-- SQL input file name - full path. Used instead of the configuration? -->
74     <!--  There appears to be a bug in the hibernate code. Everybody initializes
75         this to /import.sql. Set to null causes an NPE
76         Make sure it refers to a non-existant file -->
77     <attribute name="SqlIn">not-a-file.sql</attribute>
78    
79     <!-- XML data input file name - full path. Used for data restore -->
80     <attribute name="DataIn">${jboss.server.data.dir}/bedework/dumprestore/initbedework.xml</attribute>
81    
82     <!-- XML data output directory - full path. Used for data dump -->
83     <attribute name="DataOut">${jboss.server.data.dir}/bedework/dumprestore/</attribute>
84    
85     <!-- XML data output file prefix - for data dump -->
86     <attribute name="DataOutPrefix">bwdata</attribute>
87
88     <!-- We need activemq -->   
89     <depends>jboss.jca:service=ConnectionFactoryBinding,name=activemq/QueueConnectionFactory</depends>
90    
91     <!-- We also need the bedework database -->
92     <depends>jboss.jca:service=DataSourceBinding,name=CalendarDS</depends>
93   </mbean>
94 </server>
Note: See TracBrowser for help on using the browser.