Kesav,
I've managed to get XSL extensions working with orion 1.4.5.  I'm surprised
to hear that xalan uses the class loader of the current thread.  It appeared
to me that it was using the class loader that loaded xalan (most likely the
main orion thread) since when I added the extension to my application
classpath xalan couldn't find it.  If it is using the current thread class
loader, it should be enough to simply add a <lib> tag to you
orion-application.xml file with you extension.  Since this didn't work for
me, I created a work around by starting orion using the command below.
MailParser.jar contains my extension, and
I needed to include the bsf classes as well.

Hope this helps,
Andre

D:\orion-prod>D:\jdk1.3\bin\java -cp
orion.jar;NDSupp/MailParser.jar;NDSupp/bsf.
jar;NDSupp/bsfengines.jar com.evermind.server.ApplicationServer

-----Original Message-----
From: Kesav Kumar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 01, 2001 2:12 PM
To: Orion-Interest
Subject: has any one tried XSL extensions with orion1.4.7?


Has any one tried xsl extension mecahnism with orion.  I am using xalan2.0
with orion.  I wrote a java class and I want to call the class from my xsl
stylesheet.  xalan loads the class using the classloader of the current
thread.  The class loader what it is getting is from orion.  Orion is never
able to load the class no matter where I keep my class. Has any one tried
this feature with orion1.4.7.

Thanks in advance.

Kesav Kumar
Software Engineer
Voquette, Inc.
650 356 3740
mailto:[EMAIL PROTECTED]
http://www.voquette.com
Voquette...Delivering Sound Information

Reply via email to