You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Ashish Jain <as...@gmail.com> on 2010/03/12 11:29:04 UTC

Re: DeltaManager only support GenericPrincipal. Your realm used principal class org.apache.geronimo.tomcat.JAASTomcatPrincipal

I see from your security realm  that you are using a custom login module.
Are you also using custom principal class as well?? How are you adding
principals to geronimo in login module commit method?? How are mapping the
principals in your geronimo deployment plan??

On Fri, Mar 12, 2010 at 3:04 PM, mirceade <mi...@gmail.com> wrote:

>
> Hi,
> I'm trying to use clustering for a Geronimo with Tomcat for a third party
> application following the instructions here:
> http://publib.boulder.ibm.com/wasce/V2.0.0/en/clustering.html
>
> I'm getting the following error:
>
> 2010-03-12 07:02:19,828 ERROR [DeltaRequest] DeltaManager only support
> GenericPrincipal. Your realm used principal class
> org.apache.geronimo.tomcat.JAASTomcatPrincipal.
>
> Now, I guess that for creating the Principal a Realm is the one responsible
> which in my case is the JAASTomcatRealm or smth. like that (this seems to
> be
> the default for Tomcat when configured inside Geronimo).
>
> My question is how do I change these realms (and with what GBean configs)
> in
> order to make Tomcat clustering work.
>
> I know nothing about security in a JEE server. Please help me. Please.
>
> The application's settings for the Realm:
>
>        <gbean name="AppSecurity"
> class="org.apache.geronimo.security.realm.GenericSecurityRealm"
> xsi:type="dep:gbeanType"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>        <attribute name="realmName">AppSecurity</attribute>
>        <reference name="ServerInfo">
>            <name>ServerInfo</name>
>        </reference>
>        <xml-reference name="LoginModuleConfiguration">
>            <log:login-config
> xmlns:log="http://geronimo.apache.org/xml/ns/loginconfig-2.0">
>                <log:login-module control-flag="REQUIRED"
> wrap-principals="false">
>
> <log:login-domain-name>KIXOperatorSecurity</log:login-domain-name>
>
>
> <log:login-module-class>at.co.sbs.kix.server.security.geronimo.KIXGeronimoLoginModule</log:login-module-class>
>             <log:option
> name="dataSourceApplication">com.app/App/3.4/car</log:option>
>            <log:option name="dataSourceName">...</log:option>
>            <log:option name="delimiter">.</log:option>
>          </log:login-module>
>       </log:login-config>
>      </xml-reference>
> </gbean>
>
>
> Thank you.
> Mircea.
> --
> View this message in context:
> http://n3.nabble.com/DeltaManager-only-support-GenericPrincipal-Your-realm-used-principal-class-org-apache-geronimo-tomcal-tp443671p443671.html
> Sent from the Users mailing list archive at Nabble.com.
>

Re: DeltaManager only support GenericPrincipal. Your realm used principal class org.apache.geronimo.tomcat.JAASTomcatPrincipal

Posted by Ivan <xh...@gmail.com>.
Hi,
   Geronimo 2.1.4 used a customized 6.0.18 Tomcat build,
   So far, I did not find a gentle way to turn off the cache, but the quick
way to check it is to check out the source codes of
https://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_18/java/org/apache/catalina/authenticator/AuthenticatorBase.java,
and change the line :
protected boolean cache = true;  -> false
A file in the
https://svn.apache.org/repos/asf/geronimo/server/tags/2.1.4/repository/org/apache/tomcat/6.0.18-G678601.README.TXTis
to guide you how to build a customized Tomcat build.


2010/3/19 mirceade <mi...@gmail.com>

>
> Ashish: Just forget about the first post. I just needed to protect the
> application's name. Only the last post with both of my configs is relevant.
> We encounter the problem at run time when the DeltaManager attempts so
> serialize a... well, session delta. That's all the error I get from the
> logs:
>
>
> 2010-03-12 07:02:19,828 ERROR [DeltaRequest] DeltaManager only support
> GenericPrincipal. Your realm used principal class
> org.apache.geronimo.tomcat.JAASTomcatPrincipal.
>
> Ivan: How do I turn off the authentication cache? We use Geronimo 2.1.4 (in
> fact WebSphere Community Edition 2.1.3 which is rather the same I guess).
> --
> View this message in context:
> http://n3.nabble.com/DeltaManager-only-support-GenericPrincipal-Your-realm-used-principal-class-org-apache-geronimo-tomcal-tp443671p462251.html
> Sent from the Users mailing list archive at Nabble.com.
>



-- 
Ivan

Re: DeltaManager only support GenericPrincipal. Your realm used principal class org.apache.geronimo.tomcat.JAASTomcatPrincipal

Posted by mirceade <mi...@gmail.com>.
Ashish: Just forget about the first post. I just needed to protect the
application's name. Only the last post with both of my configs is relevant.
We encounter the problem at run time when the DeltaManager attempts so
serialize a... well, session delta. That's all the error I get from the
logs:


2010-03-12 07:02:19,828 ERROR [DeltaRequest] DeltaManager only support
GenericPrincipal. Your realm used principal class
org.apache.geronimo.tomcat.JAASTomcatPrincipal.

Ivan: How do I turn off the authentication cache? We use Geronimo 2.1.4 (in
fact WebSphere Community Edition 2.1.3 which is rather the same I guess).
-- 
View this message in context: http://n3.nabble.com/DeltaManager-only-support-GenericPrincipal-Your-realm-used-principal-class-org-apache-geronimo-tomcal-tp443671p462251.html
Sent from the Users mailing list archive at Nabble.com.

Re: DeltaManager only support GenericPrincipal. Your realm used principal class org.apache.geronimo.tomcat.JAASTomcatPrincipal

Posted by Ivan <xh...@gmail.com>.
It might be a defect in Geronimo, turn off the authentication cache should
work around this, usually, Tomcat would cache the principle with the
session, so it did not need to authenticate the users each time, but
Geronimo's customzied principal did not follow Tomcat's cluster rule. So
which Geronimo version did you use ? 2.1.4 or 2.2 ?

2010/3/18 Ashish Jain <as...@gmail.com>

> I notice that ur first post suggested you realm name is AppSecurity and you
> geronimo deployment plan seems to be using
> APPOperatorSecurity. Create a realm with correct name and try. Another Q
> comes to my mind is when is that you are hitting the
> exception deploy/run??? In case you again hit the error...paste the
> complete error trace.
>
>
> On Thu, Mar 18, 2010 at 2:03 PM, mirceade <mi...@gmail.com> wrote:
>
>>
>> Hi, I've posted my configs. Does anybody have any idea why I end up with a
>> JAASTomcatPrincipal and why the DeltaManager fails to replicate it
>> (shouldn't it work with anything that's Serializable?) ?
>> Thanks.
>> Mircea.
>> --
>> View this message in context:
>> http://n3.nabble.com/DeltaManager-only-support-GenericPrincipal-Your-realm-used-principal-class-org-apache-geronimo-tomcal-tp443671p455044.html
>> Sent from the Users mailing list archive at Nabble.com.
>>
>
>


-- 
Ivan

Re: DeltaManager only support GenericPrincipal. Your realm used principal class org.apache.geronimo.tomcat.JAASTomcatPrincipal

Posted by Ashish Jain <as...@gmail.com>.
I notice that ur first post suggested you realm name is AppSecurity and you
geronimo deployment plan seems to be using
APPOperatorSecurity. Create a realm with correct name and try. Another Q
comes to my mind is when is that you are hitting the
exception deploy/run??? In case you again hit the error...paste the complete
error trace.


On Thu, Mar 18, 2010 at 2:03 PM, mirceade <mi...@gmail.com> wrote:

>
> Hi, I've posted my configs. Does anybody have any idea why I end up with a
> JAASTomcatPrincipal and why the DeltaManager fails to replicate it
> (shouldn't it work with anything that's Serializable?) ?
> Thanks.
> Mircea.
> --
> View this message in context:
> http://n3.nabble.com/DeltaManager-only-support-GenericPrincipal-Your-realm-used-principal-class-org-apache-geronimo-tomcal-tp443671p455044.html
> Sent from the Users mailing list archive at Nabble.com.
>

Re: DeltaManager only support GenericPrincipal. Your realm used principal class org.apache.geronimo.tomcat.JAASTomcatPrincipal

Posted by mirceade <mi...@gmail.com>.
Hi, I've posted my configs. Does anybody have any idea why I end up with a
JAASTomcatPrincipal and why the DeltaManager fails to replicate it
(shouldn't it work with anything that's Serializable?) ?
Thanks.
Mircea.
-- 
View this message in context: http://n3.nabble.com/DeltaManager-only-support-GenericPrincipal-Your-realm-used-principal-class-org-apache-geronimo-tomcal-tp443671p455044.html
Sent from the Users mailing list archive at Nabble.com.

Re: DeltaManager only support GenericPrincipal. Your realm used principal class org.apache.geronimo.tomcat.JAASTomcatPrincipal

Posted by mirceade <mi...@gmail.com>.
Well, this is my geronimo-application.xml and the next is my
var/config/config.xml.
Where else should I look?

----- geronimo-application.xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<app:application
xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2"
xmlns:conn="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2"
xmlns:name="http://geronimo.apache.org/xml/ns/naming-1.2"
xmlns:ejb="http://openejb.apache.org/xml/ns/openejb-jar-2.2"
xmlns:pkgen="http://openejb.apache.org/xml/ns/pkgen-2.1"
xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0"
xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"
xmlns:pers="http://java.sun.com/xml/ns/persistence"
xmlns:client="http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0"
application-name="APPOperator">
    <dep:environment>
        <dep:moduleId>
            <dep:groupId>com.app</dep:groupId>
            <dep:artifactId>APPOperator</dep:artifactId>
            <dep:version>3.4</dep:version>
            <dep:type>car</dep:type>
        </dep:moduleId>
        <dep:dependencies>
            <dep:dependency>
                <dep:groupId>org.apache.geronimo.configs</dep:groupId>
                <dep:artifactId>system-database</dep:artifactId>
                <dep:type>car</dep:type>
            </dep:dependency>
            <dep:dependency>
                <dep:groupId>org.apache.geronimo.configs</dep:groupId>
                <dep:artifactId>openjpa</dep:artifactId>
                <dep:type>car</dep:type>
            </dep:dependency>           
            <dep:dependency>
                <dep:groupId>org.apache.geronimo.configs</dep:groupId>
                <dep:artifactId>j2ee-corba-yoko</dep:artifactId>
                <dep:type>car</dep:type>
            </dep:dependency>
            <dep:dependency>
                <dep:groupId>org.apache.geronimo.configs</dep:groupId>
                <dep:artifactId>javamail</dep:artifactId>
                <dep:type>car</dep:type>
            </dep:dependency>
            <dep:dependency>
                <dep:groupId>console.jms</dep:groupId>
               
<dep:artifactId>APPEventTopicConnectorResource</dep:artifactId>
                <dep:type>rar</dep:type>
            </dep:dependency>
            
            <!-- internal dependencies -->
            <dep:dependency>
                <dep:groupId>com.app</dep:groupId>
                <dep:artifactId>appsecurity</dep:artifactId>
                <dep:type>jar</dep:type>
            </dep:dependency>            
            <dep:dependency>
                <dep:groupId>com.app</dep:groupId>
                <dep:artifactId>appshared</dep:artifactId>
                <dep:type>jar</dep:type>
            </dep:dependency>
                                             
        </dep:dependencies>
        <dep:hidden-classes>
          <dep:filter>org.castor</dep:filter>
		  <dep:filter>org.exolab.castor</dep:filter>
		  <dep:filter>org.jdom</dep:filter>
		  <dep:filter>org.jaxen</dep:filter>
		  <dep:filter>org.saxpath</dep:filter>
		  <dep:filter>org.apache.commons.lang</dep:filter>
		</dep:hidden-classes>         
    </dep:environment>
   
    <app:module>
        <app:web>Web_Operator.war</app:web>
        <web:web-app>
            <dep:environment>
                <dep:moduleId>
                    <dep:groupId>com.app</dep:groupId>
                    <dep:artifactId>Web_Operator</dep:artifactId>
                    <dep:version>3.4</dep:version>
                    <dep:type>war</dep:type>
                </dep:moduleId>
                <dep:hidden-classes>
                	<dep:filter>org.castor</dep:filter>
                	<dep:filter>org.apache.bcel</dep:filter>
                	<dep:filter>org.apache.regexp</dep:filter>
                	<dep:filter>org.apache.xalan</dep:filter>
                	<dep:filter>org.apache.xml</dep:filter>
                	<dep:filter>org.apache.xpath</dep:filter>
                	<dep:filter>org.w3c.dom.xpath</dep:filter>
		  			<dep:filter>org.exolab.castor</dep:filter>
		  			<dep:filter>com.app.appfs.util.xml.XMLUtilities</dep:filter>
				</dep:hidden-classes>
            </dep:environment>
            <web:context-root>/app</web:context-root>
            <name:resource-ref>
            	<name:ref-name>jdbc/WebOperatorDataSource</name:ref-name>
            	<name:resource-link>APPOperatorDataSource</name:resource-link>
            </name:resource-ref>            
           
