Re: Problems launching loom

Ulrich Mayring <[email protected]> Wed, 17 Mar 2004 11:20:44 +0100
Newsgroups gmane.comp.java.jcontainer.interest
Message-ID <[email protected]>
Leif Mortenson wrote:
> Ulrich Mayring wrote:
> 
>> I built the newest loom from cvs, but cannot get it to run. If I start 
>> it via the wrapper (loom-wrapper.sh) I get:
>>
>> STATUS | wrapper  | 2004/03/17 09:26:13 | Launching a JVM...
>> INFO   | jvm 5    | 2004/03/17 09:26:13 | Exception in thread "main" 
>> java.lang.ExceptionInInitializerError
>> INFO   | jvm 5    | 2004/03/17 09:26:13 |       at 
>> org.jcontainer.loom.launcher.DaemonLauncher.main(DaemonLauncher.java:305)
>> INFO   | jvm 5    | 2004/03/17 09:26:13 | Caused by: 
>> java.security.AccessControlException: access denied 
>> (java.util.PropertyPermission wrapper.debug read)
> 
> 
> Not sure about the second problem.  But the above is being caused 
> because you have
> a security manager installed.  The wrapper.jar classes need to be given 
> full permission
> as they are very low level and need to be able to control the JVM.

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.

Ulrich