[jboss-dev-forums] [JBoss AS 7 Development] - Unable to lookup remotely deployed EJB method with AS7

Roshan Pradeep do-not-reply at jboss.com
Fri Jun 8 03:05:26 EDT 2012


Roshan Pradeep [https://community.jboss.org/people/codevally] created the discussion

"Unable to lookup remotely deployed EJB method with AS7"

To view the discussion, visit: https://community.jboss.org/message/740606#740606

--------------------------------------------------------------
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.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/740606#740606]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120608/11e20430/attachment.html 


More information about the jboss-dev-forums mailing list