Hi list,

I deployed Apache Lenya, wich is built upon cocoon, in OC4J.  
Keep reading, im almost sure this issue is related to cocoon config :) 

For every url that finish with a "/" i get a "404 not found" error.
When deployed in tomcat, everything works fine and i think this is due
to these lines defined in tomcat web.xml.

  <servlet-mapping>
    <servlet-name>Default</servlet-name>
    <url-pattern>/</url-pattern>
  </servlet-mapping>

The catalina default servlet must handle the "/" url pattern and map
somehow the appropriate index.html file to the call.
In Oc4j, in global-web-application.xml file, i couldnt find any
servlet mapping for the "/" url pattern.

In Lenya/WEB-INF web.xml, there is this advice :

  <!--
    Cocoon handles all the URL space assigned to the webapp using its sitemap.
    It is recommended to leave it unchanged. Under some circumstances though
    (like integration with proprietary webapps or servlets) you might have
    to change this parameter.
  -->

Do i have to change this parameter ? If yes, what need to be done exactly ?  
Is there a tomcat default-servlet equivalent for OC4J ?

Any help would be greatly appreciated!

Thanks,

Simon

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to