users@glassfish.java.net

Re: Error while trying to bind RMI Object to the JNDI registry

From: <glassfish_at_javadesktop.org>
Date: Thu, 15 Mar 2007 09:40:16 PST

In the constructor of the class that implements Remote interface, you will need to add the following:

        PortableRemoteObject.exportObject(this);

Hope this works.
[Message sent by forum member 'sheetalv' (sheetalv)]

http://forums.java.net/jive/thread.jspa?messageID=208178