1 Reply Latest reply on Jul 30, 2004 10:53 AM by Roger Smith

    Exception: RMI/SSL

    Daniel Schmidt-Oehm Newbie

      Hi Folks,

      i try to use RMI over SSL. I modfied my jboss-service.xml file like mentioned in the Online-Manual. After starting JBoss the following exception is thrown:

      WARN [ServiceController] Problem starting service jboss:service=invoker,type=jrmp,socketType=SSL
      MBeanException: javax.naming.NameNotFoundException: TransactionPropagationContextExporter not bound
      Cause: javax.naming.NameNotFoundException: TransactionPropagationContextExporter not bound

      I found two posts related to this exception. They both mention to "add an extra TransactionManager". But what does this mean? And why is the already configured transaction manager (in default/conf/jboss-service.xml) not sufficient?

      Thanks in advance.

        • 1. Re: Exception: RMI/SSL
          Roger Smith Newbie

          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>