<web:security-realm-name>APPOperatorSecurity</web:security-realm-name> 
        </web:web-app>
    </app:module>
    
    <app:module>
        <app:web>Web_Agent.war</app:web>
        <web:web-app>
            <dep:environment>
                <dep:moduleId>
                    <dep:groupId>com.app</dep:groupId>
                    <dep:artifactId>Web_Agent</dep:artifactId>
                    <dep:version>3.4</dep:version>
                    <dep:type>war</dep:type>
                </dep:moduleId>
            </dep:environment>
            <web:context-root>/appagent</web:context-root>
            <name:resource-ref>
            	<name:ref-name>jdbc/WebAgentDataSource</name:ref-name>
            	<name:resource-link>APPOperatorDataSource</name:resource-link>
            </name:resource-ref>            
           
<web:security-realm-name>APPOperatorSecurity</web:security-realm-name> 
        </web:web-app>
    </app:module>
    
    <app:module>
        <app:web>Web_Test.war</app:web>
        <web:web-app>
            <dep:environment>
                <dep:moduleId>
                    <dep:groupId>com.app</dep:groupId>
                    <dep:artifactId>Web_Test</dep:artifactId>
                    <dep:version>3.4</dep:version>
                    <dep:type>war</dep:type>
                </dep:moduleId>
            </dep:environment>
            <web:context-root>/ejbtest</web:context-root>          
           
<web:security-realm-name>APPOperatorSecurity</web:security-realm-name>
        </web:web-app>
    </app:module>
    
    <app:module>
        <app:web>Web_Axis.war</app:web>
        <web:web-app>
            <dep:environment>
                <dep:moduleId>
                    <dep:groupId>com.app</dep:groupId>
                    <dep:artifactId>Web_Axis</dep:artifactId>
                    <dep:version>3.4</dep:version>
                    <dep:type>war</dep:type>
                </dep:moduleId>
            </dep:environment>
            <web:context-root>/axis</web:context-root>
            <name:resource-ref>
            	<name:ref-name>jdbc/WebAxisDataSource</name:ref-name>
            	<name:resource-link>APPOperatorDataSource</name:resource-link>
            </name:resource-ref> 
           
<web:security-realm-name>APPOperatorSecurity</web:security-realm-name>
        </web:web-app>
    </app:module>    
    
	<app:module>
        <app:ejb>EjbIDGenerator.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbIDGenerator</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbIDGenerator</ejb:ejb-name>
                    <name:resource-ref>
	               
<name:ref-name>jdbc/EjbIDGeneratorDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	               
<name:ref-name>jdbc/EjbIDGeneratorDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>
    
	<app:module>
        <app:ejb>EjbArchive.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbArchive</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbArchive</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbArchiveDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbArchiveDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>                    
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>    
    
	<app:module>
        <app:ejb>EjbDiVA.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbDiVA</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbDiVA</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbDiVADataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbDiVADataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>                    
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>      
    
	<app:module>
        <app:ejb>EjbEventProcessor.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbEventProcessor</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbEventProcessor</ejb:ejb-name>
                    <name:resource-ref>
	               
<name:ref-name>jdbc/EjbEventProcessorDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	               
<name:ref-name>jdbc/EjbEventProcessorDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
                    <name:ref-name>jms/EventTCF</name:ref-name>
                    <name:resource-link>APPEventTCF</name:resource-link>
                    </name:resource-ref>  
                    <name:resource-env-ref>
	                <name:ref-name>jms/EventTopic</name:ref-name>
                   
<name:admin-object-link>APPEventTopic</name:admin-object-link>
                    </name:resource-env-ref>
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>
    </app:module>
    
	<app:module>
        <app:ejb>EjbTransaction.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbTransaction</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbTransaction</ejb:ejb-name>
                    <name:resource-ref>
	               
<name:ref-name>jdbc/EjbTransactionDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	               
<name:ref-name>jdbc/EjbTransactionDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>                    
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>      
    
	<app:module>
        <app:ejb>EjbActionLog.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbActionLog</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbActionLog</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbActionDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbActionDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbActionXADataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSourceXA</name:resource-link>
                    </name:resource-ref>                    
                    <name:resource-ref>
	                <name:ref-name>jms/MQSP1</name:ref-name>
                   
<name:resource-link>APPArchiveQueueConnectionFactory</name:resource-link>
                    </name:resource-ref> 
                    <name:resource-env-ref>
	                <name:ref-name>jms/ARCHIVIERUNG</name:ref-name>
                   
<name:admin-object-link>APPArchiveQueue</name:admin-object-link>
                    </name:resource-env-ref>
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>     
    
	<app:module>
        <app:ejb>EjbCompany.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbCompany</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbCompany</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbCompanyDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbCompanyDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>      
    
	<app:module>
        <app:ejb>EjbUser.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbUser</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbUser</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbUserDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbUserDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                </ejb:session>
                <ejb:session>
                    <ejb:ejb-name>EjbProfile</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbProfileDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbProfileDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                </ejb:session>                 
            </ejb:enterprise-beans>            
        </ejb:openejb-jar>  
    </app:module>    
    
	<app:module>
        <app:ejb>EjbStatistics.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbStatistics</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbStatistics</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbStatisticsDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	               
<name:ref-name>jdbc/EjbStatisticsDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>    
    
	<app:module>
        <app:ejb>EjbClient.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbClient</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbClient</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbClientDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbClientDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>     
    
	<app:module>
        <app:ejb>EjbMailer.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbMailer</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbMailer</ejb:ejb-name>
                    <name:resource-ref>
	                	<name:ref-name>mail/MailSession</name:ref-name>
                    	<name:resource-link>APPMail</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
                       
<name:ref-name>jdbc/EjbMailDataSource</name:ref-name>
                       
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
                       
<name:ref-name>jdbc/EjbMailDataSourceUR</name:ref-name>
                       
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>    
    
	<app:module>
        <app:ejb>EjbSMS.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbSMS</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbSMS</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbSMSDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbSMSDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module> 
        
	<app:module>
        <app:ejb>EjbTerminal.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbTerminal</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbTerminal</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbTerminalDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbTerminalDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbTerminalXADataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSourceXA</name:resource-link>
                    </name:resource-ref> 
                    <name:resource-ref>
	                <name:ref-name>jms/TriggerQCF</name:ref-name>
                   
<name:resource-link>APPCommandQueueConnectionFactory</name:resource-link>
                    </name:resource-ref>  
                    <name:resource-env-ref>
	                <name:ref-name>jms/TriggerQueue</name:ref-name>
                   
<name:admin-object-link>APPCommandQueue</name:admin-object-link>
                    </name:resource-env-ref>
                </ejb:session>
                <ejb:session>
                    <ejb:ejb-name>EjbCommand</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbCommandDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbCommandDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                </ejb:session>               
				<ejb:message-driven>
    			  	<ejb:ejb-name>CommandDistributionBean</ejb:ejb-name>
					<ejb:resource-adapter>
						<ejb:resource-link>APPCommandQueueResource</ejb:resource-link>
			      	</ejb:resource-adapter>
					<ejb:activation-config>
					  <ejb:activation-config-property>
					   
<ejb:activation-config-property-name>destination</ejb:activation-config-property-name>
					   
<ejb:activation-config-property-value>APPCommandQueue</ejb:activation-config-property-value>
					  </ejb:activation-config-property>
					  <ejb:activation-config-property>
					   
<ejb:activation-config-property-name>destinationType</ejb:activation-config-property-name>
					   
<ejb:activation-config-property-value>javax.jms.Queue</ejb:activation-config-property-value>
					  </ejb:activation-config-property>
					</ejb:activation-config>
			    </ejb:message-driven>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>           
        
	<app:module>
        <app:ejb>EjbAlert.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbAlert</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbAlert</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbAlertDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbAlertDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>    
                    <name:resource-ref>
	                <name:ref-name>jms/AlertTriggerQCF</name:ref-name>
                   
<name:resource-link>APPAlertQueueConnectionFactory</name:resource-link>
                    </name:resource-ref>  
                    <name:resource-env-ref>
	                <name:ref-name>jms/AlertTriggerQueue</name:ref-name>
                   
<name:admin-object-link>APPAlertQueue</name:admin-object-link>
                    </name:resource-env-ref>                                   
                </ejb:session>
				<ejb:message-driven>
    			  	<ejb:ejb-name>ImmediateAlertingBean</ejb:ejb-name>
					<ejb:resource-adapter>
						<ejb:resource-link>APPAlertQueueResource</ejb:resource-link>
			      	</ejb:resource-adapter>
					<ejb:activation-config>
					  <ejb:activation-config-property>
					   
<ejb:activation-config-property-name>destination</ejb:activation-config-property-name>
					   
<ejb:activation-config-property-value>APPAlertQueue</ejb:activation-config-property-value>
					  </ejb:activation-config-property>
					  <ejb:activation-config-property>
					   
<ejb:activation-config-property-name>destinationType</ejb:activation-config-property-name>
					   
<ejb:activation-config-property-value>javax.jms.Queue</ejb:activation-config-property-value>
					  </ejb:activation-config-property>
					</ejb:activation-config>
			    </ejb:message-driven>                
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>        
      
	<app:module>
        <app:ejb>EjbMonitoring.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbMonitoring</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbMonitoring</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbMonitoringDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	               
<name:ref-name>jdbc/EjbMonitoringDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>                   
                </ejb:session>
                <ejb:session>
                    <ejb:ejb-name>EjbTree</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbMonitoringDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	               
<name:ref-name>jdbc/EjbMonitoringDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>                   
                </ejb:session>
                <ejb:session>
                    <ejb:ejb-name>EjbGroup</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbMonitoringDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	               
<name:ref-name>jdbc/EjbMonitoringDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>                   
                </ejb:session>  
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>         
       
	<app:module>
        <app:ejb>EjbMaintenance.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbMaintenance</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbMaintenance</ejb:ejb-name>
                    <name:resource-ref>
	               
<name:ref-name>jdbc/EjbMaintenanceDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	               
<name:ref-name>jdbc/EjbMaintenanceDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>                   
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>        
        
	<app:module>
        <app:ejb>EjbImport.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbImport</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbImport</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbImportDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbImportDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>                   
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>        
        
	<app:module>
        <app:ejb>EjbOneToOne.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbOneToOne</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbOneToOne</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbOneToOneDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbOneToOneDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>                   
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>          
        
	<app:module>
        <app:ejb>EjbParameter.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbParameter</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbParameter</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbParameterDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	               
<name:ref-name>jdbc/EjbParameterDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>                   
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>        
        
	<app:module>
        <app:ejb>EjbCashManagement.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbCashManagement</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbCashManagement</ejb:ejb-name>
                    <name:resource-ref>
	               
<name:ref-name>jdbc/EjbCashmanagementDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	               
<name:ref-name>jdbc/EjbCashmanagementDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>                   
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>          
        
	<app:module>
        <app:ejb>EjbReport.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbReport</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbReport</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbReportDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbReportDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>                   
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>        
    
	<app:module>
        <app:ejb>EjbCronJob.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbCronJob</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbCronJob</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbCronjobDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbCronjobDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>                   
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>     
        
	<app:module>
        <app:ejb>EjbDatabaseAccess.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbDatabaseAccess</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbDatabaseAccess</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbDBDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbDBDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>                   
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>          
        
	<app:module>
        <app:ejb>EjbCalendar.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbCalendar</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbCalendar</ejb:ejb-name>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbCalendarDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	                <name:ref-name>jdbc/EjbCalendarDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>                   
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>        
        
	<app:module>
        <app:ejb>EjbExchangeRate.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbExchangeRate</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbExchangeRate</ejb:ejb-name>
                    <name:resource-ref>
	               
<name:ref-name>jdbc/EjbExchangeRateDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	               
<name:ref-name>jdbc/EjbExchangeRateDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>                   
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>
    
 	<app:module>
        <app:ejb>EjbFileManagement.jar</app:ejb>
        <ejb:openejb-jar>
        
        	<dep:environment>
				<dep:moduleId>
					<dep:groupId>com.app</dep:groupId>
					<dep:artifactId>EjbFileManagement</dep:artifactId>
					<dep:version>3.4</dep:version>
					<dep:type>jar</dep:type>
				</dep:moduleId>
			</dep:environment>
			
            <ejb:enterprise-beans>
                <ejb:session>
                    <ejb:ejb-name>EjbExchangeRate</ejb:ejb-name>
                    <name:resource-ref>
	               
<name:ref-name>jdbc/EjbFileManagementDataSource</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>
                    <name:resource-ref>
	               
<name:ref-name>jdbc/EjbFileManagementDataSourceUR</name:ref-name>
                   
