users@glassfish.java.net

Re: Help calling EJB3 session bean from Custom MBean...

From: <glassfish_at_javadesktop.org>
Date: Wed, 30 Jan 2008 03:50:42 PST

The custom MBean are using their own classloader, which is not the same as your EAR module. The JMS classes and interface are visible to your MBean because their are part of common Glassfish lib.

See https://glassfish.dev.java.net/nonav/javaee5/docs/DG/beade.html

Maybe if you put a .jar with your EJB remote interface in domains/domain1/lib/ it helps ? But then your deployment isn't standard any more.
[Message sent by forum member 'ewernli' (ewernli)]

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