Hi all,

I'm still having problems with classpath setting so I'll explain my particular case:

I have two apps that use different versions of xalan and xerces. In this jar files 
there is a "javax.xml.parsers.SAXParser" class. I'm trying to deploy them into Tomcat 
3.2.1 but when I try to run the one with the newest version I get the following 
message:

javax.xml.transform.TransformerConfigurationException: Namespace not supported by 
SAXParser at 
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactor
yImpl.java:815)

I found out this was because in TOMCAT's jaxp.jar file there's an elder version of 
this SAXParser.class. So I thought the only way of solving this was loading different 
versions for each app and removing the one resident in %TOMCAT_HOME%\lib, but when I 
tryed to restart TOMCAT it didn't work. I guess this is becouse TOMCAT needs an XML 
parser to parse all xml-based configuration files, so I feel forced to chose from one 
of the two versions, for though you can specify new jars to add to the app's 
classpath, is the first one loaded the one used at runtime.

Any idea (appart from a new TOMCAT for each app)?

Thanks in adv

 

Manuel Melle Oc�riz
Software AG - E-Business Competence Center
[EMAIL PROTECTED]


Reply via email to