<name:resource-link>APPOperatorDataSource</name:resource-link>
                    </name:resource-ref>                   
                </ejb:session>
            </ejb:enterprise-beans>
        </ejb:openejb-jar>  
    </app:module>
    
    <!-- DB2 DataSource START
    <app:ext-module>
        <app:connector>APPOperatorDataSource</app:connector>
        <app:external-path>
            <dep:groupId>org.tranql</dep:groupId>
            <dep:artifactId>tranql-connector-ra</dep:artifactId>
            <dep:type>rar</dep:type>
        </app:external-path>
        <conn:connector>
            <dep:environment>
                <dep:moduleId>
                    <dep:groupId>console.dbpool</dep:groupId>
                    <dep:artifactId>APPOperatorDataSource</dep:artifactId>
                    <dep:version>1.0</dep:version>
                    <dep:type>rar</dep:type>
                </dep:moduleId>
                <dep:dependencies>
                    <dep:dependency>
                        <dep:groupId>com.ibm.db2</dep:groupId>
                        <dep:artifactId>db2jcc</dep:artifactId>
                        <dep:version>9.1</dep:version>
                        <dep:type>jar</dep:type>
                    </dep:dependency>
                    <dep:dependency>
                        <dep:groupId>com.ibm.db2</dep:groupId>
                        <dep:artifactId>db2jcc_license_cu</dep:artifactId>
                        <dep:version>9.1</dep:version>
                        <dep:type>jar</dep:type>
                    </dep:dependency>
                </dep:dependencies>
            </dep:environment>
            <conn:resourceadapter>
                <conn:outbound-resourceadapter>
                    <conn:connection-definition>
                       
<conn:connectionfactory-interface>javax.sql.DataSource</conn:connectionfactory-interface>
                        <conn:connectiondefinition-instance>
                            <conn:name>APPOperatorDataSource</conn:name>
                            <conn:config-property-setting
name="Password">appfs</conn:config-property-setting>
                            <conn:config-property-setting
name="Driver">com.ibm.db2.jcc.DB2Driver</conn:config-property-setting>
                            <conn:config-property-setting
name="UserName">appfs</conn:config-property-setting>
                            <conn:config-property-setting
name="ConnectionURL">jdbc:db2://localhost:50000/appfs</conn:config-property-setting>
                            <conn:config-property-setting
name="ExceptionSorterClass">org.tranql.connector.NoExceptionsAreFatalSorter</conn:config-property-setting>
                            <conn:connectionmanager>
                                <conn:local-transaction/>
                                <conn:single-pool>
                                    <conn:max-size>50</conn:max-size>
                                    <conn:min-size>1</conn:min-size>
                                    <conn:match-one/>
                                </conn:single-pool>
                            </conn:connectionmanager>
                        </conn:connectiondefinition-instance>
                    </conn:connection-definition>
                </conn:outbound-resourceadapter>
            </conn:resourceadapter>
        </conn:connector>
    </app:ext-module>
    
    <app:ext-module>
        <app:connector>APPOperatorDataSourceXA</app:connector>
        <app:external-path>
            <dep:groupId>org.tranql</dep:groupId>
            <dep:artifactId>tranql-connector-db2-xa</dep:artifactId>
            <dep:type>rar</dep:type>
        </app:external-path>
        <conn:connector>
            <dep:environment>
                <dep:moduleId>
                    <dep:groupId>console.dbpool</dep:groupId>
                    <dep:artifactId>APPOperatorDataSourceXA</dep:artifactId>
                    <dep:version>1.0</dep:version>
                    <dep:type>rar</dep:type>
                </dep:moduleId>
                <dep:dependencies>
                    <dep:dependency>
                        <dep:groupId>com.ibm.db2</dep:groupId>
                        <dep:artifactId>db2jcc</dep:artifactId>
                        <dep:version>9.1</dep:version>
                        <dep:type>jar</dep:type>
                    </dep:dependency>
                    <dep:dependency>
                        <dep:groupId>com.ibm.db2</dep:groupId>
                        <dep:artifactId>db2jcc_license_cu</dep:artifactId>
                        <dep:version>9.1</dep:version>
                        <dep:type>jar</dep:type>
                    </dep:dependency>
                </dep:dependencies>
            </dep:environment>
            <conn:resourceadapter>
                <conn:outbound-resourceadapter>
                    <conn:connection-definition>
                       
<conn:connectionfactory-interface>javax.sql.DataSource</conn:connectionfactory-interface>
                        <conn:connectiondefinition-instance>
                            <conn:name>APPOperatorDataSourceXA</conn:name>
                            <conn:config-property-setting
name="ServerName">localhost</conn:config-property-setting>
                            <conn:config-property-setting
name="DatabaseName">appfs</conn:config-property-setting>
                            <conn:config-property-setting
name="Password">appfs</conn:config-property-setting>
                            <conn:config-property-setting
name="UserName">appfs</conn:config-property-setting>
                            <conn:config-property-setting
name="PortNumber">50000</conn:config-property-setting>
                            <conn:connectionmanager>
                                <conn:local-transaction/>
                                <conn:single-pool>
                                    <conn:max-size>50</conn:max-size>
                                    <conn:min-size>1</conn:min-size>
                                    <conn:match-one/>
                                </conn:single-pool>
                            </conn:connectionmanager>
                        </conn:connectiondefinition-instance>
                    </conn:connection-definition>
                </conn:outbound-resourceadapter>
            </conn:resourceadapter>
        </conn:connector>
    </app:ext-module>
    DB2 DataSource END -->
    
    <!-- MSSQL DataSource START
    <app:ext-module>
        <app:connector>APPOperatorDataSource</app:connector>
        <app:external-path>
            <dep:groupId>org.tranql</dep:groupId>
            <dep:artifactId>tranql-connector-ra</dep:artifactId>
            <dep:type>rar</dep:type>
        </app:external-path>
        <conn:connector>
            <dep:environment>
                <dep:moduleId>
                    <dep:groupId>console.dbpool</dep:groupId>
                    <dep:artifactId>APPOperatorDataSource</dep:artifactId>
                    <dep:version>1.0</dep:version>
                    <dep:type>rar</dep:type>
                </dep:moduleId>
                <dep:dependencies>
                    <dep:dependency>
                        <dep:groupId>com.microsoft.sqlserver</dep:groupId>
                        <dep:artifactId>sqljdbc4</dep:artifactId>
                        <dep:version>2.0</dep:version>
                        <dep:type>jar</dep:type>
                    </dep:dependency>
                </dep:dependencies>
            </dep:environment>
            <conn:resourceadapter>
                <conn:outbound-resourceadapter>
                    <conn:connection-definition>
                       
<conn:connectionfactory-interface>javax.sql.DataSource</conn:connectionfactory-interface>
                        <conn:connectiondefinition-instance>
                            <conn:name>APPOperatorDataSource</conn:name>
                            <conn:config-property-setting
name="Password">Password1</conn:config-property-setting>
                            <conn:config-property-setting
name="Driver">com.microsoft.sqlserver.jdbc.SQLServerDriver</conn:config-property-setting>
                            <conn:config-property-setting
name="UserName">appfs</conn:config-property-setting>
                            <conn:config-property-setting
name="ConnectionURL">jdbc:sqlserver://vm-win2003-sql2008:1433;databaseName=appfs</conn:config-property-setting>
                            <conn:config-property-setting
name="ExceptionSorterClass">org.tranql.connector.NoExceptionsAreFatalSorter</conn:config-property-setting>
                            <conn:connectionmanager>
                                <conn:local-transaction/>
                                <conn:single-pool>
                                    <conn:max-size>50</conn:max-size>
                                    <conn:min-size>1</conn:min-size>
                                    <conn:match-one/>
                                </conn:single-pool>
                            </conn:connectionmanager>
                        </conn:connectiondefinition-instance>
                    </conn:connection-definition>
                </conn:outbound-resourceadapter>
            </conn:resourceadapter>
        </conn:connector>
    </app:ext-module>
    
    <app:ext-module>
        <app:connector>APPOperatorDataSourceXA</app:connector>
        <app:external-path>
            <dep:groupId>org.tranql</dep:groupId>
           
<dep:artifactId>tranql-connector-sqlserver2005-xa</dep:artifactId>
            <dep:type>rar</dep:type>
        </app:external-path>
        <conn:connector>
            <dep:environment>
                <dep:moduleId>
                    <dep:groupId>console.dbpool</dep:groupId>
                    <dep:artifactId>APPOperatorDataSourceXA</dep:artifactId>
                    <dep:version>1.0</dep:version>
                    <dep:type>rar</dep:type>
                </dep:moduleId>
                <dep:dependencies>
                    <dep:dependency>
                        <dep:groupId>com.microsoft.sqlserver</dep:groupId>
                        <dep:artifactId>sqljdbc4</dep:artifactId>
                        <dep:version>2.0</dep:version>
                        <dep:type>jar</dep:type>
                    </dep:dependency>
                </dep:dependencies>
            </dep:environment>
            <conn:resourceadapter>
                <conn:outbound-resourceadapter>
                    <conn:connection-definition>
                       
<conn:connectionfactory-interface>javax.sql.DataSource</conn:connectionfactory-interface>
                        <conn:connectiondefinition-instance>
                            <conn:name>APPOperatorDataSourceXA</conn:name>
                            <conn:config-property-setting
name="ServerName">vm-win2003-sql2008</conn:config-property-setting>
                            <conn:config-property-setting
name="DatabaseName">appfs</conn:config-property-setting>
                            <conn:config-property-setting
name="Password">Password1</conn:config-property-setting>
                            <conn:config-property-setting
name="UserName">appfs</conn:config-property-setting>
                            <conn:connectionmanager>
                                <conn:local-transaction/>
                                <conn:single-pool>
                                    <conn:max-size>50</conn:max-size>
                                    <conn:min-size>1</conn:min-size>
                                    <conn:match-one/>
                                </conn:single-pool>
                            </conn:connectionmanager>
                        </conn:connectiondefinition-instance>
                    </conn:connection-definition>
                </conn:outbound-resourceadapter>
            </conn:resourceadapter>
        </conn:connector>
    </app:ext-module>
    MSSQL DataSource END -->
    
    <!-- Oracle DataSource START -->
    <app:ext-module>
        <app:connector>APPOperatorDataSource</app:connector>
        <app:external-path>
            <dep:groupId>org.tranql</dep:groupId>
            <dep:artifactId>tranql-connector-oracle-local</dep:artifactId>
            <dep:type>rar</dep:type>
        </app:external-path>
        <conn:connector>
            <dep:environment>
                <dep:moduleId>
                    <dep:groupId>console.dbpool</dep:groupId>
                    <dep:artifactId>APPOperatorDataSource</dep:artifactId>
                    <dep:version>1.0</dep:version>
                    <dep:type>rar</dep:type>
                </dep:moduleId>
                <dep:dependencies>
                    <dep:dependency>
                        <dep:groupId>com.oracle</dep:groupId>
                        <dep:artifactId>ojdbc14</dep:artifactId>
                        <dep:version>10.2.0.2.0</dep:version>
                        <dep:type>jar</dep:type>
                    </dep:dependency>
                </dep:dependencies>
            </dep:environment>
            <conn:resourceadapter>
                <conn:outbound-resourceadapter>
                    <conn:connection-definition>
                       
<conn:connectionfactory-interface>javax.sql.DataSource</conn:connectionfactory-interface>
                        <conn:connectiondefinition-instance>
                            <conn:name>APPOperatorDataSource</conn:name>
                            <conn:config-property-setting
name="DatabaseName">XE</conn:config-property-setting>
                            <conn:config-property-setting
name="UserName">appfs</conn:config-property-setting>
                            <conn:config-property-setting
name="Password">appfs</conn:config-property-setting>
                            <conn:config-property-setting
name="ServerName">192.168.26.196</conn:config-property-setting>
                            <conn:config-property-setting
name="PortNumber">1521</conn:config-property-setting>
                            <conn:config-property-setting
name="DriverType">thin</conn:config-property-setting>
                            <conn:connectionmanager>
                                <conn:local-transaction/>
                                <conn:single-pool>
                                    <conn:max-size>50</conn:max-size>
                                    <conn:min-size>1</conn:min-size>
                                    <conn:match-one/>
                                </conn:single-pool>
                            </conn:connectionmanager>
                        </conn:connectiondefinition-instance>
                    </conn:connection-definition>
                </conn:outbound-resourceadapter>
            </conn:resourceadapter>
        </conn:connector>
    </app:ext-module>

    <app:ext-module>
        <app:connector>APPOperatorDataSourceXA</app:connector>
        <app:external-path>
            <dep:groupId>org.tranql</dep:groupId>
            <dep:artifactId>tranql-connector-oracle-xa</dep:artifactId>
            <dep:type>rar</dep:type>
        </app:external-path>
        <conn:connector>
            <dep:environment>
                <dep:moduleId>
                    <dep:groupId>console.dbpool</dep:groupId>
                    <dep:artifactId>APPOperatorDataSourceXA</dep:artifactId>
                    <dep:version>1.0</dep:version>
                    <dep:type>rar</dep:type>
                </dep:moduleId>
                <dep:dependencies>
                    <dep:dependency>
                        <dep:groupId>com.oracle</dep:groupId>
                        <dep:artifactId>ojdbc14</dep:artifactId>
                        <dep:version>10.2.0.2.0</dep:version>
                        <dep:type>jar</dep:type>
                    </dep:dependency>
                </dep:dependencies>
            </dep:environment>
            <conn:resourceadapter>
                <conn:outbound-resourceadapter>
                    <conn:connection-definition>
                       
