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?

if so, would you mind sharing
a) your tomcat and java version
b) your architecture and os
c) a listing of your tomcat endorsed lib directory and the
lenya/WEB-INF/lib directory

i'm desperately looking for clues...

the full story as originally posted to the dev list is attached below.

any hints greatly appreciated.


regards,

jörn




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]

Reply via email to