cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <Giacomo.P...@pwr.ch>
Subject Re: Unable to see Cocoon.xml
Date Wed, 07 Jun 2000 22:11:23 GMT
The status page is called Cocoon.xml not cocoon.xml

Giacomo

On Wed, Jun 07, 2000 at 02:41:40PM -0400, Udaypal R. Aarkoti wrote:
> Mike,
>       now there is a new error.
> 
> Error found handling the request.
> org.xml.sax.SAXParseException: File
> "file:/var/jakarta-tomcat/webapps/ROOT/cocoon.xml" not found.
> 	at
> org.apache.cocoon.parser.AbstractParser.fatalError(AbstractParser.java:105)
> 	at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1347)
> 	at
> org.apache.xerces.framework.XMLParser.startReadingFromDocument(XMLParser.jav
> a:2424)
> 	at org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:346)
> 	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1207)
> 	at org.apache.cocoon.parser.XercesParser.parse(XercesParser.java:84)
> 	at org.apache.cocoon.parser.AbstractParser.parse(AbstractParser.java:83)
> 	at
> org.apache.cocoon.producer.ProducerFromFile.getDocument(ProducerFromFile.jav
> a:78)
> 	at org.apache.cocoon.Engine.handle(Engine.java:289)
> 	at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
> 	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
> 	at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:160)
> 	at
> org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
> )
> 	at java.lang.Thread.run(Thread.java:475)
> 
> Is cocoon.xml created dynamically?
> If yes, i dont see that in the ROOT directory, if no where does this
> cocoon.xml reside
> 
> 
> -----Original Message-----
> From: Mike Engelhart [mailto:mengelhart@earthtrip.com]
> Sent: Wednesday, June 07, 2000 2:12 PM
> To: cocoon-users@xml.apache.org
> Subject: Re: Unable to see Cocoon.xml
> 
> 
> on 6/7/00 12:51 PM, Udaypal R. Aarkoti at uaarkoti@techcontrol.com wrote:
> 
> > Hi Mike,
> > i already tried this, i also tried to put the propeties file in
> > /var/jakarta-tomcat/webapps/ROOT but it didnot work. I get the same error.
> >
> > I'm trying the change the path of the properties file throught the web.xml
> > in cocoon/src/WEB-INF directory and then run the build.sh script. Is this
> > the correct approach or is there another approach.
> >
> > After i build i'm copying the cocoon.jar into the tomcat/lib directory,
> > again can i ask if this is the only change needed when you change the
> path?
> >
> > thank you
> 
> It doesn't matter where you build cocoon.jar.  Just build it in any
> directory and then move it to tomcat/lib.
> 
> Then, in your root web directories WEB-INF/ directory, there needs to be 2
> things, a cocoon.properties and a web.xml.   web.xml needs to have this:
> 
>     <servlet>
>         <servlet-name>
>             cocoon
>         </servlet-name>
>         <servlet-class>
>             org.apache.cocoon.Cocoon
>         </servlet-class>
>         <init-param>
>             <param-name>
>                 properties
>             </param-name>
>             <param-value>
>                 WEB-INF/cocoon.properties
>             </param-value>
>         </init-param>
>         <load-on-startup>-10</load-on-startup>
>     </servlet>
> 
> 
> and that should do it.
> 
> Mike
> 
> 
> ---------------------------------------------------------------------
> 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
> 

-- 
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
CH-8166 Niederweningen                    Web:   http://www.pwr.ch


Mime
View raw message