I'm not sure what release of XalanJ you're on but with current versions,
you should get a more descriptive error message.  Because of the
"class:" syntax, I think you might be on XalanJ1 which is really not
being supported here anymore.  So, I'd upgrade to XalanJ2 which uses a
thread classloader, if there is one.

Since things worked on Weblogic, I'd suspect that your classpath is the
problem.  Have a look at the Inprise App Server documentation on how
they structure their classloaders and where your packages belong.

Gary

> -----Original Message-----
> From: Rajesh Balu [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, September 13, 2001 12:05 PM
> To: [EMAIL PROTECTED]
> Subject: XSLT: Call to extension failed....Urgent!!!
> 
> 
> I am trying to call a java method during XSL transformation:
> My XSL Looks like this:
> 
> <xsl:stylesheet version="1.0"
>                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
>                 xmlns:lxslt="http://xml.apache.org/xslt";
>                 xmlns:chart="class:{packages list}.ChartEngine"
>                 extension-element-prefixes="chart">
> 
> <lxslt:component prefix="chart" elements="createPieChart createGraph">
>   <lxslt:script lang="javaclass" src="class:{packages 
> list}.ChartEngine"/> </lxslt:component> . . . <xsl:when 
> test="count($pieData) &gt; 0">
>       <chart:createPieChart/>
> </xsl:when>
> 
> I m getting the error:
> Call to extension element failed: {packages list}.ChartEngine
> 
> What is problem. This was working on a Weblogic on Unix and 
> Win. The problem is when the appserver is changed to Inprise 
> App Server on Unix. Please help....Thanks in advance
> 
> Rajesh.
> 

Reply via email to