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: [EMAIL PROTECTED]
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to