cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kyle Koss <kk...@xperient.net>
Subject RE: cocoon won't deploy
Date Tue, 05 Nov 2002 19:04:20 GMT
Thanks for the help. I found that I had to this permission as well as
some others to the server.policy file. This is what I added:
	permission java.lang.RuntimePermission  "createSecurityManager";
	permission java.lang.RuntimePermission  "createClassLoader";
	permission java.util.PropertyPermission "*", "read,write";

It seems to be working now, thanks again. :)

Kyle Koss

-----Original Message-----
From: Karl Øie [mailto:karl@gan.no] 
Sent: November 5, 2002 9:53 AM
To: cocoon-users@xml.apache.org
Subject: Re: cocoon won't deploy

----- Root Cause -----
java.security.AccessControlException: access denied
(java.lang.RuntimePermission createSecurityManager)
     at
java.security.AccessControlContext.checkPermission(AccessControlContext.
java:270)
     at
java.security.AccessController.checkPermission(AccessController.java:401
)
     at
java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
     at java.lang.SecurityManager.<init>(SecurityManager.java:298)
     at
org.apache.cocoon.util.log.CocoonLogFormatter$CallStack.<init>(CocoonLog
Formatter.java:99)
     at
org.apache.cocoon.util.log.CocoonLogFormatter.<init>(CocoonLogFormatter.
java:127)
     at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:80
3)
     at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:282)


i just looked at your stacktrace and it looks like your appserver's
runtime permissions is preventing cocoon from initializing cocoons
logger, check where cocoon wants to place it's logs, and then assign
permissions to your appserver for cocoon.

mvh karl øie



On Tuesday, Nov 5, 2002, at 16:39 Europe/Oslo, Kyle Koss wrote:
----- Root Cause -----

java.security.AccessControlException: access denied
(java.lang.RuntimePermission createSecurityManager)

     at
java.security.AccessControlContext.checkPermission(AccessControlContext.

java:270)

     at
java.security.AccessController.checkPermission(AccessController.java:401

)

     at

java.lang.SecurityManager.checkPermission(SecurityManager.java:542)

     at java.lang.SecurityManager.<init>(SecurityManager.java:298)

     at
org.apache.cocoon.util.log.CocoonLogFormatter$CallStack.<init>(CocoonLog

Formatter.java:99)

     at
org.apache.cocoon.util.log.CocoonLogFormatter.<init>(CocoonLogFormatter.

java:127)

     at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:80

3)

     at

org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:282)


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message