[jboss-user] [Beginner's Corner] - [JBAS 6.0.0] Jrmp Invoker

mlo do-not-reply at jboss.com
Tue Mar 1 08:56:43 EST 2011


mlo [http://community.jboss.org/people/mlo] created the discussion

"[JBAS 6.0.0] Jrmp Invoker"

To view the discussion, visit: http://community.jboss.org/message/590346#590346

--------------------------------------------------------------
Hello everybody.

We're currently moving from JBoss 4.0.1 to JBoss 6.0.0.

(I'm a very beginner in the JB world)

So, our EJB2 deploy correctly.

But I Found out some *.xml files like this one called (jboss-security-service.xml) :

<?xml version="1.0" encoding="UTF-8"?>

<!-- JBoss security domain definition and SSL-enabled JRMP invoker for securing EJB access -->
<server>
    <mbean code="org.jboss.security.plugins.JaasSecurityDomain"
           name="jboss.security:service=JaasSecurityDomain,domain=RMI+SSL">
        <constructor>
            <arg type="java.lang.String" value="RMI+SSL"/>
        </constructor>
        <attribute name="KeyStoreURL">${jws.include.keystore}</attribute>
        <attribute name="KeyStorePass">${jws.sign.storepass}</attribute>
    </mbean>

    <mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker" 
           name="jboss:service=invoker,type=jrmp,socketType=SSL">
        <attribute name="RMIObjectPort">14445</attribute>
        <attribute name="RMIClientSocketFactory">
            org.jboss.security.ssl.RMISSLClientSocketFactory
        </attribute>
        <attribute name="RMIServerSocketFactory">
            org.jboss.security.ssl.RMISSLServerSocketFactory
        </attribute>
        <attribute name="SecurityDomain">java:/jaas/RMI+SSL</attribute>
        <depends>jboss.security:service=JaasSecurityDomain,domain=RMI+SSL</depends>
    </mbean>
</server>


This file was copied into /server/default/deploy on JBoss 4.0.1 .

And, in the file jboss.xml, I found out the following :

    <!-- Specific JBoss invoker for session beans. 
     Used to enable/disable SSL encryption 
     Merged with jboss.xml during generation by XDoclet -->
 <invoker-proxy-bindings>
    <invoker-proxy-binding>
        <name>m-slsb-invoker</name>
        <invoker-mbean>
            jboss:service=invoker,type=jrmp
 <!-- Replace the previous line with the following to enable/disable SSL 
            jboss:service=invoker,type=jrmp,socketType=SSL> -->
        </invoker-mbean>
        <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
        <proxy-factory-config>
            <client-interceptors>
                <home>
                    <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
                    <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
                    <interceptor>
                        org.jboss.proxy.TransactionInterceptor
                    </interceptor>
                    <interceptor>
                        fr.alcatel.ecsm.ds.util.access.InvokerInterceptor
                    </interceptor>
                </home>
                <bean>
                    <interceptor>
                        org.jboss.proxy.ejb.StatelessSessionInterceptor
                    </interceptor>
                    <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
                    <interceptor>
                        org.jboss.proxy.TransactionInterceptor
                    </interceptor>
                    <interceptor>
                        fr.alcatel.ecsm.ds.util.access.InvokerInterceptor
                    </interceptor>
                </bean>
            </client-interceptors>
        </proxy-factory-config>
    </invoker-proxy-binding>
</invoker-proxy-bindings>

And I must say that, I do not understand what these files are doing... 

So, i someone could gimme an advice/doc/etc on that, it would be great !
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/590346#590346]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110301/adfa732d/attachment-0001.html 


More information about the jboss-user mailing list