root/trunk/deployment/testsuite/shellscr/META-INF/jboss-service.xml

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

JBoss support. First stage in deploying applications as services in jboss.

Restructure shell script builds to provide platform specific options. Use that feature to create jboss services (sar files) that can be deployed within the server.

All this work is based on jboss 5.1.0.GA

In addition there is some partial support for geronimo. This is not complete

Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <server>
3   <!--  guarantee separate classloader -->
4   <loader-repository>
5     org.bedework:archive=indexer-service
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 </server>
Note: See TracBrowser for help on using the browser.