In the %Tomcat_Home%/bin/catalina.bat or catalina.sh, the " -Djava.endorsed.dirs=" is already set. you should be able to set " -Xbootclasspath/p:<class-path>" in the batch file too. I've never tried myself. But I did try to set "-Xbootclasspath/p:" when I tested some samples from command line. It works fine.
Another option is you can copy the new version of xalan.jar to %Tomcat_Home%/common/endorsed/. It works! ok, I have tried to do this, but how do I do to launch tomcat with Xbootclasspath/p:<class-path> parameter ?? or how do I do to set a -Djava.endorsed.dirs= ..... parameter ?? in the future application I must to specify always this parameter ?? thanks, marco ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "marco giannetti" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, March 11, 2003 2:49 PM Subject: Re: Xalan servlet sample problem > Hi, Marco > > I assumed that you are using Sun JDK 1.4.*. If so, it's caused because an > old version of Xalan-J is shipped as part of JDK 1.4.x. You can work around > this by using the Java run-time "Endorsed Standards Override" mechanism. > Such as prepending the new xalan.jar on your boot-time class path, with the > -Xbootclasspath/p:<class-path> option or put xalan.jar in your tomcat > endorsed directory /common/endorsed. > > Christine Li > XSLT Development > IBM Toronto Lab > Tel: (905)413-2601 > Email: [EMAIL PROTECTED] >
