cocoon-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/COCOON-2138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Grzegorz Kossakowski updated COCOON-2138:
-----------------------------------------

    Affects version (Component): Parent values: Components: Sitemap(10152). Level 1 values:
1.0.0-RC3-dev(10312). 

> 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