<conn:connectionfactory-interface>javax.sql.DataSource</conn:connectionfactory-interface>
                        <conn:connectiondefinition-instance>
                            <conn:name>APPOperatorDataSourceXA</conn:name>
                            <conn:config-property-setting
name="DatabaseName">XE</conn:config-property-setting>
                            <conn:config-property-setting
name="UserName">appfs</conn:config-property-setting>
                            <conn:config-property-setting
name="Password">appfs</conn:config-property-setting>
                            <conn:config-property-setting
name="ServerName">192.168.26.196</conn:config-property-setting>
                            <conn:config-property-setting
name="PortNumber">1521</conn:config-property-setting>
                            <conn:config-property-setting
name="DriverType">thin</conn:config-property-setting>
                            <conn:connectionmanager>
                                <conn:local-transaction/>
                                <conn:single-pool>
                                    <conn:max-size>50</conn:max-size>
                                    <conn:min-size>1</conn:min-size>
                                    <conn:match-one/>
                                </conn:single-pool>
                            </conn:connectionmanager>
                        </conn:connectiondefinition-instance>
                    </conn:connection-definition>
                </conn:outbound-resourceadapter>
            </conn:resourceadapter>
        </conn:connector>
    </app:ext-module>
    <!-- Oracle DataSource END -->
    
    <app:ext-module>
		<app:connector>APPArchiveQueueConnector</app:connector>
		<app:external-path>
			<dep:groupId>org.apache.geronimo.modules</dep:groupId>
			<dep:artifactId>geronimo-activemq-ra</dep:artifactId>
    	</app:external-path>    	
    	<conn:connector>
           <conn:resourceadapter>
                <conn:resourceadapter-instance>
                   
<conn:resourceadapter-name>APPArchiveQueueResource</conn:resourceadapter-name>
                    <name:workmanager>
                       
<name:gbean-link>DefaultWorkManager</name:gbean-link>
                    </name:workmanager>
                </conn:resourceadapter-instance>
                <conn:outbound-resourceadapter>
                    <conn:connection-definition>
                       
<conn:connectionfactory-interface>javax.jms.ConnectionFactory</conn:connectionfactory-interface>
                        <conn:connectiondefinition-instance>
                           
<conn:name>APPArchiveQueueConnectionFactory</conn:name>
                           
<conn:implemented-interface>javax.jms.QueueConnectionFactory</conn:implemented-interface>
                           
<conn:implemented-interface>javax.jms.TopicConnectionFactory</conn:implemented-interface>
                            <conn:connectionmanager>
                                <conn:xa-transaction>
                                    <conn:transaction-caching/>
                                </conn:xa-transaction>
                                <conn:single-pool>
                                    <conn:match-one/>
                                </conn:single-pool>
                            </conn:connectionmanager>
                        </conn:connectiondefinition-instance>
                    </conn:connection-definition>
                </conn:outbound-resourceadapter>
            </conn:resourceadapter>
            <conn:adminobject>
               
<conn:adminobject-interface>javax.jms.Queue</conn:adminobject-interface>
               
<conn:adminobject-class>org.apache.activemq.command.ActiveMQQueue</conn:adminobject-class>
                <conn:adminobject-instance>
                   
<conn:message-destination-name>APPArchiveQueue</conn:message-destination-name>
                    <conn:config-property-setting
name="PhysicalName">APPArchiveQueue</conn:config-property-setting>
                </conn:adminobject-instance>
            </conn:adminobject>
        </conn:connector>
    </app:ext-module>
    
    <app:ext-module>
		<app:connector>APPCommandQueueConnector</app:connector>
		<app:external-path>
			<dep:groupId>org.apache.geronimo.modules</dep:groupId>
			<dep:artifactId>geronimo-activemq-ra</dep:artifactId>
    	</app:external-path>    	
    	<conn:connector>
           <conn:resourceadapter>
                <conn:resourceadapter-instance>
                   
<conn:resourceadapter-name>APPCommandQueueResource</conn:resourceadapter-name>
                    <name:workmanager>
                       
<name:gbean-link>DefaultWorkManager</name:gbean-link>
                    </name:workmanager>
                </conn:resourceadapter-instance>
                <conn:outbound-resourceadapter>
                    <conn:connection-definition>
                       
<conn:connectionfactory-interface>javax.jms.ConnectionFactory</conn:connectionfactory-interface>
                        <conn:connectiondefinition-instance>
                           
<conn:name>APPCommandQueueConnectionFactory</conn:name>
                           
<conn:implemented-interface>javax.jms.QueueConnectionFactory</conn:implemented-interface>
                           
<conn:implemented-interface>javax.jms.TopicConnectionFactory</conn:implemented-interface>
                            <conn:connectionmanager>
                                <conn:xa-transaction>
                                    <conn:transaction-caching/>
                                </conn:xa-transaction>
                                <conn:single-pool>
                                    <conn:match-one/>
                                </conn:single-pool>
                            </conn:connectionmanager>
                        </conn:connectiondefinition-instance>
                    </conn:connection-definition>
                </conn:outbound-resourceadapter>
            </conn:resourceadapter>
            <conn:adminobject>
               
<conn:adminobject-interface>javax.jms.Queue</conn:adminobject-interface>
               
<conn:adminobject-class>org.apache.activemq.command.ActiveMQQueue</conn:adminobject-class>
                <conn:adminobject-instance>
                   
<conn:message-destination-name>APPCommandQueue</conn:message-destination-name>
                    <conn:config-property-setting
name="PhysicalName">APPCommandQueue</conn:config-property-setting>
                </conn:adminobject-instance>
            </conn:adminobject>
        </conn:connector>
    </app:ext-module>    
    
    <app:ext-module>
		<app:connector>APPAlertQueueConnector</app:connector>
		<app:external-path>
			<dep:groupId>org.apache.geronimo.modules</dep:groupId>
			<dep:artifactId>geronimo-activemq-ra</dep:artifactId>
    	</app:external-path>    	
    	<conn:connector>
           <conn:resourceadapter>
                <conn:resourceadapter-instance>
                   
<conn:resourceadapter-name>APPAlertQueueResource</conn:resourceadapter-name>
                    <name:workmanager>
                       
<name:gbean-link>DefaultWorkManager</name:gbean-link>
                    </name:workmanager>
                </conn:resourceadapter-instance>
                <conn:outbound-resourceadapter>
                    <conn:connection-definition>
                       
<conn:connectionfactory-interface>javax.jms.ConnectionFactory</conn:connectionfactory-interface>
                        <conn:connectiondefinition-instance>
                           
<conn:name>APPAlertQueueConnectionFactory</conn:name>
                           
<conn:implemented-interface>javax.jms.QueueConnectionFactory</conn:implemented-interface>
                           
<conn:implemented-interface>javax.jms.TopicConnectionFactory</conn:implemented-interface>
                            <conn:connectionmanager>
                                <conn:xa-transaction>
                                    <conn:transaction-caching/>
                                </conn:xa-transaction>
                                <conn:single-pool>
                                    <conn:match-one/>
                                </conn:single-pool>
                            </conn:connectionmanager>
                        </conn:connectiondefinition-instance>
                    </conn:connection-definition>
                </conn:outbound-resourceadapter>
            </conn:resourceadapter>
            <conn:adminobject>
               
<conn:adminobject-interface>javax.jms.Queue</conn:adminobject-interface>
               
<conn:adminobject-class>org.apache.activemq.command.ActiveMQQueue</conn:adminobject-class>
                <conn:adminobject-instance>
                   
<conn:message-destination-name>APPAlertQueue</conn:message-destination-name>
                    <conn:config-property-setting
name="PhysicalName">APPAlertQueue</conn:config-property-setting>
                </conn:adminobject-instance>
            </conn:adminobject>
        </conn:connector>
    </app:ext-module>
    
	<sec:security>
		<sec:default-principal realm-name="APPOperatorSecurity">
			<sec:principal name="anonymous"
class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal"/>
		</sec:default-principal>
		<sec:role-mappings>	
			<sec:role role-name="ManageHolidaysRole">
				<sec:description>ManageHolidaysRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="MonitoringRole">
				<sec:description>MonitoringRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Computer Center Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Service Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="ExecuteCommandRole">
				<sec:description>ExecuteCommandRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Computer Center Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Service Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>		
			<sec:role role-name="AddUserRole">
				<sec:description>AddUserRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>	
			<sec:role role-name="ChangeUserRole">
				<sec:description>ChangeUserRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>	
			<sec:role role-name="DeleteUserRole">
				<sec:description>DeleteUserRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>		
			<sec:role role-name="AddTerminalRole">
				<sec:description>AddTerminalRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>	
			<sec:role role-name="ChangeTerminalRole">
				<sec:description>ChangeTerminalRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>	
			<sec:role role-name="DeleteTerminalRole">
				<sec:description>DeleteTerminalRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>			
			<sec:role role-name="ChangeManagedTerminalsRole">
				<sec:description>ChangeManagedTerminalsRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>		
			<sec:role role-name="ViewUserJournalRole">
				<sec:description>ViewUserJournalRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Computer Center Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="DatabaseQueryRole">
				<sec:description>DatabaseQueryRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="ViewDivaPicturesRole">
				<sec:description>ViewDivaPicturesRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Computer Center Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>		
			<sec:role role-name="ManageTerminalTypeRole">
				<sec:description>ManageTerminalTypeRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>		
			<sec:role role-name="ExecuteRequestRole">
				<sec:description>ExecuteRequestRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Computer Center Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Service Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>			
			<sec:role role-name="ManageCompanyRole">
				<sec:description>ManageCompanyRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>		
			<sec:role role-name="ExecuteBankSpecificCommandRole">
				<sec:description>ExecuteBankSpecificCommandRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Computer Center Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="ExecuteBankSpecificRequestRole">
				<sec:description>ExecuteBankSpecificRequestRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="ChangeProfileRole">
				<sec:description>ChangeProfileRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="ExecuteRZAdminSpecificCommandRole">
				<sec:description>ExecuteRZAdminSpecificCommandRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="ExecuteOSSpecificCommandRole">
				<sec:description>ExecuteOSSpecificCommandRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="DataTransferRole">
				<sec:description>DataTransferRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="TestRole">
				<sec:description>TestRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="AdminAlertingRole">
				<sec:description>AdminAlertingRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="APPFSTestRole">
				<sec:description>APPFSTestRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>					
			<sec:role role-name="EditUserRole">
				<sec:description>EditUserRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>						
			<sec:role role-name="EditProfileRole">
				<sec:description>EditProfileRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>						
			<sec:role role-name="EditManagedTerminalsRole">
				<sec:description>EditManagedTerminalsRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>						
			<sec:role role-name="EditTerminalRole">
				<sec:description>EditTerminalRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>						
			<sec:role role-name="ViewActionLogRole">
				<sec:description>ViewActionLogRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Computer Center Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="ManageBranchOfficeRole">
				<sec:description>ManageBranchOfficeRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="ManageServiceCompanyRole">
				<sec:description>ManageServiceCompanyRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="ManageTerminalManufacturerRole">
				<sec:description>ManageTerminalManufacturerRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="AppfsTestRole">
				<sec:description>AppfsTestRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="EditOwnUserRole">
				<sec:description>EditOwnUserRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Computer Center Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Service Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="ManageAlertViewRole">
				<sec:description>ManageAlertViewRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="ManageEventFilterRole">
				<sec:description>ManageEventFilterRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="ViewAlertViewRole">
				<sec:description>ViewAlertViewRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Computer Center Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Service Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="ImportBankRole">
				<sec:description>ImportBankRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="ManageClientRole">
				<sec:description>ManageClientRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="ManageAdvertisementResourcesRole">
				<sec:description>ManageAdvertisementResourcesRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Computer Center Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="ManageAdvertisementsRole">
				<sec:description>ManageAdvertisementsRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Computer Center Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="ManageCommandsRole">
				<sec:description>ManageCommandsRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="ViewCommandsRole">
				<sec:description>ViewCommandsRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Computer Center Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Service Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="BaseRole">
				<sec:description>BaseRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Computer Center Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Service Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="FilterMainInputEventsRole">
				<sec:description>FilterMainInputEventsRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>							
			<sec:role role-name="ManageCronJobsRole">
				<sec:description>ManageCronJobsRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="ViewStatisticsRole">
				<sec:description>ViewStatisticsRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
				</sec:realm>
			</sec:role>
			<sec:role role-name="AvailabilityStatisticsRole">
				<sec:description>AvailabilityStatisticsRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
				</sec:realm>
			</sec:role>
			<sec:role role-name="FailureStatisticsRole">
				<sec:description>FailureStatisticsRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
				</sec:realm>
			</sec:role>
			<sec:role role-name="ProcessPublicationRequestRole">
				<sec:description>ProcessPublicationRequestRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="EditDeleteCommandTemplatesRole">
				<sec:description>EditDeleteCommandTemplatesRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="CreateCommandTemplatesRole">
				<sec:description>CreateCommandTemplatesRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="ViewCommandTemplatesRole">
				<sec:description>ViewCommandTemplatesRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Computer Center Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Service Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="ViewTerminalRole">
				<sec:description>ViewTerminalRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Computer Center Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="ViewUserRole">
				<sec:description>ViewUserRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Computer Center Employee"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="GenerateReportRole">
				<sec:description>GenerateReportRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="AddTerminalParameterRole">
				<sec:description>AddTerminalParameterRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="EditTerminalParameterRole">
				<sec:description>EditTerminalParameterRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="DeleteTerminalParameterRole">
				<sec:description>DeleteTerminalParameterRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="AddTerminalParameterAssignmentRole">
				<sec:description>AddTerminalParameterAssignmentRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="EditTerminalParameterAssignmentRole">
				<sec:description>EditTerminalParameterAssignmentRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="RemoveTerminalParameterAssignmentRole">
				<sec:description>RemoveTerminalParameterAssignmentRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="AddClientsTerminalParameterAssignmentRole">
			
