-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3664135
By: eburkitt
When I attempt to install ZKDemo.war, Tomcat (4.1) logs the following error:
Exception sending context initialized event to listener instance of class com.potix.web.init.LabelLocatorHook
java.lang.ExceptionInInitializerError
Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission com.potix.comp.ComponentManager.class read). The referenced class is in in pxcommon.jar and that file, along with all the other .jar files from zk-1.1.0.tar.gz, are in $TOMCAT_HOME/shared/lib. Could this be a Java configuration problem?
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3671797
By: michaelkmb
Also, check whether Tomcat 4.1 support servlet spec 2.4 (which is a requirement for ZK).
According to Tomcat 4 documentation, it does not.
"Tomcat 4 implements the Servlet 2.3 and JavaServer Pages 1.2 specifications from Java Software, ... "
Regards,
Michael
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3668526
By: henrichen
Did your problem solved?
/henri
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3665080
By: tomyeh
Looks like you turned on java policy (java.security.manager and java.security.policy).
If so, you have to modify catalina.policy and add the following permission to ZK's libraries.
permission java.util.PropertyPermission "*", "read";
permission java.util.PropertyPermission "com.potix.*", "read, write";
permission java.util.logging.LoggingPermission "control";
permission java.io.FilePermission "C:\\usr\\Tomcat5.5\\conf\\-", "read";
permission java.io.FilePermission "C:\\usr\\Tomcat5.5\\shared\\-", "read";
permission java.io.FilePermission "C:\\usr\\Tomcat5.5\\webapps\\-", "read";
permission java.io.FilePermission "C:\\usr\\Tomcat5.5\\temp\\-", "read, write, delete";
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.loader";
Asked: 2006-04-02 03:29:11 +0800
Seen: 906 times
Last updated: Apr 06 '06