cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <>
Subject RE: newbie: problem with cocoon on debian testing, jdk 1.4.0_01, tomcat 4.0.3 with cocoon 2.0.3
Date Sun, 21 Jul 2002 22:24:59 GMT
> From: daniel meier []
> hi there
> I've done the source build with the modifications described for tomcat
> and with the modifications for java 1.4.0_01.
> everything should be runnig with debian woody/testing. I installed the
> as well (xfree-common).
> but still no success. at the bottom you see the msg from tomcat.


Here is an important part:

> root cause
> access denied
> (java.util.PropertyPermission javax.xml.parsers.SAXParserFactory read)
>  at
> :270)
>  at
>  at
>  at
>  at java.lang.System.getProperty(
>  at

Which in plain English reads: "You are running your Java *with* security
manager, and Cocoon is trying to read system property
javax.xml.parsers.SAXParserFactory, but this is not allowed because of
current security settings".

You have to find out java.policy file somewhere in your setup (mine is
in $JAVA_HOME/jre/lib/security) and add something similar to:

grant {

Which means: everybody can do everything. Or, you can tinker with this
file and allow only set of permissions to Cocoon libraries only. It
could look like:

grant codeBase "file:${catalina.home}/webapps/cocoon/WEB-INF/lib/-" {

(this should work if you have property catalina.home and cocoon is
expanded under webapps).

For more details regarding Java security, refer to Java documentation
and books.


> thx for any help.
> kind regards
> daniel

<snip what="long stacktrace"/>

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message