cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florent Soulière <fsouli...@soleri.com>
Subject Merging Cocoon2 and a webapp, same context
Date Mon, 04 Mar 2002 16:58:44 GMT
Hi folks!

I seeked in the mailing-list archive, but I did not found how to make 
cocoon and a webapp using servlets share the same session context.
I am using Tomcat 4.0.1 and Cocoon 2.0.1. Everything used to work well till 
I started to try the merge.

Now the detailed situation:
For the try, I wanted to merge Cocoon2 and Tomcat's webapps/example 
application.
I included all the necessary files from cocoon directory (conf files, lib 
files, log directory), and checked every conf file for any manual 
modification. I dropped webapps/cocoon/WEB-INF/web.xml content into 
webapps/examples/WEB-INF/web.xml, while changing cocoon's URI from "/" to 
"/cocoon".

And here is the result:
- Tomcat starts properly with no error msg, and cocoon initialization lines 
are displayed as usual
- when I type http://localhost:8080/examples/cocoon in my web browser, I 
get a "resource not found" error

After several tests around this problem, it appears in the logs that Cocoon 
"forgets" the examples/cocoon part of the URL during the URI resolving...

So what is the problem? does anyone know?

Thank you in advance.

Florent Soulière @ T-Systems


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message