1 Reply Latest reply on Apr 8, 2006 12:11 AM by Chatura kalansooriya

    Error getting ejbObject from Handle

    Rodney Kite Newbie

      StatefulEJBRemote remote = (StatefulEJBRemote)home.create();
      javax.ejb.Handle handle = remote.getHandle();
      remote = (StatefulEJBRemote) javax.rmi.PortableRemoteObject.narrow(handle.getEJBObject(), StatefulEJBRemote.class);

      In the last line above I get the exception "javax.naming.ConfigurationException: Provider URL missing" when trying to get a remote interface from a Handle. If I do not try to serialize the
      remote reference my code using the beans created works fine. I need to serialize the reference
      since it may be used in a Session Context. P.S. This works fine in WebLogic so I guess it is
      a JBoss configuration issue but I do not know where to look.
      --Thanks for any help
      --Rodney