cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Sylvain.The...@swisscom.com>
Subject RE: AccessControlException when requesting cocoon.war
Date Mon, 10 Jun 2002 14:56:13 GMT
Thank you for the answer but the error permission seems to be in C:\j2sdkee1.3.1\repository\u68111\web\cocoon
but there are no files in this directory!?!

Sorry but I am a bit desoriented.
I use the deploytool tool from Sun and normaly you just add the .war in an application (.ear)
and you deploy it. There was never permissions problem.
I work on Windows NT.
It seems it's not a web access problem but a file access problem.

Thank you
Sylvain

-----Message d'origine-----
De: Paul Gilligan [mailto:pdgilligan@oyap.net]
Date: lundi, 10. juin 2002 15:45
À: cocoon-users@xml.apache.org
Objet: Re: AccessControlException when requesting cocoon.war


check the permissions on the files that you installed, what user sis you 
install it as ? and what user are you running it as?

on my systems I am installing as root and running under a "nobody" user 
group

Sylvain.Thevoz@swisscom.com wrote:
> Hello,
>  
> I'm new in Coccon and I try to install Cocoon 2 on the Sun J2EE ref. server.
> I deploy the cocoon.war on my J2EE server and it seems OK.
>  
> But when I request "cocoon" from my browser ( http://localhost:8000/cocoon) there is
an exception:
> javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception
> 
> 	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:871)
> 
> 	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615)
> 
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
> 
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 
> 	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.java:201)
> 
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 
> 	at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
> 
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 
> 	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:2343)
> 
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
> 
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 
> 	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
> 
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
> 
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 
> 	at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:368)
> 
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 
> 	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:174)
> 
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 
> 	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:1012)
> 
> 	at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
> 
> 	at java.lang.Thread.run(Thread.java:479)
> 
> 
> root cause:
> java.security.AccessControlException: access denied (java.io.FilePermission C:\j2sdkee1.3.1\repository\u68111\web\cocoon-files
read)
> 
> 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:267)
> 
> 	at java.security.AccessController.checkPermission(AccessController.java:394)
> 
> 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:540)
> 
> 	at java.lang.SecurityManager.checkRead(SecurityManager.java:885)
> 
> 	at java.io.File.exists(File.java:541)
> 
> 	at java.io.File.mkdirs(File.java:973)
> 
> 	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:238)
> 
> 	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
> 
> 	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615)
> 
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
> 
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 
> 	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.java:201)
> 
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 
> 	at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
> 
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 
> 	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:2343)
> 
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
> 
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 
> 	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
> 
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
> 
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 
> 	at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:368)
> 
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 
> 	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:174)
> 
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 
> 	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:1012)
> 
> 	at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
> 
> 	at java.lang.Thread.run(Thread.java:479)
> 
> 
>  
>  
> Could you help me
> Thank you
> Sylvain Thevoz
> 
> ---------------------------------------------------------------------
> 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>
> 



---------------------------------------------------------------------
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>


---------------------------------------------------------------------
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