Just before the call to the transform, insert
boolean envOk = (new
EnvironmentCheck()).checkEnvironment(aPrintWriter);
This will show the classpath in use as well as some handy other
information. Obviously, the system cannot load your class but I'm not
sure why. Also, what version of Xalan are you running?
Gary
Noel L Yap wrote:
>
> I've developed a XSL file that works fine when run from the command line, but I
> get the error:
> Call to extension function failed: unable to load class
> 'com.jpmorgan.tk.utils.core.iso8601.IsoDateTimeParser'
> Call to extension function failed: method call/new failed:
> com.ibm.bsf.BSFException: Method with signature parse(class java.lang.String)
> could not be found
> Call to extension function failed: method call/new failed:
> java.lang.reflect.InvocationTargetException target exception:
> java.lang.NullPointerException
>
> when it's called from a JSP. We're using WebSphere as our app server and I've
> played around with its CLASSPATH with no luck. Any other hints would be greatly
> appreciated.
>
> Thanks,
> Noel
>
> This communication is for informational purposes only. It is not intended as
> an offer or solicitation for the purchase or sale of any financial instrument
> or as an official confirmation of any transaction. All market prices, data
> and other information are not warranted as to completeness or accuracy and
> are subject to change without notice. Any comments or statements made herein
> do not necessarily reflect those of J.P. Morgan Chase & Co., its
> subsidiaries and affiliates.