That does get around the problem:

Security
961>java -Xbootclasspath/a:run.jar -Djava.security.manager -Djava.secu
rity.policy=server.policy -Djava.protocol.handler.pkgs=org.jboss.net.protoco
l HelloMain
HelloMain.main is ok

I'm not sure this is a viable option since this is a VM specific option.

----- Original Message -----
From: "Dain Sundstrom" <[EMAIL PROTECTED]>
To: "Scott M Stark" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, March 01, 2002 11:04 AM
Subject: Re: [JBoss-dev] njar still has problems with security manager


> Have you tried adding it to the primordial class loader?  I think it is
> something like -Xbootclasspath
>
> -dain
>
> Scott M Stark wrote:
>
> > Even if I put the njar protocol handler in the system classpath
> > and try a trival hello world main with the following simple
> > policy file, running with a security manager fails when the policy
> > file parsers goes into an infinitely recursive loop and blows
> > out the stack. This is a show stopper for the custom njar protocol.



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

Reply via email to