I'm resurrecting a thread from a discussion held back in December, 1999, 
found in the archives.

I'm writing a Swing client that access an EJB in jBoss 2.1 w/embedded 
Tomcat. The Swing client is on the same host as the EJB, localhost. I'm 
accessing the cd/CDCollection bean from the CMP examples.

When my Swing GUI runs into this statement, it crashes:
       Object ref  = m_InitialContext.lookup("cd/CDCollection");

Here's the exception:
javax.naming.CommunicationException [Root exception is 
java.lang.ClassNotFoundException: 
org.jboss.ejb.plugins.jrmp13.interfaces.HomeProxy (no security manager: RMI 
class loader disabled)]

When I used AltaVista to search for that error, I found a discussion 
between Marc, Rickard and (a different) Ken:
   http://list.working-dogs.com/lists/ejboss/1999/ejboss%2012-06-99?99

But there did not seem to be a resolution of the bug. Any hints?

I checked JNDI; the cd/CDCollection bean exits. I can run it from a servlet.

How can I access an EJB from a Swing app?

-- Ken Jenks, http://abiblion.com/

    Tools for reading.


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to