Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Implemented
    • Affects Version/s: 2.1.11
    • Fix Version/s: 2.1.11
    • Component/s: - Components: Sitemap
    • Labels:
      None
    • Urgency:
      Urgent
    • Affects version (Component):
      Components: Sitemap
    • Fix version (Component):
      Components: Sitemap

      Description


      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


        Activity

        Hide
        Sridhar Goranti added a comment -
        Attached the message, what I am getting while accessing my cocoon 2.1.11 application from the IE browser.

        If anybody face the same problem and have the fix.

        Please help me here.


        Thanks & Regards,
        Sridhar Goranti


        Show
        Sridhar Goranti added a comment - Attached the message, what I am getting while accessing my cocoon 2.1.11 application from the IE browser. If anybody face the same problem and have the fix. Please help me here. Thanks & Regards, Sridhar Goranti
        Hide
        Javier Puerto added a comment -
        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.
        Show
        Javier Puerto added a comment - 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.
        Hide
        Javier Puerto added a comment -
        By latest email messages from dev list, seems like the user fixed this issue. http://cocoon.markmail.org/thread/jgu6flwamn7fvpe4
        Show
        Javier Puerto added a comment - By latest email messages from dev list, seems like the user fixed this issue. http://cocoon.markmail.org/thread/jgu6flwamn7fvpe4

          People

          • Assignee:
            Javier Puerto
            Reporter:
            Sridhar Goranti
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development