jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rony G. Flatscher" <Rony.Flatsc...@wu-wien.ac.at>
Subject Re: Ad xslt-sample (not working on Java 1.5 & 1.6) ...
Date Fri, 15 Sep 2006 08:06:24 GMT
Hi there,

just a short follow-up.

Rony G. Flatscher wrote:
> Anthony Elder wrote:
>   
>> fwiw, i also get this on Sun JDK 1.5 but it works fine on IBMs JDK 1.5.
>> Also, having Xalan 2.7 in the Sun JDK 1.5 endorsed directory fixes the
>> problem.
>>   
>>     
> thank you very much for this hint!
>
> In the meantime I managed to get a hold of Xalan 2.7 (at the moment 2.8
> is the latest version). Created the "endorsed" directory in
> "...\jre\lib\endorsed" and copied the Xalan 2.7 files into it. The
> sample works again!
>
> Also, after experimenting with Xalan 2.8 (jars from
> 'Xerces-J-bin.2.8.1.zip') it did not work initially, but after
> extracting "xalan.jar" from 'Xerces-J-tools.2.8.1.zip' and copying it
> into the 'endorsed' directory solves the problem of not finding
> 'org.apache.xalan.processor.TransformerFactoryImpl'.
>
> Kudos to you (works on Java 1.5 and 1.6 again)!
>   

got a chance to test this further: it seems that on Sun's Java 1.5 and
1.6 distribution the classes of "xalan.jar" are missing. Just copying
that jar from the Xalan distribution to the "endorsed" directories of
Java 1.5, 1.6, resolves the issue.

Regards,

---rony




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message