cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko (JIRA)" <j...@apache.org>
Subject [jira] Created: (COCOON-2138) Unable to mount sitemap from Source
Date Thu, 04 Oct 2007 08:56:50 GMT
Unable to mount sitemap from Source
-----------------------------------

                 Key: COCOON-2138
                 URL: https://issues.apache.org/jira/browse/COCOON-2138
             Project: Cocoon
          Issue Type: Bug
          Components: * Cocoon Core
    Affects Versions: 2.2-dev (Current SVN)
            Reporter: Vadim Gritsenko
            Priority: Blocker


Currently it is possible to mount/load sitemaps only when they are residing on a file system
(or in classpath). But if sitemap location is a Source (any source supported by Cocoon, such
as xmldb:), sitemap location will be incorrectly resolved by Spring and it will fail with
exception.

Reproduced by: http://localhost:8888/cocoon-xmldb-sample/xmount/

Exception:
Caused by: java.io.FileNotFoundException: ServletContext resource [/xmldb:xindice-embed:///db/cocoon/sitemap]
cannot be resolved to URL because it does not exist
        at org.springframework.web.context.support.ServletContextResource.getURL(ServletContextResource.java:112)
        at org.apache.cocoon.core.container.spring.avalon.ConfigurationReader.convertSitemap(ConfigurationReader.java:222)
        at org.apache.cocoon.core.container.spring.avalon.ConfigurationReader.readSitemap(ConfigurationReader.java:100)
        at org.apache.cocoon.core.container.spring.avalon.SitemapElementParser.readConfiguration(SitemapElementParser.java:67)
        at org.apache.cocoon.core.container.spring.avalon.BridgeElementParser.parse(BridgeElementParser.java:74)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message