cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carine Porret" <>
Subject problem configuring Resin with Cocoon
Date Tue, 30 Jan 2001 09:22:50 GMT
 Sorry to bother but I'm going through problems configuring Cocoon with Resin 1.2.b3 and you
might be able to help me out  :
 I put the following lines in the Resin.conf file :
 <host id=''>
 <classpath id='e:\resin1.2.b3\lib' source='e:\resin1.2.b3\lib'/>
 <servlet-mapping url-pattern='/cocoon/*' servlet-name='org.apache.cocoon.Cocoon'/>
 <servlet servlet-name='org.apache.cocoon.Cocoon' servlet-class='org.apache.cocoon.Cocoon'>
               <init-param name='properties' properties=''/>
 <error-log id='log/error.log'/>
 Thus I manage to access the Cocoon.xml file by entering the following url :
 (cocoon being a virtual directory)
 but now I try to access index.xml file in the same way and I get the following message error
 org.xml.sax.SAXParseException: File "file:e:/resin1.2.b3/doc/cocoon/samples/cocoon" not found.
 at org.apache.cocoon.parser.AbstractParser.fatalError(
 The index.xml file is in the samples directory (and not cocoon as it is not a real directory!)
 Would you have any idea why this doesn't work correctly? Otherwise the idea was to be able
to have xml and html pages in my application, how do I manage to do that ? I get 'page not
found' if I ask for an html page as it doesn't launch the cocoon servlet !!

 Thanks a lot,
 Best Regards

View raw message