4 Replies Latest reply on Jan 29, 2013 10:06 AM by Radoslav Husar

    How to make remote call of EJB in mod_cluster?

    Júlio Pires Newbie


      I'm doing a basic test of remote call of EJB in a cluster with the following scenario:



      • Two JBoss 7.2.0.Alpha1 (jboss-as-7.2.0.Alpha1-SNAPSHOT - Build #3363 (Jan 28, 2013 7:31:47 AM))
      • mod_cluster 1.2.0
      • JDK 1.7.0_11

      Computer 1:
      - Node A and B: (same machine with offset of ports);



      • Node A (IP:, Port: 4447)
      • Node B (IP:, Port: 4647)


      Computer 2:
      - httpd + Modcluster:



      • http.conf


      LoadModule slotmem_module modules/mod_slotmem.so

      LoadModule manager_module modules/mod_manager.so

      LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so

      LoadModule proxy_cluster_module modules/mod_proxy_cluster.so

      LoadModule advertise_module modules/mod_advertise.so

      LoadModule proxy_ajp_module /usr/lib/apache2/modules/mod_proxy_ajp.so


      CustomLog "/var/log/httpd-access.log" combined


      MemManagerFile /var/cache/httpd



        <Directory />

         Order deny,allow

         Deny from all

         Allow from all



      # This directive allows you to view mod_cluster status at URL

      <Location /mod_cluster-manager>

        SetHandler mod_cluster-manager

        Order deny,allow

        Deny from all

        Allow from all


      KeepAliveTimeout 60

      MaxKeepAliveRequests 0

      ManagerBalancerName other-server-group

      AdvertiseFrequency 5

      ServerAdvertise On





      - How do remote call of EJB in mod_cluster?
      I configured the properties, but returns the following error:

      PM org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector setupEJBReceivers

      WARN: Could not register the EJB receiver for connection to

      java.lang.RuntimeException: Operation failed with status WAITING