<sec:description>AddClientsTerminalParameterAssignmentRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="EditClientsTerminalParameterAssignmentRole">
			
<sec:description>EditClientsTerminalParameterAssignmentRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="RemoveClientsTerminalParameterAssignmentRole">
			
<sec:description>RemoveClientsTerminalParameterAssignmentRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="OptimiseCashManagementRole">
				<sec:description>OptimiseCashManagementRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="MonitoringCashManagementRole">
				<sec:description>MonitoringCashManagementRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="UploadReportRole">
				<sec:description>UploadReportRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="EditReportRole">
				<sec:description>EditReportRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="RemoveReportRole">
				<sec:description>RemoveReportRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="AddMonitoringGroupRole">
				<sec:description>AddMonitoringGroupRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="EditMonitoringGroupRole">
				<sec:description>EditMonitoringGroupRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="DeleteMonitoringGroupRole">
				<sec:description>DeleteMonitoringGroupRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="AddExchangeRateRole">
				<sec:description>AddExchangeRateRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="DeleteExchangeRateRole">
				<sec:description>DeleteExchangeRateRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
			<sec:role role-name="EditExchangeRateRole">
				<sec:description>EditExchangeRateRole</sec:description>
				<sec:realm realm-name="APPOperatorSecurity">
					<sec:principal name="Computer Center Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
					<sec:principal name="Bank Administrator"
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
				</sec:realm>
			</sec:role>
		</sec:role-mappings>
	</sec:security>   
	
	<gbean name="APPOperatorSecurity"
class="org.apache.geronimo.security.realm.GenericSecurityRealm"
xsi:type="dep:gbeanType"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <attribute name="realmName">APPOperatorSecurity</attribute>
        <reference name="ServerInfo">
            <name>ServerInfo</name>
        </reference>
        <xml-reference name="LoginModuleConfiguration">
            <log:login-config
xmlns:log="http://geronimo.apache.org/xml/ns/loginconfig-2.0">
                <log:login-module control-flag="REQUIRED"
wrap-principals="false">
                   
<log:login-domain-name>APPOperatorSecurity</log:login-domain-name>
                   
<log:login-module-class>com.app.app.server.security.geronimo.APPGeronimoLoginModule</log:login-module-class>
                    <log:option
name="dataSourceApplication">com.app/APPOperator/3.4/car</log:option>
                    <log:option
name="dataSourceName">APPOperatorDataSource</log:option>
                    <log:option name="delimiter">.</log:option>
                </log:login-module>
            </log:login-config>
        </xml-reference>
    </gbean> 
    
    <gbean name="APPMail" class="org.apache.geronimo.mail.MailGBean">
      <attribute name="transportProtocol">smtp</attribute>
      <attribute name="useDefault">false</attribute>
      <attribute name="host">smtp.sbg.app.com</attribute>
      <attribute name="properties">
         mail.debug=false
         mail.smtp.port=25
         mail.smtp.from=testmail-appoperator@app.com
         <!--mail.smtp.user=username
         mail.smtp.password=password
         mail.smtp.auth=true-->
      </attribute>
    </gbean>
    
</app:application>







---------- config.xml:



<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<attributes xmlns="http://geronimo.apache.org/xml/ns/attributes-1.2"
xmlns:ns2="http://geronimo.apache.org/xml/ns/plugins-1.3">
    <comment>
==================================================================
Warning - This XML file is regenerated by Geronimo whenever
changes are made to Geronimo's configuration.

If you want to include comments, create a single comment element
element.  They are allowable at any level of the configuration.

!!!! Do not edit this file while Geronimo is running !!!!
==================================================================</comment>
    <module name="org.apache.geronimo.framework/client-system/2.1.4/car"
load="false"/>
    <module name="org.apache.geronimo.framework/online-deployer/2.1.4/car"
load="false"/>
    <module name="org.apache.geronimo.framework/gshell-geronimo/2.1.4/car"/>
    <module
name="org.apache.geronimo.framework/gshell-framework/2.1.4/car"/>
    <module name="org.apache.geronimo.framework/j2ee-system/2.1.4/car"/>
    <module name="org.apache.geronimo.framework/shutdown/2.1.4/car"
load="false"/>
    <module
name="org.apache.geronimo.framework/transformer-agent/2.1.4/car"/>
    <module name="com.ibm.wasce.configs/collector-tool-config/2.1.1.3/car"/>
    <module
name="com.ibm.wasce.configs/collector-tool-agent-config/2.1.1.3/car"/>
    <module name="org.apache.geronimo.configs/jasper/2.1.4/car"/>
    <module name="org.apache.geronimo.configs/j2ee-server/2.1.4/car"/>
    <module name="org.apache.geronimo.framework/rmi-naming/2.1.4/car">
        <gbean name="RMIRegistry">
            <attribute name="port">${NamingPort + PortOffset}</attribute>
            <attribute name="host">${ServerHostname}</attribute>
        </gbean>
        <gbean name="NamingProperties">
            <attribute
name="namingProviderUrl">rmi://${ServerHostname}:${NamingPort +
PortOffset}</attribute>
        </gbean>
        <gbean name="DefaultThreadPool">
            <attribute name="keepAliveTime">30000</attribute>
            <attribute name="minPoolSize">${MinThreadPoolSize}</attribute>
            <attribute name="maxPoolSize">${MaxThreadPoolSize}</attribute>
        </gbean>
    </module>
    <module name="org.apache.geronimo.framework/jee-specs/2.1.4/car"/>
    <module
name="org.apache.geronimo.framework/server-security-config/2.1.4/car"/>
    <module name="org.apache.geronimo.framework/j2ee-security/2.1.4/car">
        <gbean name="JMXService">
            <attribute name="protocol">rmi</attribute>
            <attribute name="host">${ServerHostname}</attribute>
            <attribute name="port">${JMXPort + PortOffset}</attribute>
            <attribute
name="urlPath">/jndi/rmi://${ServerHostname}:${NamingPort +
PortOffset}/JMXConnector</attribute>
        </gbean>
        <gbean
name="org.apache.geronimo.framework/j2ee-security/2.1.4/car?ServiceModule=org.apache.geronimo.framework/j2ee-security/2.1.4/car,j2eeType=Keystore,name=ca-keystore"
gbeanInfo="org.apache.geronimo.security.keystore.FileKeystoreInstance">
            <attribute
name="keystorePath">var/security/keystores/ca-keystore</attribute>
            <attribute name="keystoreType">JKS</attribute>
            <attribute name="keystoreName">ca-keystore</attribute>
            <attribute
name="keystorePassword">{Simple}rO0ABXNyABlqYXZheC5jcnlwdG8uU2VhbGVkT2JqZWN0PjY9psO3VHACAARbAA1lbmNvZGVkUGFyYW1zdAACW0JbABBlbmNyeXB0ZWRDb250ZW50cQB+AAFMAAlwYXJhbXNBbGd0ABJMamF2YS9sYW5nL1N0cmluZztMAAdzZWFsQWxncQB+AAJ4cHB1cgACW0Ks8xf4BghU4AIAAHhwAAAAEGA0MvZGnBrCcxQJjKfFLShwdAADQUVT</attribute>
            <attribute
name="keyPasswords">{Simple}rO0ABXNyABlqYXZheC5jcnlwdG8uU2VhbGVkT2JqZWN0PjY9psO3VHACAARbAA1lbmNvZGVkUGFyYW1zdAACW0JbABBlbmNyeXB0ZWRDb250ZW50cQB+AAFMAAlwYXJhbXNBbGd0ABJMamF2YS9sYW5nL1N0cmluZztMAAdzZWFsQWxncQB+AAJ4cHB1cgACW0Ks8xf4BghU4AIAAHhwAAAAIPvLdYRhJilRV1j5BzKHH8cVW0gONUWBYrp6pjZI7fMccHQAA0FFUw==</attribute>
            <reference name="ServerInfo">
                <pattern>
                    <groupId>org.apache.geronimo.framework</groupId>
                    <artifactId>j2ee-system</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>ServerInfo</name>
                </pattern>
            </reference>
        </gbean>
        <gbean
name="org.apache.geronimo.framework/j2ee-security/2.1.4/car?ServiceModule=org.apache.geronimo.framework/j2ee-security/2.1.4/car,j2eeType=CertificateStore,name=geronimo-ca-cert-store"
gbeanInfo="org.apache.geronimo.security.ca.FileCertificateStore">
            <attribute
name="directoryPath">var/security/ca/certs</attribute>
            <reference name="ServerInfo">
                <pattern>
                    <groupId>org.apache.geronimo.framework</groupId>
                    <artifactId>j2ee-system</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>ServerInfo</name>
                </pattern>
            </reference>
        </gbean>
        <gbean
name="org.apache.geronimo.framework/j2ee-security/2.1.4/car?ServiceModule=org.apache.geronimo.framework/j2ee-security/2.1.4/car,j2eeType=CertificateRequestStore,name=geronimo-ca-cert-req-store"
gbeanInfo="org.apache.geronimo.security.ca.FileCertificateRequestStore">
            <attribute
name="directoryPath">var/security/ca/requests</attribute>
            <reference name="ServerInfo">
                <pattern>
                    <groupId>org.apache.geronimo.framework</groupId>
                    <artifactId>j2ee-system</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>ServerInfo</name>
                </pattern>
            </reference>
        </gbean>
        <gbean
name="org.apache.geronimo.framework/j2ee-security/2.1.4/car?ServiceModule=org.apache.geronimo.framework/j2ee-security/2.1.4/car,j2eeType=CertificationAuthority,name=geronimo-ca"
gbeanInfo="org.apache.geronimo.security.ca.GeronimoCertificationAuthority">
            <reference name="ServerInfo">
                <pattern>
                    <groupId>org.apache.geronimo.framework</groupId>
                    <artifactId>j2ee-system</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>ServerInfo</name>
                </pattern>
            </reference>
            <reference name="KeystoreInstance">
                <pattern>
                    <groupId>org.apache.geronimo.framework</groupId>
                    <artifactId>j2ee-security</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>ca-keystore</name>
                </pattern>
            </reference>
            <reference name="CertificateRequestStore">
                <pattern>
                    <groupId>org.apache.geronimo.framework</groupId>
                    <artifactId>j2ee-security</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>geronimo-ca-cert-req-store</name>
                </pattern>
            </reference>
            <reference name="CertificateStore">
                <pattern>
                    <groupId>org.apache.geronimo.framework</groupId>
                    <artifactId>j2ee-security</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>geronimo-ca-cert-store</name>
                </pattern>
            </reference>
        </gbean>
        <gbean
name="org.apache.geronimo.framework/j2ee-security/2.1.4/car?ServiceModule=org.apache.geronimo.framework/j2ee-security/2.1.4/car,j2eeType=Keystore,name=test"
gbeanInfo="org.apache.geronimo.security.keystore.FileKeystoreInstance">
            <attribute
name="keystorePath">var/security/keystores/test</attribute>
            <attribute name="keystoreType">JKS</attribute>
            <attribute name="keystoreName">test</attribute>
            <reference name="ServerInfo">
                <pattern>
                    <groupId>org.apache.geronimo.framework</groupId>
                    <artifactId>j2ee-system</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>ServerInfo</name>
                </pattern>
            </reference>
        </gbean>
        <gbean
name="org.apache.geronimo.framework/j2ee-security/2.1.4/car?ServiceModule=org.apache.geronimo.framework/j2ee-security/2.1.4/car,j2eeType=Keystore,name=keba-geronimo"
gbeanInfo="org.apache.geronimo.security.keystore.FileKeystoreInstance">
            <attribute
name="keystorePath">var/security/keystores/keba-geronimo</attribute>
            <attribute name="keystoreType">JKS</attribute>
            <attribute name="keystoreName">keba-geronimo</attribute>
            <attribute
