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"
           <arg type="java.lang.String" value="RMI+SSL"/>
           <attribute name="KeyStoreURL">server.keystore</attribute>
           <attribute name="KeyStorePass">password</attribute>
           <!-- RMI/JRMP invoker -->
           <mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker"
           <attribute name="RMIObjectPort">8443</attribute>
           <attribute name="RMIClientSocketFactory">
           <attribute name="RMIServerSocketFactory">
           <attribute name="SecurityDomain">java:/jaas/RMI+SSL</attribute>