It looks like you're not finding bsf.jar. Can you make sure it's in
your classpath along with any jars you may need for javascript? See
http://xml.apache.org/xalan-j/extensions.html#supported-lang
Gary
Justus Neuser wrote:
>
> Hi,
>
> I tried to run the extensions samples with Xalan Java
> 2.2D6 (and Java 1.4 beta). The Bsf-Java samples run
> smoothly but the two Javascript-Bsf samples constantly
> give error messages like the one below although my
> classpath settings seem to be correct.
> Can anyone help me solving this problem?
> Thanx a lot for your time.
> Justus
>
> D:\Program Files\xalan\samples\extensions>java
> org.apache.xalan.xslt.Process -in
> 2-basicJscript.xml -xsl 2-basicJscript.xsl
> java.lang.ClassNotFoundException:
> com/ibm/bsf/BSFManager
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at
> org.apache.xalan.extensions.ExtensionHandlerGeneral.<clinit>(Unknown
> Source)
> at
> org.apache.xalan.templates.ElemExtensionDecl.runtimeInit(Unknown
> Sour
> ce)
> at
> org.apache.xalan.transformer.TransformerImpl.transformNode(Unknown
> So
> urce)
> at
> org.apache.xalan.transformer.TransformerImpl.run(Unknown
> Source)
> at java.lang.Thread.run(Unknown Source)
> <?xml version="1.0" encoding="UTF-8"?>
>
> XSLT Error (javax.xml.transform.TransformerException):
> Could not initialize BSF
> manager
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/