You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2007/10/04 15:51:51 UTC
[jira] Assigned: (COCOON-2138) Unable to mount sitemap from Source
[ https://issues.apache.org/jira/browse/COCOON-2138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler reassigned COCOON-2138:
----------------------------------------
Assignee: Carsten Ziegeler
> 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
> Assignee: Carsten Ziegeler
> 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.