root/releases/bedework-3.8/deployment/ear.meta/jboss-service.xml

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

Make max indexer threads visible and reduce to 5

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     <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.inoutsched.BwInoutSched"
32          name="org.bedework:service=BwInoutSched">
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.caldav.server.soap.synch.SynchConnections"
46          name="org.bedework:service=CalDAVSynchConnections">
47   </mbean>
48  
49   <mbean code="org.bedework.dumprestore.BwDumpRestore"
50          name="org.bedework:service=DumpRestore">
51     <attribute name="Account">admin</attribute>
52    
53     <attribute name="Appname"/>
54    
55     <!-- Create tables - false for safety - set true in console -->
56     <attribute name="Create">false</attribute>
57    
58     <!-- Statement delimiter -->
59     <attribute name="Delimiter">;</attribute>
60    
61     <!-- Drop tables - false for safety - set true in console -->
62     <attribute name="Drop">false</attribute>
63    
64     <!-- Export to database? - false for safety - set true in console -->
65     <attribute name="Export">false</attribute>
66    
67     <!-- Format the output? -->
68     <attribute name="Format">true</attribute>
69    
70     <!-- Do we halt on error? -->
71     <attribute name="HaltOnError">true</attribute>
72    
73     <!-- Schema Output file name - full path, folders must exist -->
74     <attribute name="SchemaOutFile">${jboss.server.data.dir}/bedework/dumprestore/schema.txt</attribute>
75    
76     <!-- SQL input file name - full path. Used instead of the configuration? -->
77     <!--  There appears to be a bug in the hibernate code. Everybody initializes
78         this to /import.sql. Set to null causes an NPE
79         Make sure it refers to a non-existant file -->
80     <attribute name="SqlIn">not-a-file.sql</attribute>
81    
82     <!-- XML data input file name - full path. Used for data restore -->
83     <attribute name="DataIn">${jboss.server.data.dir}/bedework/dumprestore/initbedework.xml</attribute>
84    
85     <!-- XML data output directory - full path. Used for data dump -->
86     <attribute name="DataOut">${jboss.server.data.dir}/bedework/dumprestore/</attribute>
87    
88     <!-- XML data output file prefix - for data dump -->
89     <attribute name="DataOutPrefix">bwdata</attribute>
90
91     <!-- We need activemq -->   
92     <depends>jboss.jca:service=ConnectionFactoryBinding,name=activemq/QueueConnectionFactory</depends>
93    
94     <!-- We also need the bedework database -->
95     <depends>jboss.jca:service=DataSourceBinding,name=CalendarDS</depends>
96   </mbean>
97 </server>
Note: See TracBrowser for help on using the browser.