name="keystorePassword">{Simple}rO0ABXNyABlqYXZheC5jcnlwdG8uU2VhbGVkT2JqZWN0PjY9psO3VHACAARbAA1lbmNvZGVkUGFyYW1zdAACW0JbABBlbmNyeXB0ZWRDb250ZW50cQB+AAFMAAlwYXJhbXNBbGd0ABJMamF2YS9sYW5nL1N0cmluZztMAAdzZWFsQWxncQB+AAJ4cHB1cgACW0Ks8xf4BghU4AIAAHhwAAAAEGA0MvZGnBrCcxQJjKfFLShwdAADQUVT</attribute>
            <attribute
name="keyPasswords">{Simple}rO0ABXNyABlqYXZheC5jcnlwdG8uU2VhbGVkT2JqZWN0PjY9psO3VHACAARbAA1lbmNvZGVkUGFyYW1zdAACW0JbABBlbmNyeXB0ZWRDb250ZW50cQB+AAFMAAlwYXJhbXNBbGd0ABJMamF2YS9sYW5nL1N0cmluZztMAAdzZWFsQWxncQB+AAJ4cHB1cgACW0Ks8xf4BghU4AIAAHhwAAAAIPNkkH/yVpcSENaKnR3qD5LSOb5/VJHfGAbvUiFXSM3OcHQAA0FFUw==</attribute>
            <reference name="ServerInfo">
                <pattern>
                    <groupId>org.apache.geronimo.framework</groupId>
                    <artifactId>j2ee-system</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>ServerInfo</name>
                </pattern>
            </reference>
        </gbean>
    </module>
    <module name="org.apache.geronimo.configs/transaction/2.1.4/car">
        <gbean name="XidFactory">
            <attribute name="tmId">${TmId}</attribute>
        </gbean>
        <gbean name="ResourceBindings">
            <attribute name="format">${ResourceBindingsFormat}</attribute>
            <attribute
name="nameInNamespace">${ResourceBindingsNameInNamespace}</attribute>
            <attribute
name="namePattern">${ResourceBindingsNamePattern}</attribute>
            <attribute
name="abstractNameQuery">${ResourceBindingsQuery}</attribute>
        </gbean>
    </module>
    <module name="org.apache.geronimo.configs/tomcat6/2.1.4/car">
        <gbean name="TomcatEngine">
            <attribute name="initParams">name=Geronimo
    					jvmRoute=${ClusterNodeName}</attribute>
            <reference name="CatalinaCluster">
                <pattern>
                    <groupId>org.apache.geronimo.configs</groupId>
                    <artifactId>tomcat6</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>TomcatCluster</name>
                </pattern>
            </reference>
        </gbean>
        <gbean
name="org.apache.geronimo.configs/tomcat6/2.1.4/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.1.4/car,j2eeType=Cluster,name=TomcatCluster"
gbeanInfo="org.apache.geronimo.tomcat.cluster.CatalinaClusterGBean">
            <attribute
name="className">org.apache.catalina.ha.tcp.SimpleTcpCluster</attribute>
            <attribute name="initParams"/>
            <reference name="ClusterListenerChain">
                <pattern>
                    <groupId>org.apache.geronimo.configs</groupId>
                    <artifactId>tomcat6</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>JvmRouteSessionIDBinderListener</name>
                </pattern>
            </reference>
            <reference name="TomcatValveChain">
                <pattern>
                    <groupId>org.apache.geronimo.configs</groupId>
                    <artifactId>tomcat6</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>ReplicationValve</name>
                </pattern>
            </reference>
            <reference name="Channel">
                <pattern>
                    <groupId>org.apache.geronimo.configs</groupId>
                    <artifactId>tomcat6</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>TomcatChannel</name>
                </pattern>
            </reference>
        </gbean>
        <gbean
name="org.apache.geronimo.configs/tomcat6/2.1.4/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.1.4/car,j2eeType=ClusterListener,name=JvmRouteSessionIDBinderListener"
gbeanInfo="org.apache.geronimo.tomcat.cluster.ClusterListenerGBean">
            <attribute
name="className">org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener</attribute>
            <attribute name="initParams"/>
            <reference name="NextListener">
                <pattern>
                    <groupId>org.apache.geronimo.configs</groupId>
                    <artifactId>tomcat6</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>TomcatClusterListener</name>
                </pattern>
            </reference>
        </gbean>
        <gbean
name="org.apache.geronimo.configs/tomcat6/2.1.4/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.1.4/car,j2eeType=ClusterListener,name=TomcatClusterListener"
gbeanInfo="org.apache.geronimo.tomcat.cluster.ClusterListenerGBean">
            <attribute
name="className">org.apache.catalina.ha.session.ClusterSessionListener</attribute>
            <attribute name="initParams"/>
        </gbean>
        <gbean
name="org.apache.geronimo.configs/tomcat6/2.1.4/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.1.4/car,j2eeType=TomcatValve,name=ReplicationValve"
gbeanInfo="org.apache.geronimo.tomcat.ValveGBean">
            <attribute
name="className">org.apache.catalina.ha.tcp.ReplicationValve</attribute>
            <attribute
name="initParams">.*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;</attribute>
            <reference name="NextValve">
                <pattern>
                    <groupId>org.apache.geronimo.configs</groupId>
                    <artifactId>tomcat6</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>JvmRouteBinderValve</name>
                </pattern>
            </reference>
        </gbean>
        <gbean
name="org.apache.geronimo.configs/tomcat6/2.1.4/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.1.4/car,j2eeType=TomcatValve,name=JvmRouteBinderValve"
gbeanInfo="org.apache.geronimo.tomcat.ValveGBean">
            <attribute
name="className">org.apache.catalina.ha.session.JvmRouteBinderValve</attribute>
            <attribute name="initParams"/>
        </gbean>
        <gbean
name="org.apache.geronimo.configs/tomcat6/2.1.4/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.1.4/car,j2eeType=Channel,name=TomcatChannel"
gbeanInfo="org.apache.geronimo.tomcat.cluster.ChannelGBean">
            <attribute
name="className">org.apache.catalina.tribes.group.GroupChannel</attribute>
            <attribute name="initParams"/>
            <reference name="Membership">
                <pattern>
                    <groupId>org.apache.geronimo.configs</groupId>
                    <artifactId>tomcat6</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>ClusterMembership</name>
                </pattern>
            </reference>
            <reference name="Receiver">
                <pattern>
                    <groupId>org.apache.geronimo.configs</groupId>
                    <artifactId>tomcat6</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>ClusterReceiver</name>
                </pattern>
            </reference>
            <reference name="Sender">
                <pattern>
                    <groupId>org.apache.geronimo.configs</groupId>
                    <artifactId>tomcat6</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>ClusterSender</name>
                </pattern>
            </reference>
        </gbean>
        <gbean
name="org.apache.geronimo.configs/tomcat6/2.1.4/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.1.4/car,j2eeType=MembershipService,name=ClusterMembership"
gbeanInfo="org.apache.geronimo.tomcat.cluster.MembershipServiceGBean">
            <attribute
name="className">org.apache.catalina.tribes.membership.McastService</attribute>
            <attribute name="initParams">address=228.0.0.4
					port=45564
					frequency=500
					dropTime=3000</attribute>
        </gbean>
        <gbean
name="org.apache.geronimo.configs/tomcat6/2.1.4/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.1.4/car,j2eeType=Receiver,name=ClusterReceiver"
gbeanInfo="org.apache.geronimo.tomcat.cluster.ReceiverGBean">
            <attribute
name="className">org.apache.catalina.tribes.transport.nio.NioReceiver</attribute>
            <attribute name="initParams">address=auto
        				port=4001
					selectorTimeout=100
        				maxThreads=6</attribute>
        </gbean>
        <gbean
name="org.apache.geronimo.configs/tomcat6/2.1.4/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.1.4/car,j2eeType=Sender,name=ClusterSender"
gbeanInfo="org.apache.geronimo.tomcat.cluster.SenderGBean">
            <attribute
name="className">org.apache.catalina.tribes.transport.ReplicationTransmitter</attribute>
        </gbean>
        <gbean
name="org.apache.geronimo.configs/tomcat6/2.1.4/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.1.4/car,j2eeType=ChannelInterceptor,name=TcpPingInterceptor"
gbeanInfo="org.apache.geronimo.tomcat.cluster.ChannelInterceptorGBean">
            <attribute
name="className">org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor</attribute>
            <attribute name="initParams">Interval=60</attribute>
            <reference name="NextInterceptor">
                <pattern>
                    <groupId>org.apache.geronimo.configs</groupId>
                    <artifactId>tomcat6</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>TcpFailureDetector</name>
                </pattern>
            </reference>
        </gbean>
        <gbean
name="org.apache.geronimo.configs/tomcat6/2.1.4/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.1.4/car,j2eeType=ChannelInterceptor,name=TcpFailureDetector"
gbeanInfo="org.apache.geronimo.tomcat.cluster.ChannelInterceptorGBean">
            <attribute
name="className">org.apache.catalina.tribes.group.interceptors.TcpFailureDetector</attribute>
            <attribute name="initParams"/>
        </gbean>
        <gbean
name="org.apache.geronimo.configs/tomcat6/2.1.4/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.1.4/car,j2eeType=ChannelInterceptor,name=MessageDispatch15Interceptor"
gbeanInfo="org.apache.geronimo.tomcat.cluster.ChannelInterceptorGBean">
            <attribute
name="className">org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor</attribute>
            <attribute name="initParams"/>
            <reference name="NextInterceptor">
                <pattern>
                    <groupId>org.apache.geronimo.configs</groupId>
                    <artifactId>tomcat6</artifactId>
                    <version>2.1.4</version>
                    <type>car</type>
                    <name>ThroughputInterceptor</name>
                </pattern>
            </reference>
        </gbean>
        <gbean
name="org.apache.geronimo.configs/tomcat6/2.1.4/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.1.4/car,j2eeType=ChannelInterceptor,name=ThroughputInterceptor"
gbeanInfo="org.apache.geronimo.tomcat.cluster.ChannelInterceptorGBean">
            <attribute
name="className">org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor</attribute>
            <attribute name="initParams"/>
        </gbean>
        <gbean name="TomcatWebConnector">
            <attribute name="host">${ServerHostname}</attribute>
            <attribute name="port">${HTTPPort + PortOffset}</attribute>
            <attribute name="redirectPort">${HTTPSPort +
PortOffset}</attribute>
            <attribute name="maxHttpHeaderSize">8192</attribute>
            <attribute name="maxThreads">150</attribute>
            <attribute name="minSpareThreads">25</attribute>
            <attribute name="maxSpareThreads">75</attribute>
            <attribute name="enableLookups">false</attribute>
            <attribute name="acceptCount">100</attribute>
            <attribute
name="connectionTimeout">${WebConnectorConTimeout}</attribute>
            <attribute name="disableUploadTimeout">true</attribute>
        </gbean>
        <gbean name="TomcatAJPConnector">
            <attribute name="host">${ServerHostname}</attribute>
            <attribute name="port">${AJPPort + PortOffset}</attribute>
            <attribute name="redirectPort">${HTTPSPort +
PortOffset}</attribute>
            <attribute name="minSpareThreads">25</attribute>
            <attribute name="maxSpareThreads">75</attribute>
            <attribute name="enableLookups">false</attribute>
        </gbean>
        <gbean name="TomcatWebSSLConnector">
            <attribute name="host">${ServerHostname}</attribute>
            <attribute name="port">8443</attribute>
            <attribute name="maxHttpHeaderSize">8192</attribute>
            <attribute name="maxThreads">150</attribute>
            <attribute name="minSpareThreads">25</attribute>
            <attribute name="maxSpareThreads">75</attribute>
            <attribute name="enableLookups">false</attribute>
            <attribute name="acceptCount">100</attribute>
            <attribute name="disableUploadTimeout">false</attribute>
            <attribute name="clientAuth">false</attribute>
            <attribute name="algorithm">Default</attribute>
            <attribute name="sslProtocol">TLS</attribute>
            <attribute
name="keystoreFile">var/security/keystores/keba-geronimo</attribute>
            <attribute name="keystorePass">hallmark</attribute>
            <attribute name="keystoreType">JKS</attribute>
            <attribute name="allowTrace">false</attribute>
            <attribute name="emptySessionPath">false</attribute>
            <attribute name="maxPostSize">2097152</attribute>
            <attribute name="maxSavePostSize">4096</attribute>
            <attribute name="proxyPort">0</attribute>
            <attribute name="redirectPort">443</attribute>
            <attribute name="useBodyEncodingForURI">false</attribute>
            <attribute name="useIPVHosts">false</attribute>
            <attribute name="xpoweredBy">false</attribute>
            <attribute name="address">0.0.0.0</attribute>
            <attribute name="bufferSize">2048</attribute>
            <attribute
name="compressableMimeType">text/html,text/xml,text/plain</attribute>
            <attribute name="compression">off</attribute>
            <attribute name="connectionLinger">-1</attribute>
            <attribute name="connectionTimeout">60000</attribute>
            <attribute name="keepAliveTimeout">-1</attribute>
            <attribute name="maxKeepAliveRequests">100</attribute>
            <attribute name="socketBuffer">9000</attribute>
            <attribute name="tcpNoDelay">true</attribute>
            <attribute name="threadPriority">5</attribute>
            <attribute name="truststoreType">JCEKS</attribute>
        </gbean>
        <gbean name="TomcatHost">
            <attribute name="initParams">name=${ServerHostname}
                                        appBase=
                                        workDir=work</attribute>
        </gbean>
    </module>
    <module
