cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weakliem, Gordon" <Gordon.Weakl...@Den.Galileo.com>
Subject RE: Cocoon-1.8 with jakart-tomcat 3.1 installation
Date Wed, 25 Oct 2000 22:33:07 GMT
The properties path is relative to the web app root.  The standard thing to
do is put it in WEB-INF and use WEB-INF/cocoon.properties as the param value


> -----Original Message-----
> From: ajamn [mailto:ajamn@globalnet.co.uk]
> Sent: Wednesday, October 25, 2000 4:24 PM
> To: cocoon-users@xml.apache.org; robert@elastica.com
> Subject: Re: Cocoon-1.8 with jakart-tomcat 3.1 installation
> 
> 
> It is in the /conf sub directory off c:/jakarta-tomcat and 
> this is what I
> have added to it
> 
> <servlet>
>         <servlet-name>
>             org.apache.cocoon.Cocoon
>         </servlet-name>
>         <servlet-class>
>             org.apache.cocoon.Cocoon
>         </servlet-class>
> 
>         <init-param>
>             <param-name>properties</param-name>
>             <param-value>
>             c:/jakarta-tomcat/conf/cocoon.properties
>             </param-value>
>         </init-param>
> 
>  </servlet>
> ----- Original Message -----
> From: <robert@elastica.com>
> To: <cocoon-users@xml.apache.org>
> Sent: Wednesday, October 25, 2000 11:17 PM
> Subject: Re: Cocoon-1.8 with jakart-tomcat 3.1 installation
> 
> 
> > Where is your web.xml and what does it contain?
> >
> > On Wed, 25 Oct 2000, ajamn wrote:
> >
> > > Unable to open resource: jakarta-tomcat/conf/cocoon.properties
> > > java.io.FileNotFoundException:
> C:\jakarta-tomcat\webapps\ROOT\jakarta-tomcat\conf\cocoon.properties
> > > at java.io.FileInputStream.(FileInputStream.java:56)
> > > at 
> sun.net.www.protocol.file.FileURLConnection.connect(Compiled Code)
> > > at
> sun.net.www.protocol.file.FileURLConnection.getInputStream(Fil
> eURLConnection
> .java:162)
> > > at org.apache.cocoon.Cocoon.init(Cocoon.java:123)
> > > at 
> org.apache.tomcat.core.ServletWrapper.initServlet(Compiled Code)
> > > at 
> org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
> > > at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
> > > at
> org.apache.tomcat.service.http.HttpConnectionHandler.processCo
> nnection(HttpC
> onnectionHandler.java:160)
> > > at 
> org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
> > > at java.lang.Thread.run(Compiled Code)
> > >
> > > I am getting this error when I goto 
> "http:localhost:8080/Cocoon.xml"
> > > Any ideas what the problem is ? Also what is the correct 
> path format for
> the web.xml <param-value>
> > > I have tried a number of alternatives thinking this is 
> the problem.
> This was my first try was it
> > > correct
> > > c:/jakarta-tomcat/conf/cocoon.properties
> > >
> > > Also Servlet.log says this
> > > Context log path="/examples" :tomcat.errorPage: initContext log
> path="/examples" :default: initContext log path="/examples" :jsp:
> initContext log path="/test" :tomcat.errorPage: initContext 
> log path="/test"
> :default: initContext log path="/test" :jsp: initContext log 
> path="/admin"
> :tomcat.errorPage: initContext log path="/admin" :default: 
> initContext log
> path="/admin" :jsp: initContext log path="" 
:tomcat.errorPage: initContext
> log path="" :default: initContext log path="" :jsp: 
> initContext log path=""
> :org.apache.cocoon.Cocoon: initContext log path="/examples"
> :tomcat.errorPage: destroyContext log path="/examples" :default:
> destroyContext log path="/test" :tomcat.errorPage: destroyContext log
> path="/test" :default: destroy
> > >
> > > Any help appreciated
> > > Alistair
> > >
> > >
> >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >
> >
> 
> 
> ---------------------------------------------------------------------
> 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