Jörn Nettingsmeier wrote: > hi everyone! > > > i'm having weird library issues (or so i think) while running > lenya-trunk in tomcat. xalan seems unable to map namespaces to prefixes, > and this has been reported as a jar incompatibility issue before > is anyone currently using this setup successfully? >
I am rununing 1.4( svn Revision: 450435) on tomcat. > if so, would you mind sharing > a) your tomcat and java version java version "1.4.2_06 Apache Tomcat/5.0.30 > b) your architecture and os Linux 2.6.13-15.11-smp SUSE LINUX 10.0 (X86-64) > c) a listing of your tomcat endorsed lib directory and the > lenya/WEB-INF/lib directory > common endorsed: jakarta-bcel-20040329.jar jakarta-regexp-1.4.jar xalan-2.7.0.jar xercesImpl-2.8.1.jar xml-apis-1.3.03.jar You could also test whether you hava a $JAVA_HOME/jre/endorsed (and some xml libraries within this dir. They might conflict with the libraries located in tomcat's common endorsed ....). HTH Jann > > > >>> >>> since moving to a tomcat deployment, i've had problems with the >>> sitetree generation code. when i click on the "site" tab, i get an >>> alert saying >>> >>> "Error: could not load response xml for url: >>> /lenya/soziologie/authoring/sitetree-fragment.xml?area=authoring&path=/index&language=de&initial=true&areas=authoring,trash,archive&lenya.module=sitetree" >>> >>> >> >> the stacktrace i posted was probably a red herring. the real problem >> surfaced when i tried the url from the error message above manually: >> >> An error occured. >> >> Unable to map "http://www.w3.org/2000/xmlns/" >> >> org.apache.cocoon.ProcessingException: Unable to map >> "http://www.w3.org/2000/xmlns/" at [SAXParseException] - >> file:/srv/www/tomcat5/base/webapps/lenya/lenya/modules/sitetree/xslt/navigation/sitetree2nav.xsl:61:19 >> >> at <map:serialize type="xml"> - >> file:/srv/www/tomcat5/base/webapps/lenya/lenya/modules/sitetree/sitemap.xmap:144:36 >> >> at <map:transform> - >> file:/srv/www/tomcat5/base/webapps/lenya/lenya/modules/sitetree/sitemap.xmap:140:113 >> >> at <map:transform type="access-control-sitetree"> - >> file:/srv/www/tomcat5/base/webapps/lenya/lenya/modules/sitetree/sitemap.xmap:132:55 >> >> >> >> >> the line in question is this: >> >> <xsl:template match="tree:fragment"> <nav:fragment> >> ^^^^^^^^^^^^^^^^^^^ <xsl:copy-of select="@*"/> <xsl:choose> <xsl:when >> test="@base"> <xsl:apply-templates> >> >> i.e. the moment the xsl processor tries a namespace mapping, it >> becomes unhappy. >> >> some googling turned up this: >> http://mail-archives.apache.org/mod_mbox/lenya-user/200504.mbox/[EMAIL >> PROTECTED] >> >> >> >> so i double-checked my endorsed libs: >> soz-131:/usr/share/tomcat5/common/endorsed # ls -1 . .. >> [jaxp_parser_impl].jar [xml-commons-apis].jar >> jakarta-bcel-20040329.jar jakarta-regexp-1.4.jar xalan-2.7.0.jar >> xercesImpl-2.8.1.jar xml-apis-1.3.03.jar >> >> soz-131:/usr/share/tomcat5/webapps/lenya/WEB-INF/lib/endorsed # ls -1 >> . .. >> >> shared/ and server/ don't have any conflicting jars either. >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jann Forrer Informatikdienste Universität Zürich Winterthurerstr. 190 CH-8057 Zürich oooO mail: [EMAIL PROTECTED] ( ) phone: +41 44 63 56772 \ ( fax: +41 44 63 54505 \_) http://www.id.unizh.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
