On 2002.02.22 18:38:27 -0500 Adrian Brock wrote:
> > Off topic (a little), but where soes server.policy
> > get used?
> > 
> > Is there a way to setup a policy after starting the
> > vm.  I know that you 
> > can do this from the cl, but I am not aware of a way
> > to do it afterwards.
> > 
> > --jason
> 
> Running under a SecurityManager is broken in 3.0
> All jars get copied into tmp/ and prefixed with a
> "random" number. There's no way to specify the codebase,
> short of guessing.

random indeed! They are perfectly in order! :-) I don't know of another way
to prevent name collisions, for instance from all the rar vendors calling
their class jars ra.jar.
> 
> I've got a patch that *nearly* fixes it, but I'm not
> sure it's worth it.
> The patch involves modifying getPermissions() to
> redirect the codebase to the original deployment.
> 
> Also extra permissions need adding to allow getResource()
> from the tmp/ codebase.
> 
> JDK1.4 has support for dynamic policy changes.
> 
> How exactly do you specify the codebase for a sar
> inside ear anyway?

I hoped you could use multiple jar: prefixes, but this doesn't work when I
try it at least for accessing the contents :-(((( If it did we wouldn't
have to unpack anything.

jar:jar:jar:file:/uxr/jboss/deploy/outside.sar!/middle.ear!/inside.rar!/rarcode.jar

david jencks
> 
> Regards,
> Adrian
> 
> _________________________________________________________
> View thread online: http://main.jboss.org/thread.jsp?forum=66&thread=9328
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 

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

Reply via email to