cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bazeley, John" <jbaze...@bloomberg.com>
Subject SOLVED: JavaScript in XSL/Xalan/BSF issue Cocoon 2.1.7
Date Thu, 02 Jun 2005 11:34:27 GMT
Hi All,

If you get NullPointerExceptions from Xalan when trying to call JavaScript code inside a 

<xalan:component ... >
<xalan:script lang="javascript">

block, the fix, as it turns out, is simple. The problem is that the Xalan component expects
to find the BSF component in the package com.ibm.bsf. The bsf 2.3.0 component delivered as
part of Cocoon-2.1.7 is in the package org.apache... The quick fix is to download v2.2 of
BSF which still lives in com.ibm. URL for download is http://archive.apache.org/dist/ws/soap/version-2.2/bsf.jar

My debugging of the problem was not helped by the fact that the crucial, informative, stack
trace did not appear in error.log or handled-errors.log, but on stderr.

Hope this helps someone,
Cheers, John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message