cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergio Carvalho <sergio.carva...@acm.org>
Subject Re: Tried just about everything
Date Wed, 29 Aug 2001 15:40:30 GMT

Please, when posting a new thread to the list, don't reply to an existing
thread. It confuses message threading on mail clients.

Now, about your problem, please tell us which OS are you using, and which JVM.
Do you have any extra JARs on the JRE's ext directory? 

I had C2b2 running out of the box with Tomcat 4b7 on Linux with Sun's JDK 1.3.1.
It didn't involve editing the web.xml from the cvs checkout. Just your build
command and copying the WAR archive to webapps.


On Wed, 29 Aug 2001 11:15:31 -0400, Matt Jezorek wrote:
From: "Matt Jezorek" <matt@bluelinux.org>
--

> Cocoon 2 from CVS
> Tomcat 4 beta 7
> 
> no extra jars no extra anything.
> 
> edited the web.xml in the webapps/WEB-INF from the cvs checkout to include
> the path to the servlet.jar
> 
> used ./build.sh -Dinclude.webapp.libs=yes webapp
> 
> copyed the cocoon.war file to the /home/jakarta-tomcat/webapps directory
> 
> ran the ./startup.sh in the bin dir
> 
> and hit
> 
> http://www.bluelinux.org:8080/cocoon/
> 
> this is what i got
> 
> javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw
> exception
>  at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
>  at
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:602)
>  at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:214)
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:215)
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2314)
>  at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
> )
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>  at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :163)
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
> 1000)
>  at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1093
> )
>  at java.lang.Thread.run(Thread.java:484)
> 
> with a root cause of
> 
> java.security.AccessControlException: access denied (java.io.FilePermission
> /home/jakarta-tomcat-4.0-b7/work/localhost/cocoon read)
>  at
> java.security.AccessControlContext.checkPermission(AccessControlContext.java
> :272)
>  at
> java.security.AccessController.checkPermission(AccessController.java:399)
>  at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
>  at java.lang.SecurityManager.checkRead(SecurityManager.java:890)
>  at java.io.File.exists(File.java:546)
>  at java.io.File.mkdirs(File.java:978)
>  at org.apache.cocoon.util.IOUtils.createFile(IOUtils.java:302)
>  at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:150)
>  at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:833)
>  at
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:602)
>  at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:214)
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:215)
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2314)
>  at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
> )
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>  at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :163)
>  at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
> 1000)
>  at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1093
> )
>  at java.lang.Thread.run(Thread.java:484)
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.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