You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by wi...@e-consortium.com.au on 2002/06/04 07:13:03 UTC
404 not found
Hi all
Im am trying to use cocoon in conjunction with apache tomcat to serv xml
pages. When trying to access .xml pages a 404 error is reported even tho the
page exists. I am using cocoon 2.0.2, j2sdk1.4.0, tomcat 3.3.1 and apache
1.3.22. I am using mod_jk and ajp13 to pass requests from apache to tomcat.
As it stands if i access http://ip-addr:8080/cocoon the cocoon sitemap is
compiled and works like a charm showing all the sample pages etc.
However if i access http://vhostname/ which has the appropriate entries in
httpd.conf and the context in apps-vhost.xml in the $TOMCAT_HOME/conf dir, I
get a 404 error saying that index.xml is not found.
The requiest is being passed from apache to tomcat because tomcat reports the
404 error.
I am new to this and have been working from info i have managed to scavenge up
from around the web.
Any help would be greatly appreciated.
Thanks in advance
Will <wi...@e-consortium.com.au>
----------------------------------------------------
This message sent through E-Access Internet Webmail
--> http://www.e-access.com.au
A Subsidiary of E-Consortium Pty Ltd
-----------------------------------------------------
---------------------------------------------------------------------
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>
Re: 404 not found
Posted by wi...@e-consortium.com.au.
The under the dir in which the context is serverd from the access.log file reads
DEBUG (2002-06-04) 18:10.59:902 [access](/referees.xml) Thread-
29/AbstractEnvironment: Set the URI Prefix (OLD=, NEW=)
DEBUG (2002-06-04) 18:10.59:902 [access](/referees.xml) Thread-
29/AbstractEnvironment: Reset context to file:/home/www/hosted/sasf/
WARN (2002-06-04) 18:10.59:903 [access](/referees.xml) Thread-
29/CocoonServlet: The resource was not found
org.apache.cocoon.ResourceNotFoundException: No pipeline matched
request: /referees.xml
at org.apache.cocoon.www.sitemap_xmap.process(/usr/local/jakarta-
tomcat/work/www.sasf.com.au/ROOT/cocoon-
files/org/apache/cocoon/www/sitemap_xmap.java:3847)
at org.apache.cocoon.www.sitemap_xmap.process(/usr/local/jakarta-
tomcat/work/www.sasf.com.au/ROOT/cocoon-
files/org/apache/cocoon/www/sitemap_xmap.java:3085
at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
at org.apache.cocoon.sitemap.SitemapManager.process
(SitemapManager.java:154)
at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
at org.apache.cocoon.servlet.CocoonServlet.service
(CocoonServlet.java:998)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService
(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service
(ServletHandler.java:485)
at org.apache.tomcat.core.ContextManager.internalService
(ContextManager.java:917)
at org.apache.tomcat.core.ContextManager.service
(ContextManager.java:833)
at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection
(Ajp13Interceptor.java:341)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:494)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:516)
at java.lang.Thread.run(Thread.java:536)
INFO (2002-06-04) 18:10.59:905 [access](/referees.xml) Thread-
29/CocoonServlet: 'referees.xml' Processed by Apache Cocoon 2.0.2 in 20.42
seconds.
Sorry about the wrapping, hope this might shed some light on the prob. Thanks
for your response
Will <wi...@e-consortium.com.au>
----------------------------------------------------
This message sent through E-Access Internet Webmail
--> http://www.e-access.com.au
A Subsidiary of E-Consortium Pty Ltd
-----------------------------------------------------
---------------------------------------------------------------------
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>
Re: 404 not found
Posted by John Austin <jo...@integerservices.no-ip.com>.
On Tuesday 04 June 2002 01:13 am, you wrote:
> Hi all
>
> Im am trying to use cocoon in conjunction with apache tomcat to serv
> xml pages. When trying to access .xml pages a 404 error is reported
> even tho the page exists. I am using cocoon 2.0.2, j2sdk1.4.0,
> tomcat 3.3.1 and apache 1.3.22. I am using mod_jk and ajp13 to pass
> requests from apache to tomcat.
What is in the logs ? (.../cocoon/WEB-INF/logs/ ...)
---------------------------------------------------------------------
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>