<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
[JBAS 6.0.0] Jrmp Invoker
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/mlo">mlo</a> in <i>Beginner's Corner</i> - <a href="http://community.jboss.org/message/590346#590346">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hello everybody.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>We're currently moving from JBoss 4.0.1 to JBoss 6.0.0.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>(I'm a very beginner in the JB world)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>So, our EJB2 deploy correctly.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>But I Found out some *.xml files like this one called (jboss-security-service.xml) :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><?xml version="1.0" encoding="UTF-8"?></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><!-- JBoss security domain definition and SSL-enabled JRMP invoker for securing EJB access --></p><p><server></p><p>    <mbean code="org.jboss.security.plugins.JaasSecurityDomain"</p><p>           name="jboss.security:service=JaasSecurityDomain,domain=RMI+SSL"></p><p>        <constructor></p><p>            <arg type="java.lang.String" value="RMI+SSL"/></p><p>        </constructor></p><p>        <attribute name="KeyStoreURL">${jws.include.keystore}</attribute></p><p>        <attribute name="KeyStorePass">${jws.sign.storepass}</attribute></p><p>    </mbean></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker" </p><p>           name="jboss:service=invoker,type=jrmp,socketType=SSL"></p><p>        <attribute name="RMIObjectPort">14445</attribute></p><p>        <attribute name="RMIClientSocketFactory"></p><p>            org.jboss.security.ssl.RMISSLClientSocketFactory</p><p>        </attribute></p><p>        <attribute name="RMIServerSocketFactory"></p><p>            org.jboss.security.ssl.RMISSLServerSocketFactory</p><p>        </attribute></p><p>        <attribute name="SecurityDomain">java:/jaas/RMI+SSL</attribute></p><p>        <depends>jboss.security:service=JaasSecurityDomain,domain=RMI+SSL</depends></p><p>    </mbean></p><p></server></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>This file was copied into /server/default/deploy on JBoss 4.0.1 .</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>And, in the file jboss.xml, I found out the following :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <!-- Specific JBoss invoker for session beans. </p><p>     Used to enable/disable SSL encryption </p><p>     Merged with jboss.xml during generation by XDoclet --></p><p> <invoker-proxy-bindings></p><p>    <invoker-proxy-binding></p><p>        <name>m-slsb-invoker</name></p><p>        <invoker-mbean></p><p>            jboss:service=invoker,type=jrmp</p><p> <!-- Replace the previous line with the following to enable/disable SSL </p><p>            jboss:service=invoker,type=jrmp,socketType=SSL> --></p><p>        </invoker-mbean></p><p>        <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory></p><p>        <proxy-factory-config></p><p>            <client-interceptors></p><p>                <home></p><p>                    <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor></p><p>                    <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor></p><p>                    <interceptor></p><p>                        org.jboss.proxy.TransactionInterceptor</p><p>                    </interceptor></p><p>                    <interceptor></p><p>                        fr.alcatel.ecsm.ds.util.access.InvokerInterceptor</p><p>                    </interceptor></p><p>                </home></p><p>                <bean></p><p>                    <interceptor></p><p>                        org.jboss.proxy.ejb.StatelessSessionInterceptor</p><p>                    </interceptor></p><p>                    <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor></p><p>                    <interceptor></p><p>                        org.jboss.proxy.TransactionInterceptor</p><p>                    </interceptor></p><p>                    <interceptor></p><p>                        fr.alcatel.ecsm.ds.util.access.InvokerInterceptor</p><p>                    </interceptor></p><p>                </bean></p><p>            </client-interceptors></p><p>        </proxy-factory-config></p><p>    </invoker-proxy-binding></p><p></invoker-proxy-bindings></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>And I must say that, I do not understand what these files are doing... </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>So, i someone could gimme an advice/doc/etc on that, it would be great !</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/590346#590346">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Beginner's Corner at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>