Add "-Djava.security.manager " (without the double quotes) to your java
command.  If you don't have a global java.policy file, you may also need
something like the following:

-Djava.security.policy=jar:file:../lib/testbeantest.jar!/client.policy

adjusted to point to your policy file.

----- Original Message -----
From: "Ken Jenks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 01, 2001 2:03 AM
Subject: [JBoss-user] Re: passing objects a parameters.................


> 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
>


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

Reply via email to