name="org.apache.geronimo.configs/webservices-common/2.1.4/car"/>
    <module name="org.apache.geronimo.framework/xmlbeans/2.1.4/car"/>
    <module name="org.apache.geronimo.framework/plugin/2.1.4/car">
        <gbean name="DownloadedPluginRepos">
            <attribute
name="repositoryList">http://download.boulder.ibm.com/ibmdl/pub/software/websphere/wasce/plugins-2.1.1.2/default-repositories.txt</attribute>
            <attribute
name="userRepositories">http://geronimo.apache.org/plugins/geronimo-2.1.4</attribute>
        </gbean>
    </module>
    <module
name="org.apache.geronimo.framework/geronimo-gbean-deployer/2.1.4/car">
        <gbean name="Deployer">
            <attribute
name="remoteDeployAddress">http://${RemoteDeployHostname}:${HTTPPort +
PortOffset}</attribute>
        </gbean>
    </module>
    <module name="org.apache.geronimo.configs/farming/2.1.4/car"
load="false">
        <gbean name="NodeInfo">
            <attribute name="name">${ClusterNodeName}</attribute>
        </gbean>
        <gbean name="ClusterInfo">
            <attribute name="name">${FarmName}</attribute>
        </gbean>
    </module>
    <module name="org.apache.geronimo.configs/openejb/2.1.4/car">
        <gbean name="EJBNetworkService">
            <attribute name="port">${OpenEJBPort + PortOffset}</attribute>
            <attribute name="host">${ServerHostname}</attribute>
        </gbean>
    </module>
    <module name="org.apache.geronimo.configs/system-database/2.1.4/car">
        <gbean name="DerbyNetwork">
            <attribute name="host">${ServerHostname}</attribute>
            <attribute name="port">${DerbyPort + PortOffset}</attribute>
        </gbean>
    </module>
    <module name="org.apache.geronimo.configs/derby/2.1.4/car"/>
    <module name="org.apache.geronimo.configs/openjpa/2.1.4/car"/>
    <module name="org.apache.geronimo.configs/axis/2.1.4/car"/>
    <module name="org.apache.geronimo.configs/axis2/2.1.4/car"/>
    <module name="org.apache.geronimo.configs/axis2-ejb/2.1.4/car"/>
    <module name="org.apache.geronimo.configs/j2ee-corba-yoko/2.1.4/car">
        <gbean name="NameServer">
            <attribute name="port">${COSNamingPort + PortOffset}</attribute>
            <attribute name="host">${ServerHostname}</attribute>
        </gbean>
        <gbean name="Server">
            <attribute name="port">${ORBSSLPort + PortOffset}</attribute>
            <attribute name="host">${ServerHostname}</attribute>
        </gbean>
        <gbean name="UnprotectedServer">
            <attribute name="port">${ORBPort + PortOffset}</attribute>
            <attribute name="host">${ServerHostname}</attribute>
        </gbean>
    </module>
    <module
name="org.apache.geronimo.configs/tomcat6-clustering-wadi/2.1.4/car"
load="false"/>
    <module name="org.apache.geronimo.configs/tomcat6-no-ha/2.1.4/car"/>
    <module name="org.apache.geronimo.configs/wadi-clustering/2.1.4/car"
load="false">
        <gbean name="DefaultBackingStrategyFactory">
            <attribute name="nbReplica">${ReplicaCount}</attribute>
        </gbean>
        <gbean name="DefaultDispatcherHolder">
            <attribute name="endPointURI">${EndPointURI}</attribute>
            <attribute name="clusterName">${WADIClusterName}</attribute>
        </gbean>
    </module>
    <module name="org.apache.geronimo.configs/clustering/2.1.4/car">
        <gbean name="Node">
            <attribute name="nodeName">${ClusterNodeName}</attribute>
        </gbean>
    </module>
    <module
name="org.apache.geronimo.configs/tomcat6-clustering-builder-wadi/2.1.4/car">
        <gbean name="TomcatClusteringBuilder">
            <attribute
name="defaultSweepInterval">${DefaultWadiSweepInterval}</attribute>
            <attribute
name="defaultNumPartitions">${DefaultWadiNumPartitions}</attribute>
        </gbean>
    </module>
    <module name="org.apache.geronimo.configs/tomcat6-deployer/2.1.4/car"/>
    <module name="org.apache.geronimo.configs/connector-deployer/2.1.4/car">
        <gbean name="ResourceRefBuilder">
            <attribute
name="eeNamespaces">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee</attribute>
            <attribute
propertyEditor="org.apache.geronimo.deployment.service.EnvironmentBuilder"
name="corbaEnvironment">
                <environment:environment
xmlns:environment="http://geronimo.apache.org/xml/ns/deployment-1.2">
                    <environment:dependencies>
                        <environment:dependency>
                           
<environment:groupId>org.apache.geronimo.configs</environment:groupId>
                           
<environment:artifactId>j2ee-corba-yoko</environment:artifactId>
                            <environment:type>car</environment:type>
            </environment:dependency>
          </environment:dependencies>
        </environment:environment></attribute>
        </gbean>
        <gbean name="AdminObjectRefBuilder">
            <attribute
name="eeNamespaces">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee</attribute>
        </gbean>
        <gbean name="ClientResourceRefBuilder">
            <attribute
name="eeNamespaces">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee</attribute>
            <attribute
propertyEditor="org.apache.geronimo.deployment.service.EnvironmentBuilder"
name="corbaEnvironment">
                <environment:environment
xmlns:environment="http://geronimo.apache.org/xml/ns/deployment-1.2">
                    <environment:dependencies>
                        <environment:dependency>
                           
<environment:groupId>org.apache.geronimo.configs</environment:groupId>
                           
<environment:artifactId>client-corba-yoko</environment:artifactId>
                            <environment:type>car</environment:type>
            </environment:dependency>
          </environment:dependencies>
        </environment:environment></attribute>
        </gbean>
    </module>
    <module name="org.apache.geronimo.configs/j2ee-deployer/2.1.4/car">
        <gbean name="WebBuilder">
            <attribute
name="defaultNamespace">http://geronimo.apache.org/xml/ns/j2ee/web/jetty-2.0</attribute>
        </gbean>
        <gbean name="EnvironmentEntryBuilder">
            <attribute
name="eeNamespaces">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee</attribute>
        </gbean>
    </module>
    <module name="org.apache.geronimo.configs/activemq-broker/2.1.4/car">
        <gbean name="ActiveMQ.tcp.default">
            <attribute name="host">${ServerHostname}</attribute>
            <attribute name="port">${ActiveMQPort + PortOffset}</attribute>
        </gbean>
        <gbean name="ActiveMQ.stomp.default">
            <attribute name="host">${ServerHostname}</attribute>
            <attribute name="port">${ActiveMQStompPort +
PortOffset}</attribute>
        </gbean>
    </module>
    <module name="org.apache.geronimo.configs/activemq-ra/2.1.4/car">
        <gbean name="ActiveMQ RA">
            <attribute
name="ServerUrl">tcp://${ServerHostname}:${ActiveMQPort +
PortOffset}</attribute>
        </gbean>
    </module>
    <module name="org.apache.geronimo.configs/client/2.1.4/car"
load="false"/>
    <module name="org.apache.geronimo.configs/client-security/2.1.4/car"
load="false"/>
    <module name="org.apache.geronimo.configs/client-corba-yoko/2.1.4/car"
load="false"/>
    <module name="org.apache.geronimo.configs/javamail/2.1.4/car">
        <gbean name="SMTPTransport">
            <attribute name="host">${SMTPHost}</attribute>
            <attribute name="port">${SMTPPort}</attribute>
        </gbean>
    </module>
    <module name="org.apache.geronimo.configs/jasper-deployer/2.1.4/car"/>
    <module name="org.apache.geronimo.configs/myfaces/2.1.4/car"/>
    <module name="org.apache.geronimo.configs/myfaces-deployer/2.1.4/car"/>
    <module name="org.apache.geronimo.framework/offline-deployer/2.1.4/car"
load="false"/>
    <module name="org.apache.geronimo.configs/openejb-deployer/2.1.4/car">
        <gbean name="EjbRefBuilder">
            <attribute
name="eeNamespaces">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee</attribute>
        </gbean>
        <gbean name="ClientEjbRefBuilder">
            <attribute
name="eeNamespaces">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee</attribute>
            <attribute name="host">${ServerHostname}</attribute>
            <attribute name="port">${OpenEJBPort + PortOffset}</attribute>
        </gbean>
    </module>
    <module
name="org.apache.geronimo.configs/openejb-corba-deployer/2.1.4/car"/>
    <module
name="org.apache.geronimo.configs/persistence-jpa10-deployer/2.1.4/car">
        <gbean name="PersistenceUnitBuilder">
            <attribute
name="defaultPersistenceProviderClassName">org.apache.openjpa.persistence.PersistenceProviderImpl</attribute>
            <attribute
name="defaultPersistenceUnitProperties">openjpa.Log=commons
                                       
openjpa.jdbc.SynchronizeMappings=buildSchema(ForeignKeys=true)
                                       
openjpa.jdbc.UpdateManager=operation-order
                                       
openjpa.Sequence=table(Table=OPENJPASEQ, Increment=100)</attribute>
            <attribute
propertyEditor="org.apache.geronimo.deployment.service.EnvironmentBuilder"
name="defaultEnvironment">
                <environment:environment
xmlns:environment="http://geronimo.apache.org/xml/ns/deployment-1.2">
                    <environment:dependencies>
                        <environment:dependency>
                           
<environment:groupId>org.apache.geronimo.configs</environment:groupId>
                           
<environment:artifactId>openjpa</environment:artifactId>
                            <environment:type>car</environment:type>
            </environment:dependency>
          </environment:dependencies>
        </environment:environment></attribute>
        </gbean>
    </module>
    <module name="org.apache.geronimo.configs/axis-deployer/2.1.4/car">
        <gbean name="AxisModuleBuilderExtension">
            <attribute name="listener">?name=${webcontainer}</attribute>
            <attribute
propertyEditor="org.apache.geronimo.deployment.service.EnvironmentBuilder"
name="defaultEnvironment">
                <environment:environment
xmlns:environment="http://geronimo.apache.org/xml/ns/deployment-1.2">
                    <environment:dependencies>
                        <environment:dependency>
                           
<environment:groupId>org.apache.geronimo.configs</environment:groupId>
                           
<environment:artifactId>${webcontainerName}</environment:artifactId>
                            <environment:type>car</environment:type>
            </environment:dependency>
          </environment:dependencies>
        </environment:environment></attribute>
        </gbean>
    </module>
    <module name="org.apache.geronimo.configs/axis2-deployer/2.1.4/car"
condition="props['org.apache.geronimo.jaxws.provider'] == 'axis2' or
(props['org.apache.geronimo.jaxws.provider'] == null and webcontainerName ==
'tomcat6')"/>
    <module name="org.apache.geronimo.configs/jaxws-deployer/2.1.4/car"/>
    <module name="org.apache.geronimo.configs/axis2-ejb-deployer/2.1.4/car"
condition="props['org.apache.geronimo.jaxws.provider'] == 'axis2' or
(props['org.apache.geronimo.jaxws.provider'] == null and webcontainerName ==
'tomcat6')"/>
    <module
name="org.apache.geronimo.configs/jaxws-ejb-deployer/2.1.4/car"/>
    <module name="org.apache.geronimo.configs/client-deployer/2.1.4/car"/>
    <module name="org.apache.geronimo.configs/client-transaction/2.1.4/car"
load="false"/>
    <module name="org.apache.geronimo.configs/hot-deployer/2.1.4/car">
        <gbean name="HotDeployer">
            <attribute name="path">deploy/</attribute>
            <attribute name="pollIntervalMillis">2000</attribute>
        </gbean>
    </module>
    <module name="com.ibm.wasce.configs/welcome-tomcat/2.1.1.3/car"/>
    <module name="org.apache.geronimo.plugins/console-tomcat/2.1.4/car"/>
    <module name="org.apache.geronimo.plugins/pluto-support/2.1.4/car"/>
    <module name="org.apache.geronimo.configs/spring/2.1.4/car"/>
    <module
name="org.apache.geronimo.plugins/plugin-console-tomcat/2.1.4/car"/>
    <module
name="org.apache.geronimo.plugins/debugviews-console-tomcat/2.1.4/car"/>
    <module
name="org.apache.geronimo.configs/dojo-legacy-tomcat/2.1.4/car"/>
    <module
name="org.apache.geronimo.plugins/sysdb-console-tomcat/2.1.4/car"/>
    <module
name="org.apache.geronimo.plugins/activemq-console-tomcat/2.1.4/car"/>
    <module
name="org.apache.geronimo.plugins/plancreator-console-tomcat/2.1.4/car"/>
    <module
