Same problem. It's the Home that is returned from the lookup. You use the Home to create the
Remote. Try casting it to CWMManagerHome. Technically, you're supposed to use
PortableRemoteObject.narrow, although in Glassfish a direct cast will work.
[Message sent by forum member 'ksak' (ksak)]
http://forums.java.net/jive/thread.jspa?messageID=316375