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
set initial context property before Restore,by System.setProperties() Which are using privously when the bean get from the jndi.