You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ralf Duda <Ra...@m2s-clip.de> on 2001/06/22 21:50:45 UTC

Newbie Unable to open resource: WEB-INF/cocoon.properties

Hello,

I have ot the same problem like Arif Shaikh but on Linux.
jakarta-tomcat-4.0-b5 (bin distribution)
cocoon 1.8.2 (bin distribution)

After the installation, step by step accurate step by step, non servlet
could be startet.
Before i install cocoon every works fine.

In the installation doc i found the instruction:
"...must copy any .jar files from $COCOON_HOME/lib to
$TOMCAT_HOME/lib..."
But the only way to get tomget work is to delete the cocoon
servlet_2_2.jar.

Now i can start the old servlets, fine but...

If i try to start http://localhost:8080/cocoon/Cocoon.xml the result a
the following error:
"Unable to open resource: WEB-INF/cocoon.properties"

My $TOMCAT_HOME/webapps/cocoon/WEB-INF/web.xml looks like:

....
 <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>WEB-INF/cocoon.properties</param-value>
  </init-param>
 </servlet>
....

Gritsenko say in his email:
"in your web.xml there is a path to your cocoon.properites.
since both are in the same dir, the path should reflect this fact."

Quit funny, but what does it mean "reflect this fact"?
../cocoon.properties - ERROR
/cocoon/WEB-INF/cocoon.properties - ERROR
....

I hope there is someone with the same software - _working_.

best regards,
Ralf Duda

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>