Re: Problems launching loom

Mauro Talevi <[email protected]> Wed, 17 Mar 2004 17:05:56 +0000
Newsgroups gmane.comp.java.jcontainer.interest
Message-ID <[email protected]>
Ulrich Mayring wrote:
> > 
> This is the entry in the standard wrapper.conf of loom:
> 
> wrapper.java.additional.3=-Djava.security.policy=jar:file:loom-launcher.jar!/META-INF/java.policy 
> 
> wrapper.java.additional.4=-Djava.security.manager
> 
> Perhaps /META-INF/java.policy is the problem, because that directory 
> does not exist on my system.
>

the policy file is contained in the loom-launcher.jar and currently
does not gives full permissions to wrapper.jar

to do that you need to add the following to 
loom/launcher/src/etc/java.policy

// Give full permissions to wrapper.jar
grant codeBase "file:${loom.home}/ext/wrapper.jar" {
	permission java.security.AllPermission;
};

and then rebuild.

Let me know if it works and I'll check in the change.

cheers