cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@infoplanning.com>
Subject Re: C2 don't find /logs/cocoon
Date Fri, 17 Nov 2000 15:36:09 GMT
What you are seeing is the default log destination for
Cocoon.  In Tomcat 4.0 Cocoon can create the destination
if it doesn't exist.  Do you by chance have a
SecurityManager installed?

It even works with WebSphere (although the path is
translated to "C:\logs\cocoon.log" or "/logs/cocoon.log"
for Windows or Unix respectively).

I am proposing a way to specify the URL of the log
destination and log level for cocoon at init time.

----- Original Message ----- 
From: "Ludovic Maitre" <Ludovic.Maitre@sophia.inria.fr>
To: "Cocoon Users" <cocoon-users@xml.apache.org>
Sent: Friday, November 17, 2000 10:23 AM
Subject: C2 don't find /logs/cocoon


> Hello,
> 
> With C2 on Tomcat 3.2b7 i have the following message when i want to
> access http://myhost/cocoon
> I have follow the described way to install c2.
> 
> Thanks per advance
> 
> Internal Servlet Error:
> 
> java.lang.RuntimeException: Cannot open destiantion
> file://./logs/cocoon.log: java.io.FileNotFoundException:
> /logs/cocoon.log (No such file or directory)
>         at java.lang.Throwable.fillInStackTrace(Native Method)
>         at java.lang.Throwable.fillInStackTrace(Compiled Code)
>         at java.lang.Throwable.(Compiled Code)
>         at java.lang.Exception.(Compiled Code)
>         at java.lang.RuntimeException.(RuntimeException.java:47)
>         at
> org.apache.log.output.FileOutputLogTarget.setDestination(FileOutputLogTarget.java:42)
>         at org.apache.log.LogKit.createLogTarget(LogKit.java:111)
>         at org.apache.log.LogKit.createLogger(LogKit.java:73)
>         at
> org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:75)
>         at org.apache.tomcat.core.ServletWrapper.doInit(Compiled Code)
>         at org.apache.tomcat.core.Handler.init(Compiled Code)
>         at org.apache.tomcat.core.ServletWrapper.init(Compiled Code)
>         at org.apache.tomcat.core.Handler.service(Compiled Code)
>         at org.apache.tomcat.core.ServletWrapper.service(Compiled Code)
>         at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:799)
>         at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:745)
>         at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compiled
> Code)
>         at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled
> Code)
>         at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
>         at java.lang.Thread.run(Thread.java:479)
> -- 
>  Ludovic.Maitre@sophia.inria.fr
> 
>  INRIA - 2004 route des lucioles - BP 93    Tel: (33/0) 4 92 38 50 41
>  06902   SOPHIA-ANTIPOLIS cedex (France)    Fax: (33/0) 4 92 38 76 02
> 
> ---------------------------------------------------------------------
> 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