0 Replies Latest reply on Oct 23, 2001 7:05 PM by nishantv

    java.rmi.RemoteException: Could not get EJBHome

    nishantv

      Hi all.
      I am using JBoss-2.2.2
      I have deployed a stateless session bean.
      I get the home reference of this bean by doing a lookup.

      I get the HomeHandle to this reference.
      HomeHandle handle = _cfHome.getHomeHandle();


      Now, I try to get back the EJBHome reference from this handle.
      EJBHome tempHome = handle.getEJBHome();

      I get the following exception:

      java.rmi.RemoteException: Could not get EJBHome
      at org.jboss.ejb.plugins.jrmp.interfaces.HomeHandleImpl.getEJBHome(HomeH
      andleImpl.java:55)
      at com.eidea.bizmarc.util.connector.ejb.namingconnector.test.Register.re
      gisterFactory(Register.java:100)
      at com.eidea.bizmarc.util.connector.ejb.namingconnector.test.Register.ma
      in(Register.java:143)

      Could you help me with this ?

      btw when I printed out the handle object, I got:
      org.jboss.ejb.plugins.jrmp.interfaces.HomeHandleI
      mpl@237368
      I dont know why I am unable to get hold of EJBHome by invoking : handle.getEJBHome()

      thanks.
      Nishant.