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

Revision 3616 (checked in by douglm, 10 months ago)

First stage in adding change notifications.

New sysevents classes so that any old ones in the pipeline will get processed OK.

New package chgnote to handle asynch processing of notifications.

New JMS queue added

New JMX task to monitor and control processing.

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:*/Outbox:*/Inbox:*/Deleted</attribute>
12    
13     <attribute name="MaxPublicThreads">5</attribute>
14     <attribute name="MaxUserThreads">5</attribute>
15
16     <!-- We need activemq -->   
17     <depends>jboss.jca:service=ConnectionFactoryBinding,name=activemq/QueueConnectionFactory</depends>
18    
19     <!-- We also need the bedework database -->
20     <depends>jboss.jca:service=DataSourceBinding,name=CalendarDS</depends>
21   </mbean>
22  
23   <mbean code="org.bedework.calsvc.scheduling.ischedule.BwIschedule"
24          name="org.bedework:service=Ischedule">
25     <attribute name="Account">admin</attribute>
26    
27     <!-- We also need the bedework database -->
28     <depends>jboss.jca:service=DataSourceBinding,name=CalendarDS</depends>
29   </mbean>
30  
31   <mbean code="org.bedework.chgnote.BwChgNote"
32          name="org.bedework:service=BwChgNote">
33          <!--  no attributes yet
34     <attribute name="Account">admin</attribute>
35     <attribute name="SkipPaths">/public/unbrowsable:/public/aliases</attribute>
36     -->
37
38     <!-- We need activemq -->   
39     <depends>jboss.jca:service=ConnectionFactoryBinding,name=activemq/QueueConnectionFactory</depends>
40    
41     <!-- We also need the bedework database -->
42     <depends>jboss.jca:service=DataSourceBinding,name=CalendarDS</depends>
43   </mbean>
44  
45   <mbean code="org.bedework.inoutsched.BwInoutSched"
46          name="org.bedework:service=BwInoutSched">
47          <!--  no attributes yet
48     <attribute name="Account">admin</attribute>
49     <attribute name="SkipPaths">/public/unbrowsable:/public/aliases</attribute>
50     -->
51
52     <!-- We need activemq -->   
53     <depends>jboss.jca:service=ConnectionFactoryBinding,name=activemq/QueueConnectionFactory</depends>
54    
55     <!-- We also need the bedework database -->
56     <depends>jboss.jca:service=DataSourceBinding,name=CalendarDS</depends>
57   </mbean>
58  
59   <mbean code="org.bedework.caldav.server.soap.synch.SynchConnections"
60          name="org.bedework:service=CalDAVSynchConnections">
61   </mbean>
62  
63   <mbean code="org.bedework.dumprestore.BwDumpRestore"
64          name="org.bedework:service=DumpRestore">
65     <attribute name="Account">admin</attribute>
66    
67     <attribute name="Appname"/>
68    
69     <!-- Create tables - false for safety - set true in console -->
70     <attribute name="Create">false</attribute>
71    
72     <!-- Statement delimiter -->
73     <attribute name="Delimiter">;</attribute>
74    
75     <!-- Drop tables - false for safety - set true in console -->
76     <attribute name="Drop">false</attribute>
77    
78     <!-- Export to database? - false for safety - set true in console -->
79     <attribute name="Export">false</attribute>
80    
81     <!-- Format the output? -->
82     <attribute name="Format">true</attribute>
83    
84     <!-- Do we halt on error? -->
85     <attribute name="HaltOnError">true</attribute>
86    
87     <!-- Schema Output file name - full path, folders must exist -->
88     <attribute name="SchemaOutFile">${jboss.server.data.dir}/bedework/dumprestore/schema.txt</attribute>
89    
90     <!-- SQL input file name - full path. Used instead of the configuration? -->
91     <!--  There appears to be a bug in the hibernate code. Everybody initializes
92         this to /import.sql. Set to null causes an NPE
93         Make sure it refers to a non-existant file -->
94     <attribute name="SqlIn">not-a-file.sql</attribute>
95    
96     <!-- XML data input file name - full path. Used for data restore -->
97     <attribute name="DataIn">${jboss.server.data.dir}/bedework/dumprestore/initbedework.xml</attribute>
98    
99     <!-- XML data output directory - full path. Used for data dump -->
100     <attribute name="DataOut">${jboss.server.data.dir}/bedework/dumprestore/</attribute>
101    
102     <!-- XML data output file prefix - for data dump -->
103     <attribute name="DataOutPrefix">bwdata</attribute>
104
105     <!-- We need activemq -->   
106     <depends>jboss.jca:service=ConnectionFactoryBinding,name=activemq/QueueConnectionFactory</depends>
107    
108     <!-- We also need the bedework database -->
109     <depends>jboss.jca:service=DataSourceBinding,name=CalendarDS</depends>
110   </mbean>
111  
112   <mbean code="edu.rpi.sss.util.servlets.io.PooledBufferedOutputStream"
113          name="org.bedework:service=PooledBuffers">
114     <!-- buffer size -->
115     <attribute name="SmallBufferSize"/>
116    
117     <!-- buffer size -->
118     <attribute name="MediumBufferSize"/>
119    
120     <!-- buffer size -->
121     <attribute name="LargeBufferSize"/>
122    
123     <!-- buffer pool size -->
124     <attribute name="SmallBufferPoolSize"/>
125    
126     <!-- buffer pool size -->
127     <attribute name="MediumBufferPoolSize"/>
128    
129     <!-- buffer pool size -->
130     <attribute name="LargeBufferPoolSize"/>
131    
132     <!-- buffer pool size -->
133     <attribute name="SmallBufferPoolStats"/>
134    
135     <!-- buffer pool size -->
136     <attribute name="MediumBufferPoolStats"/>
137    
138     <!-- buffer pool size -->
139     <attribute name="LargeBufferPoolStats"/>   
140   </mbean>
141 </server>
Note: See TracBrowser for help on using the browser.