You may give 4.1.24 a shot. I used it with jdk1.3.x and it worked fine.
Lim is right, javax.xml.* is specific to jdk1.4 and above.
UR Friend wrote:
Thanks for the info...can you tell me which version of Tomcat will work with this version. Is it possible to include any jar file and get it working......
Sudhir H
On Wed, 22 Oct 2003 Lim Huat Heng wrote :
I guess the main problem is your jdk is version 1.3.1. If I am not wrong the javax.xml.* only in jdk1.4 above.Try to get jdk1.4.1 or preferably jdk1.4.2, then change your JAVA_HOME to point to the new jdk location. hope it helps.
----- Original Message ----- From: "UR Friend" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 22, 2003 4:40 PM Subject: Tom cat set up problem
Hi!
I am trying to set up tomcat...tried to set-up following env var
It is installed in
C:\jakarta-tomcat-5.0.12\jakarta-tomcat-5.0.12
SET JAVA_HOME=C:\jdk1.3.1_01 SET CATALINA_HOME=C:\jakarta-tomcat-5.0.12\jakarta-tomcat-5.0.12
When tried to run, I got the following exception. Am I running it in a proper manner...??
C:\jakarta-tomcat-5.0.12\jakarta-tomcat-5.0.12\bin>catalina run Using CATALINA_BASE: C:\jakarta-tomcat-5.0.12\jakarta-tomcat-5.0.12 Using CATALINA_HOME: C:\jakarta-tomcat-5.0.12\jakarta-tomcat-5.0.12 Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.0.12\jakarta-tomcat-5.0.12\temp Using JAVA_HOME: C:\jdk1.3.1_01 [ERROR] Digester - -Begin event threw error <java.lang.NoClassDefFoundError: jav ax/xml/transform/Source>java.lang.NoClassDefFoundError: javax/xml/transform/Sour ce at org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.execute (MbeansDescriptorsDOMSource.java:130) at org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.loadDes criptors(MbeansDescriptorsDOMSource.java:120) at org.apache.commons.modeler.Registry.load(Registry.java:819) at org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:931 ) at org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:909 ) at org.apache.catalina.mbeans.MBeanUtils.createRegistry(MBeanUtils.java: 1646) at org.apache.catalina.mbeans.MBeanUtils.<clinit>(MBeanUtils.java:154) at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.<clinit>( GlobalResourcesLifecycleListener.java:112) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:237) at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.j ava:253) at org.apache.commons.digester.Rule.begin(Rule.java:200) at org.apache.commons.digester.Digester.startElement(Digester.java:1273)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXP arser.java:459) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Abst ractXMLDocumentParser.java:221) at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBi nder.java:595) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen t(XMLDocumentFragmentScannerImpl.java:747) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM LDocumentFragmentScannerImpl.java:329) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav a:525) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav a:581) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j ava:1175) at org.apache.commons.digester.Digester.parse(Digester.java:1548) at org.apache.catalina.startup.Catalina.load(Catalina.java:512) at org.apache.catalina.startup.Catalina.load(Catalina.java:550) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:258) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391)
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: jav ax/xml/transform/Source at org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.execute (MbeansDescriptorsDOMSource.java:130) at org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.loadDes criptors(MbeansDescriptorsDOMSource.java:120) at org.apache.commons.modeler.Registry.load(Registry.java:819) at org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:931 ) at org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:909 ) at org.apache.catalina.mbeans.MBeanUtils.createRegistry(MBeanUtils.java: 1646) at org.apache.catalina.mbeans.MBeanUtils.<clinit>(MBeanUtils.java:154) at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.<clinit>( GlobalResourcesLifecycleListener.java:112) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:237) at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.j ava:253) at org.apache.commons.digester.Rule.begin(Rule.java:200) at org.apache.commons.digester.Digester.startElement(Digester.java:1273)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXP arser.java:459) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Abst ractXMLDocumentParser.java:221) at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBi nder.java:595) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen t(XMLDocumentFragmentScannerImpl.java:747) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM LDocumentFragmentScannerImpl.java:329) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav a:525) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav a:581) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j ava:1175) at org.apache.commons.digester.Digester.parse(Digester.java:1548) at org.apache.catalina.startup.Catalina.load(Catalina.java:512) at org.apache.catalina.startup.Catalina.load(Catalina.java:550) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:258) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391)
C:\jakarta-tomcat-5.0.12\jakarta-tomcat-5.0.12\bin>
Sudhir H
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]