0 Replies Latest reply on Oct 1, 2012 5:44 AM by adrian.boangiu

    RMI compression in JBoss6.1.0

    adrian.boangiu

      Hello,

      I am trying to migrate our application from JBoss4.2.2GA to JBoss6.1.0 and I have some problems with the JRMPInvoker.

      In JBoss4.2.2 we are using RMI compression and were able to specify the RMI client and socket factories in the JRMPInvoker configuration (file conf\jboss-service.xml)

      <mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker" name="jboss:service=invoker,type=jrmp,mode=compress">

           <attribute name="RMIObjectPort">4444</attribute>

           <attribute name="ServerAddress">${jboss.bind.address}</attribute>

           <attribute name="RMIClientSocketFactory">com.xxx.rmi.compression.RMICompressionClientSocketFactory</attribute>

           <attribute name="RMIServerSocketFactory">com.xxx.rmi.compression.RMICompressionServerSocketFactory</attribute>

           <depends>jboss:service=TransactionManager</depends>

      </mbean>

      The same JRMPInvoker configuration was possible in JBoss 5.1.0GA altough JRMP invoker was moved in deploy\legacy-invokers-service.xml.

       

      Does anybody know how can we specify, if it is still possible, the RMI client and socket factories for the JRMPInvoker in JBoss6.1.0 ?

      Thank you