6 Replies Latest reply on Jun 9, 2012 11:45 AM by henry.short

    Unable to lookup remotely deployed EJB method with AS7

    codevally

      Hi

       

      I am completely new to AS7 and working on EJB remote lookup sample and the bean is deployed in a remote AS7.

       

      Bean is deployed as below

       

              java:global/Hibernate-1.0-SNAPSHOT/JadDataSessionBean!com.whispir.hibernate.test.JadDataRemote

              java:app/Hibernate-1.0-SNAPSHOT/JadDataSessionBean!com.whispir.hibernate.test.JadDataRemote

              java:module/JadDataSessionBean!com.whispir.hibernate.test.JadDataRemote

              java:jboss/exported/Hibernate-1.0-SNAPSHOT/JadDataSessionBean!com.whispir.hibernate.test.JadDataRemote

              java:global/Hibernate-1.0-SNAPSHOT/JadDataSessionBean

              java:app/Hibernate-1.0-SNAPSHOT/JadDataSessionBean

              java:module/JadDataSessionBean

       

      The context lookup part is success, but when I try to access a remote method, it gives the below exception.

       

      java.lang.IllegalStateException: No EJB receiver available for handling [appName:Hibernate-1.0-SNAPSHOT,modulename:,distinctname:] combination

       

      My lookup string is "ejb:Hibernate-1.0-SNAPSHOT//JadDataSessionBean!com.whispir.hibernate.test.JadDataRemote"

       

      Could someone please help me on this. Thanks.