The default value for the property should be used if there is a SecurityException
due to accessing the system property. I have updated this.
----- Original Message -----
Sent: Friday, August 10, 2001 9:53 AM
Subject: [JBoss-dev] jbosssx-client.jar and applets: are system properties really necessary?

Hello,

While trying to solve Tim Yates problem regarding invoking operation on an
EJB from an applet, I've found some reasons why it wasn't possible.

After some correction (a bug in ContainerFactory), it works nicely.
Nevertheless, I've been unable to correct a problem present in
org.jboss.security.SecurityAssociation called from GenericProxy.

At line 48, it makes:

        boolean useThreadLocal =
Boolean.getBoolean("org.jboss.security.SecurityAssociation.ThreadLocal");

The problem is that the Boolean.getBoolean call raises a Security Exception
when invoked from an applet (sandbox restriction).

As I do not know jbosssx code particularly well, could someone involved in
it modify it in such a way that it no more try to access system properties
while running from an applet?

Thank you. Cheers,




Sacha



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

Reply via email to