I could never get two RMI invokers working at the same time.  No matter what I did the 
communication would always use the default RMI invoker.  So what I did was change the 
default RMI invoker to use the RMISSL sockets.  Here is a snippet from my 
jboss-service.xml file.  btw I'm useing v3.2.3.

  <!-- The SSL domain setup -->
  |   <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">server.keystore</attribute>
  |      <attribute name="KeyStorePass">password</attribute>
  |   </mbean>
  | 
  |    <!-- RMI/JRMP invoker -->
  |    <mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker"
  |           name="jboss:service=invoker,type=jrmp">
  | 
  |      <attribute name="RMIObjectPort">8443</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:service=TransactionManager</depends>
  | 
  |     </mbean>
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843738#3843738

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843738


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to