ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | byline-commits List | December 2004 Index

    Date Index  -->     Thread Index  -->

[ byline-Bugs-301115 ] Error when trying to display sitemap due to missing xsl


Bugs item #301115, was opened at 2004-12-16 13:30
You can respond by visiting: 
http://forge.objectweb.org/tracker/?func=detail&atid=350155&aid=301115&group_id=143

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Markus Öhler (digi)
Assigned to: Nobody (None)
Summary: Error when trying to display sitemap due to missing xsl

Initial Comment:
When trying to display the Portal Sitemap application, only an error page
appears. The catalina log shows ...

2004-12-16 13:28:05 ApplicationDispatcher[] Servlet.service() for servlet
legacy-adapter threw exception
java.lang.RuntimeException: no path to XSL stylesheet found; 
try modifying /WEB-INF/resources/stylesheet-paths.txt
at com.arsdigita.templating.PatternStylesheetResolver.resolve
(PatternStylesheetResolver.java:254)... (much more here ...)

The solution is really simple. An "index.xsl" for the portal-sitemap (content
see below) should be added at 
/portalserver/web/__ccm__/apps/portal-sitemap/xsl/ 

File content: 

<?xml version="1.0"?>
<xsl:stylesheet
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">

  <xsl:include 
href="../../../../packages/portalserver/xsl/portal-sitemap.xsl"/>
</xsl:stylesheet>

The upper solution applies to the source tree, if you want to apply it to a
running system the file has to be added at  (not completely sure about this,
what ccm hostinit does exactly i still not understand completely) 

CCMHOME/webapps/ROOT/__ccm__/apps/portal-sitemap/xsl/ 
(affects running system)

and

CCM_ZIP_ROOT\usr\share\java\webapps\ccm-portalserver-version\ROOT\__ccm__\apps\portal-sitemap\xsl\
(to persist the changes and let them survive the next ccm hostinit)

----------------------------------------------------------------------

You can respond by visiting: 
http://forge.objectweb.org/tracker/?func=detail&atid=350155&aid=301115&group_id=143



    Date Index  -->     Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.