name="org.apache.geronimo.configs/remote-deploy-tomcat/2.1.4/car"/>
    <module name="org.apache.geronimo.configs/uddi-tomcat/2.1.4/car"/>
    <module name="org.apache.geronimo.configs/ca-helper-tomcat/2.1.4/car"/>
    <module name="org.apache.geronimo.framework/upgrade-cli/2.1.4/car"
load="false"/>
    <module name="org.apache.geronimo.configs/sharedlib/2.1.4/car"/>
    <module name="org.apache.geronimo.configs/mejb/2.1.4/car"/>
    <module name="org.apache.geronimo.configs/dojo-tomcat/2.1.4/car"/>
    <module name="org.apache.geronimo.plugins/agent/2.1.4/car"/>
    <module name="org.apache.geronimo.plugins/agent-ds/2.1.4/car"/>
    <module name="org.apache.geronimo.plugins/mconsole-tomcat/2.1.4/car"/>
    <module name="org.apache.geronimo.plugins/mconsole-ds/2.1.4/car"/>
    <module name="org.apache.geronimo.framework/jmx-security/2.1.4/car"
load="false">
        <gbean name="JMXSecureConnector">
            <attribute name="protocol">rmi</attribute>
            <attribute name="host">${ServerHostname}</attribute>
            <attribute name="port">${JMXSecurePort + PortOffset}</attribute>
            <attribute
name="urlPath">/jndi/rmi://${ServerHostname}:${NamingPort +
PortOffset}/JMXSecureConnector</attribute>
        </gbean>
    </module>
    <module name="com.ibm.wasce.configs/db2v82/2.1.1.3/car"/>
    <module name="com.ibm.wasce.configs/db2v91/2.1.1.3/car"/>
    <module name="com.ibm.wasce.configs/db2v95/2.1.1.3/car"/>
    <module name="console.jms/APPEventTopicConnectorResource/1.0/rar"/>
    <module name="com.app/KServiceDesktopAdapter/0.1/car"/>
    <module name="com.app/APPOperator/3.4/car"/>
</attributes>



-- 
View this message in context: http://n3.nabble.com/DeltaManager-only-support-GenericPrincipal-Your-realm-used-principal-class-org-apache-geronimo-tomcal-tp443671p448596.html
Sent from the Users mailing list archive at Nabble.com.

Re: DeltaManager only support GenericPrincipal. Your realm used principal class org.apache.geronimo.tomcat.JAASTomcatPrincipal

Posted by Ashish Jain <as...@gmail.com>.
Is it possible for you to paste your geronimo deployment plan??

On Sat, Mar 13, 2010 at 3:42 PM, mirceade <mi...@gmail.com> wrote:

>
> Yes, you're right. The third party's app. LoginModule adds a
> AppUserPrincipal
> (which extends the GeronimoGroupPrincipal class) to the Subject's
> principals, just like the PropertyFileLoginModule example you've shown to
> me.
>
> But that doesn't explain why I end up with a JAASTomcatPrincipal on the
> to-be-replicated session unless there is some wrapping down the chain.
>
> I've read the links you've given me but I'm still in the dark regarding
> this
> one.
>
> Cheers,
> Mircea.
> --
> View this message in context:
> http://n3.nabble.com/DeltaManager-only-support-GenericPrincipal-Your-realm-used-principal-class-org-apache-geronimo-tomcal-tp443671p445415.html
> Sent from the Users mailing list archive at Nabble.com.
>

Re: DeltaManager only support GenericPrincipal. Your realm used principal class org.apache.geronimo.tomcat.JAASTomcatPrincipal

Posted by mirceade <mi...@gmail.com>.
Yes, you're right. The third party's app. LoginModule adds a AppUserPrincipal
(which extends the GeronimoGroupPrincipal class) to the Subject's
principals, just like the PropertyFileLoginModule example you've shown to
me. 

But that doesn't explain why I end up with a JAASTomcatPrincipal on the
to-be-replicated session unless there is some wrapping down the chain.

I've read the links you've given me but I'm still in the dark regarding this
one.

Cheers,
Mircea.
-- 
View this message in context: http://n3.nabble.com/DeltaManager-only-support-GenericPrincipal-Your-realm-used-principal-class-org-apache-geronimo-tomcal-tp443671p445415.html
Sent from the Users mailing list archive at Nabble.com.

Re: DeltaManager only support GenericPrincipal. Your realm used principal class org.apache.geronimo.tomcat.JAASTomcatPrincipal

Posted by Ashish Jain <as...@gmail.com>.
Have a look at one of the existing login modules available in geronimo
https://svn.apache.org/repos/asf/geronimo/server/tags/2.1.4/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/PropertiesFileLoginModule.java

Try out variaous samples and documentation available with geronimo to
understand more on how it works on geronimo
http://cwiki.apache.org/GMOxDOC21/timereport-web-application-security-sample.html
http://cwiki.apache.org/GMOxDOC21/security.html

thanks
Ashish

On Fri, Mar 12, 2010 at 7:04 PM, mirceade <mi...@gmail.com> wrote:

> Hi,
> For as little as I understand the login module is just responsible for *
> validating* the user/password combination but does not instantiate a new
> Principal. I have no mapping for the principals in the Geronimo deployment
> plan.
> As I've said, I don't really understand who's responsible in the end for
> setting the Principal's type and what I should modify to make it a
> GenericPrincipal.
>
> Thanks.
>
> 2010/3/12 Ashish Jain [via Apache Geronimo] <[hidden email]<http://n3.nabble.com/user/SendEmail.jtp?type=node&node=443936&i=0>
> >
>
>> I see from your security realm  that you are using a custom login module.
>> Are you also using custom principal class as well?? How are you adding
>> principals to geronimo in login module commit method?? How are mapping the
>> principals in your geronimo deployment plan??
>>
>> On Fri, Mar 12, 2010 at 3:04 PM, mirceade <[hidden email]<http://n3.nabble.com/user/SendEmail.jtp?type=node&node=443729&i=0>
>> > wrote:
>>
>>>
>>> Hi,
>>> I'm trying to use clustering for a Geronimo with Tomcat for a third party
>>> application following the instructions here:
>>> http://publib.boulder.ibm.com/wasce/V2.0.0/en/clustering.html
>>>
>>> I'm getting the following error:
>>>
>>> 2010-03-12 07:02:19,828 ERROR [DeltaRequest] DeltaManager only support
>>> GenericPrincipal. Your realm used principal class
>>> org.apache.geronimo.tomcat.JAASTomcatPrincipal.
>>>
>>> Now, I guess that for creating the Principal a Realm is the one
>>> responsible
>>> which in my case is the JAASTomcatRealm or smth. like that (this seems to
>>> be
>>> the default for Tomcat when configured inside Geronimo).
>>>
>>> My question is how do I change these realms (and with what GBean configs)
>>> in
>>> order to make Tomcat clustering work.
>>>
>>> I know nothing about security in a JEE server. Please help me. Please.
>>>
>>> The application's settings for the Realm:
>>>
>>>        <gbean name="AppSecurity"
>>> class="org.apache.geronimo.security.realm.GenericSecurityRealm"
>>> xsi:type="dep:gbeanType"
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>>        <attribute name="realmName">AppSecurity</attribute>
>>>        <reference name="ServerInfo">
>>>            <name>ServerInfo</name>
>>>        </reference>
>>>        <xml-reference name="LoginModuleConfiguration">
>>>            <log:login-config
>>> xmlns:log="http://geronimo.apache.org/xml/ns/loginconfig-2.0">
>>>                <log:login-module control-flag="REQUIRED"
>>> wrap-principals="false">
>>>
>>> <log:login-domain-name>AppSecurity</log:login-domain-name>
>>>
>>>
>>> <log:login-module-class>at.co.sbs.kix.server.security.geronimo.AppGeronimoLoginModule</log:login-module-class>
>>>
>>>             <log:option
>>> name="dataSourceApplication">com.app/App/3.4/car</log:option>
>>>            <log:option name="dataSourceName">...</log:option>
>>>            <log:option name="delimiter">.</log:option>
>>>          </log:login-module>
>>>       </log:login-config>
>>>      </xml-reference>
>>> </gbean>
>>>
>>>
>>> Thank you.
>>> Mircea.
>>> --
>>> View this message in context:
>>> http://n3.nabble.com/DeltaManager-only-support-GenericPrincipal-Your-realm-used-principal-class-org-apache-geronimo-tomcal-tp443671p443671.html
>>> Sent from the Users mailing list archive at Nabble.com.
>>>
>>
>>
>
> ------------------------------
> View this message in context: Re: DeltaManager only support
> GenericPrincipal. Your realm used principal class
> org.apache.geronimo.tomcat.JAASTomcatPrincipal<http://n3.nabble.com/DeltaManager-only-support-GenericPrincipal-Your-realm-used-principal-class-org-apache-geronimo-tomcal-tp443671p443936.html>
>
> Sent from the Users mailing list archive<http://n3.nabble.com/Users-f328036.html>at Nabble.com.
>

Re: DeltaManager only support GenericPrincipal. Your realm used principal class org.apache.geronimo.tomcat.JAASTomcatPrincipal

Posted by mirceade <mi...@gmail.com>.
Hi,
For as little as I understand the login module is just responsible for *
validating* the user/password combination but does not instantiate a new
Principal. I have no mapping for the principals in the Geronimo deployment
plan.
As I've said, I don't really understand who's responsible in the end for
setting the Principal's type and what I should modify to make it a
GenericPrincipal.

Thanks.

2010/3/12 Ashish Jain [via Apache Geronimo] <
ml-node+443729-370314233-186083@n3.nabble.com<ml...@n3.nabble.com>
>

> I see from your security realm  that you are using a custom login module.
> Are you also using custom principal class as well?? How are you adding
> principals to geronimo in login module commit method?? How are mapping the
> principals in your geronimo deployment plan??
>
> On Fri, Mar 12, 2010 at 3:04 PM, mirceade <[hidden email]<http://n3.nabble.com/user/SendEmail.jtp?type=node&node=443729&i=0>
> > wrote:
>
>>
>> Hi,
>> I'm trying to use clustering for a Geronimo with Tomcat for a third party
>> application following the instructions here:
>> http://publib.boulder.ibm.com/wasce/V2.0.0/en/clustering.html
>>
>> I'm getting the following error:
>>
>> 2010-03-12 07:02:19,828 ERROR [DeltaRequest] DeltaManager only support
>> GenericPrincipal. Your realm used principal class
>> org.apache.geronimo.tomcat.JAASTomcatPrincipal.
>>
>> Now, I guess that for creating the Principal a Realm is the one
>> responsible
>> which in my case is the JAASTomcatRealm or smth. like that (this seems to
>> be
>> the default for Tomcat when configured inside Geronimo).
>>
>> My question is how do I change these realms (and with what GBean configs)
>> in
>> order to make Tomcat clustering work.
>>
>> I know nothing about security in a JEE server. Please help me. Please.
>>
>> The application's settings for the Realm:
>>
>>        <gbean name="AppSecurity"
>> class="org.apache.geronimo.security.realm.GenericSecurityRealm"
>> xsi:type="dep:gbeanType"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>        <attribute name="realmName">AppSecurity</attribute>
>>        <reference name="ServerInfo">
>>            <name>ServerInfo</name>
>>        </reference>
>>        <xml-reference name="LoginModuleConfiguration">
>>            <log:login-config
>> xmlns:log="http://geronimo.apache.org/xml/ns/loginconfig-2.0">
>>                <log:login-module control-flag="REQUIRED"
>> wrap-principals="false">
>>
>> <log:login-domain-name>AppSecurity</log:login-domain-name>
>>
>>
>> <log:login-module-class>at.co.sbs.kix.server.security.geronimo.AppGeronimoLoginModule</log:login-module-class>
>>             <log:option
>> name="dataSourceApplication">com.app/App/3.4/car</log:option>
>>            <log:option name="dataSourceName">...</log:option>
>>            <log:option name="delimiter">.</log:option>
>>          </log:login-module>
>>       </log:login-config>
>>      </xml-reference>
>> </gbean>
>>
>>
>> Thank you.
>> Mircea.
>> --
>> View this message in context:
>> http://n3.nabble.com/DeltaManager-only-support-GenericPrincipal-Your-realm-used-principal-class-org-apache-geronimo-tomcal-tp443671p443671.html
>> Sent from the Users mailing list archive at Nabble.com.
>>
>
>
>
> ------------------------------
>  View message @
> http://n3.nabble.com/DeltaManager-only-support-GenericPrincipal-Your-realm-used-principal-class-org-apache-geronimo-tomcal-tp443671p443729.html
> To unsubscribe from DeltaManager only support GenericPrincipal. Your realm
> used principal class org.apache.geronimo.tomcat.JAASTomcatPrincipal, click
> here< (link removed) ==>.
>
>
>

-- 
View this message in context: http://n3.nabble.com/DeltaManager-only-support-GenericPrincipal-Your-realm-used-principal-class-org-apache-geronimo-tomcal-tp443671p443936.html
Sent from the Users mailing list archive at Nabble.com.