2012/7/18 David Crossley <crossley@apache.org>
Thanks Javier, nicely handled.
See also https://issues.apache.org/jira/browse/FOR-1236 today.

Thanks David, I've finally closed it because seems like the user already solved the "problem".

Salu2.
 

-David

Javier Puerto (JIRA) wrote:
>
>     [ https://issues.apache.org/jira/browse/COCOON-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416537#comment-13416537 ]
>
> Javier Puerto commented on COCOON-2324:
> ---------------------------------------
>
> Hi Sridhar
>
> Please, use the mailing user list to ask if you have any problem first. You can check the following page: http://cocoon.apache.org/2.1/1175.html#Cocoon+Users
> The user list is read by more people so you can found more help, JIRA is more for developers.
>
> Regarding your problem, seems like Cocoon can't found the sitemap.xmap file to process your request. Could you confirm if the file "C:/RamsReportFinal_Workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_1_Server1342385312791/deploy/RamsReport.war/sitemap.xmap " exists?
>
> Salu2.
>
> > Cocoon 2 - Resource not found
> > -----------------------------
> >
> >                 Key: COCOON-2324
> >                 URL: https://issues.apache.org/jira/browse/COCOON-2324
> >             Project: Cocoon
> >          Issue Type: Improvement
> >          Components: - Components: Sitemap
> >    Affects Versions: 2.1.11
> >            Reporter: Sridhar Goranti
> >             Fix For: 2.1.11
> >
> >         Attachments: Cocoon2.1.11 - Resource not found.jpeg
> >
> >
> > Hi,
> > I have deployed my cocoon 2.1.11 web application successfully in JBoss 5.1.0 GA application server. But when I try access the cocoon application from Internet Explorer browser, I am getting below message:-
> > Cocoon 2 - Resource not found
> > --------------------------------------------------------------------------------
> > type resource-not-found
> > message Resource not found
> > description The requested URI "/RamsReport/mount/xreporter/en-US/reportcatalog" was not found.
> > sender org.apache.cocoon.servlet.CocoonServlet
> > source Cocoon servlet
> > path-info
> > mount/xreporter/en-US/reportcatalog
> > request-uri
> > /RamsReport/mount/xreporter/en-US/reportcatalog
> > JBoss 5.1.0 GA Server console log message:-
> > ++++++++++++++++++++++++++++++++++
> > ERROR   (2012-07-17) 14:08.43:214   [sitemap] (/RamsReport/mount/xreporter/en-US/reportcatalog) http-localhost%2F127.0.0.1-8080-5/DefaultTreeBuilder: Failed to load sitemap from file:/C:/RamsReportFinal_Workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_1_Server1342385312791/deploy/RamsReport.war/sitemap.xmap
> > org.apache.cocoon.ResourceNotFoundException: Resource not found file:/C:/RamsReportFinal_Workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_1_Server1342385312791/deploy/RamsReport.war/sitemap.xmap: java.io.FileNotFoundException: C:\RamsReportFinal_Workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_5.1_Runtime_1_Server1342385312791\deploy\RamsReport.war\sitemap.xmap (The system cannot find the file specified)
> >     at org.apache.cocoon.components.source.FileSource.getInputStream(FileSource.java:145)
> >     at org.apache.cocoon.components.source.AbstractStreamSource.getInputSource(AbstractStreamSource.java:161)
> >     at org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStreamSource.java:206)
> >     at org.apache.cocoon.components.source.DelayedRefreshSourceWrapper.toSAX(DelayedRefreshSourceWrapper.java:156)
> >     at org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(DefaultTreeBuilder.java:387)
> >     at org.apache.cocoon.components.treeprocessor.TreeProcessor.setupRootNode(TreeProcessor.java:366)
> >     at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:330)
> >     at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:293)
> >     at org.apache.cocoon.Cocoon.process(Cocoon.java:579)
> >     at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1043)
> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> >     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> >     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
> >     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> >     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
> >     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
> >     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
> >     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
> >     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> >     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> >     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
> >     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> >     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
> >     at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:905)
> >     at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:592)
> >     at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2036)
> >     at java.lang.Thread.run(Unknown Source)
> > Caused by: java.io.FileNotFoundException: C:\RamsReportFinal_Workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_5.1_Runtime_1_Server1342385312791\deploy\RamsReport.war\sitemap.xmap (The system cannot find the file specified)
> >     at java.io.FileInputStream.open(Native Method)
> >     at java.io.FileInputStream.<init>(Unknown Source)
> >     at org.apache.cocoon.components.source.FileSource.getInputStream(FileSource.java:143)
> >     ... 30 more
> > java.io.FileNotFoundException: C:\RamsReportFinal_Workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_5.1_Runtime_1_Server1342385312791\deploy\RamsReport.war\sitemap.xmap (The system cannot find the file specified)
> >     at java.io.FileInputStream.open(Native Method)
> >     at java.io.FileInputStream.<init>(Unknown Source)
> >     at org.apache.cocoon.components.source.FileSource.getInputStream(FileSource.java:143)
> >     at org.apache.cocoon.components.source.AbstractStreamSource.getInputSource(AbstractStreamSource.java:161)
> >     at org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStreamSource.java:206)
> >     at org.apache.cocoon.components.source.DelayedRefreshSourceWrapper.toSAX(DelayedRefreshSourceWrapper.java:156)
> >     at org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(DefaultTreeBuilder.java:387)
> >     at org.apache.cocoon.components.treeprocessor.TreeProcessor.setupRootNode(TreeProcessor.java:366)
> >     at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:330)
> >     at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:293)
> >     at org.apache.cocoon.Cocoon.process(Cocoon.java:579)
> >     at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1043)
> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> >     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> >     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
> >     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> >     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
> >     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
> >     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
> >     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
> >     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> >     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> >     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
> >     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> >     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
> >     at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:905)
> >     at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:592)
> >     at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2036)
> >     at java.lang.Thread.run(Unknown Source)
> > java.io.FileNotFoundException: C:\RamsReportFinal_Workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_5.1_Runtime_1_Server1342385312791\deploy\RamsReport.war\sitemap.xmap (The system cannot find the file specified)
> >     at java.io.FileInputStream.open(Native Method)
> >     at java.io.FileInputStream.<init>(Unknown Source)
> >     at org.apache.cocoon.components.source.FileSource.getInputStream(FileSource.java:143)
> >     at org.apache.cocoon.components.source.AbstractStreamSource.getInputSource(AbstractStreamSource.java:161)
> >     at org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStreamSource.java:206)
> >     at org.apache.cocoon.components.source.DelayedRefreshSourceWrapper.toSAX(DelayedRefreshSourceWrapper.java:156)
> >     at org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(DefaultTreeBuilder.java:387)
> >     at org.apache.cocoon.components.treeprocessor.TreeProcessor.setupRootNode(TreeProcessor.java:366)
> >     at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:330)
> >     at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:293)
> >     at org.apache.cocoon.Cocoon.process(Cocoon.java:579)
> >     at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1043)
> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> >     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> >     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
> >     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> >     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
> >     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
> >     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
> >     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
> >     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> >     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> >     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
> >     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> >     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
> >     at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:905)
> >     at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:592)
> >     at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2036)
> >     at java.lang.Thread.run(Unknown Source)
> > DEBUG   (2012-07-17) 14:08.43:215   [sitemap] (/RamsReport/mount/xreporter/en-US/reportcatalog) http-localhost%2F127.0.0.1-8080-5/ResourceLimitingPool: Put a org.apache.cocoon.components.treeprocessor.sitemap.SitemapLanguage back into the pool.
> > If anybody is worked on / work around, please help me here.
> >
> > Thanks & Regards,
> > Sridhar Goranti
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>