tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ujwal Oswal <Ujwal.Os...@BristolWest.com>
Subject RE: XML Parser for Tomcat 4.1.12
Date Fri, 25 Oct 2002 13:27:16 GMT
Thanks a lot for your responce. Here's the error I am getting when I put my
xerces.jar version 1.1 in the 
common/endorsed directory.

UO.


INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
org.apache.xerces.validators.datatype.InvalidDatatypeFacetException:
Installation Problem???  Couldn't load messages: Can't find bundle for base
name org.apache.xerces.utils.regex.message, locale en_US
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.createDat
atypeValidator(DatatypeValidatorFactoryImpl.java:449)
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.createDat
atypeValidator(DatatypeValidatorFactoryImpl.java:404)
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.initializ
eDTDRegistry(DatatypeValidatorFactoryImpl.java:146)
	at
org.apache.xerces.validators.common.XMLValidator.initDataTypeValidators(XMLV
alidator.java:1949)
	at
org.apache.xerces.validators.common.XMLValidator.setValidationEnabled(XMLVal
idator.java:511)
	at
org.apache.xerces.framework.XMLParser.setValidation(XMLParser.java:393)
	at
org.apache.xerces.framework.XMLParser.setFeature(XMLParser.java:1144)
	at
org.apache.xerces.parsers.SAXParser.setFeature(SAXParser.java:578)
	at
org.apache.xerces.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:118)
	at
org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImp
l.java:96)
	at org.apache.commons.digester.Digester.getParser(Digester.java:676)
	at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:892)
	at org.apache.commons.digester.Digester.parse(Digester.java:1514)
	at
org.apache.commons.modeler.Registry.loadRegistry(Registry.java:356)
	at
org.apache.catalina.mbeans.MBeanUtils.createRegistry(MBeanUtils.java:1620)
	at
org.apache.catalina.mbeans.MBeanUtils.<clinit>(MBeanUtils.java:162)
	at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.<clinit>(GlobalR
esourcesLifecycleListener.java:115)
	at java.lang.Class.newInstance0(Native Method)
	at java.lang.Class.newInstance(Unknown Source)
	at
org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:253
)
	at
org.apache.commons.digester.Digester.startElement(Digester.java:1237)
	at
org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
	at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidat
or.java:1170)
	at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanne
r.java:1862)
	at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1238)
	at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952)
	at org.apache.commons.digester.Digester.parse(Digester.java:1495)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
[INFO] Registry - -Creating MBeanServer
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12
org.apache.xerces.validators.datatype.InvalidDatatypeFacetException:
Installation Problem???  Couldn't load messages: Can't find bundle for base
name org.apache.xerces.utils.regex.message, locale en_US
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.createDat
atypeValidator(DatatypeValidatorFactoryImpl.java:449)
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.createDat
atypeValidator(DatatypeValidatorFactoryImpl.java:404)
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.initializ
eDTDRegistry(DatatypeValidatorFactoryImpl.java:146)
	at
org.apache.xerces.validators.common.XMLValidator.initDataTypeValidators(XMLV
alidator.java:1949)
	at
org.apache.xerces.validators.common.XMLValidator.setValidationEnabled(XMLVal
idator.java:511)
	at
org.apache.xerces.framework.XMLParser.setValidation(XMLParser.java:393)
	at
org.apache.xerces.framework.XMLParser.setFeature(XMLParser.java:1144)
	at
org.apache.xerces.parsers.SAXParser.setFeature(SAXParser.java:578)
	at
org.apache.xerces.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:118)
	at
org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImp
l.java:96)
	at org.apache.commons.digester.Digester.getParser(Digester.java:676)
	at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:892)
	at org.apache.commons.digester.Digester.parse(Digester.java:1495)
	at
org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.java:5
48)
	at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:638)
	at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
243)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3493)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
org.apache.xerces.validators.datatype.InvalidDatatypeFacetException:
Installation Problem???  Couldn't load messages: Can't find bundle for base
name org.apache.xerces.utils.regex.message, locale en_US
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.createDat
atypeValidator(DatatypeValidatorFactoryImpl.java:449)
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.createDat
atypeValidator(DatatypeValidatorFactoryImpl.java:404)
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.initializ
eDTDRegistry(DatatypeValidatorFactoryImpl.java:146)
	at
org.apache.xerces.validators.common.XMLValidator.initDataTypeValidators(XMLV
alidator.java:1949)
	at
org.apache.xerces.validators.common.XMLValidator.setGrammarResolver(XMLValid
ator.java:448)
	at
org.apache.xerces.framework.XMLParser.resetOrCopy(XMLParser.java:880)
	at
org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:306)
	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:951)
	at org.apache.commons.digester.Digester.parse(Digester.java:1495)
	at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.ja
va:282)
	at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)
	at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
243)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3493)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
org.apache.xerces.validators.datatype.InvalidDatatypeFacetException:
Installation Problem???  Couldn't load messages: Can't find bundle for base
name org.apache.xerces.utils.regex.message, locale en_US
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.createDat
atypeValidator(DatatypeValidatorFactoryImpl.java:449)
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.createDat
atypeValidator(DatatypeValidatorFactoryImpl.java:404)
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.initializ
eDTDRegistry(DatatypeValidatorFactoryImpl.java:146)
	at
org.apache.xerces.validators.common.XMLValidator.initDataTypeValidators(XMLV
alidator.java:1949)
	at
org.apache.xerces.validators.common.XMLValidator.setValidationEnabled(XMLVal
idator.java:511)
	at
org.apache.xerces.framework.XMLParser.setValidation(XMLParser.java:393)
	at
org.apache.xerces.framework.XMLParser.setFeature(XMLParser.java:1144)
	at
org.apache.xerces.parsers.SAXParser.setFeature(SAXParser.java:578)
	at
org.apache.xerces.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:118)
	at
org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImp
l.java:96)
	at org.apache.commons.digester.Digester.getParser(Digester.java:676)
	at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:892)
	at org.apache.commons.digester.Digester.parse(Digester.java:1514)
	at
org.apache.catalina.startup.ContextConfig.tldScanStream(ContextConfig.java:9
77)
	at
org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.java:1006
)
	at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:870)
	at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
	at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
243)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3493)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
org.apache.xerces.validators.datatype.InvalidDatatypeFacetException:
Installation Problem???  Couldn't load messages: Can't find bundle for base
name org.apache.xerces.utils.regex.message, locale en_US
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.createDat
atypeValidator(DatatypeValidatorFactoryImpl.java:449)
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.createDat
atypeValidator(DatatypeValidatorFactoryImpl.java:404)
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.initializ
eDTDRegistry(DatatypeValidatorFactoryImpl.java:146)
	at
org.apache.xerces.validators.common.XMLValidator.initDataTypeValidators(XMLV
alidator.java:1949)
	at
org.apache.xerces.validators.common.XMLValidator.setGrammarResolver(XMLValid
ator.java:448)
	at
org.apache.xerces.framework.XMLParser.resetOrCopy(XMLParser.java:880)
	at
org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:306)
	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:951)
	at org.apache.commons.digester.Digester.parse(Digester.java:1514)
	at
org.apache.catalina.startup.ContextConfig.tldScanStream(ContextConfig.java:9
77)
	at
org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.java:1006
)
	at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:870)
	at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
	at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
243)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3493)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
org.apache.xerces.validators.datatype.InvalidDatatypeFacetException:
Installation Problem???  Couldn't load messages: Can't find bundle for base
name org.apache.xerces.utils.regex.message, locale en_US
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.createDat
atypeValidator(DatatypeValidatorFactoryImpl.java:449)
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.createDat
atypeValidator(DatatypeValidatorFactoryImpl.java:404)
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.initializ
eDTDRegistry(DatatypeValidatorFactoryImpl.java:146)
	at
org.apache.xerces.validators.common.XMLValidator.initDataTypeValidators(XMLV
alidator.java:1949)
	at
org.apache.xerces.validators.common.XMLValidator.setGrammarResolver(XMLValid
ator.java:448)
	at
org.apache.xerces.framework.XMLParser.resetOrCopy(XMLParser.java:880)
	at
org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:306)
	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:951)
	at org.apache.commons.digester.Digester.parse(Digester.java:1495)
	at
org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.java:5
48)
	at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:638)
	at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
243)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3493)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
org.apache.xerces.validators.datatype.InvalidDatatypeFacetException:
Installation Problem???  Couldn't load messages: Can't find bundle for base
name org.apache.xerces.utils.regex.message, locale en_US
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.createDat
atypeValidator(DatatypeValidatorFactoryImpl.java:449)
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.createDat
atypeValidator(DatatypeValidatorFactoryImpl.java:404)
	at
org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl.initializ
eDTDRegistry(DatatypeValidatorFactoryImpl.java:146)
	at
org.apache.xerces.validators.common.XMLValidator.initDataTypeValidators(XMLV
alidator.java:1949)
	at
org.apache.xerces.validators.common.XMLValidator.setGrammarResolver(XMLValid
ator.java:448)
	at
org.apache.xerces.framework.XMLParser.resetOrCopy(XMLParser.java:880)
	at
org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:306)
	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:951)
	at org.apache.commons.digester.Digester.parse(Digester.java:1495)
	at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.ja
va:282)
	at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)
	at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
243)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3493)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)



-----Original Message-----
From: Jean-Francois Arcand [mailto:jfarcand@apache.org]
Sent: Thursday, October 24, 2002 7:31 PM
To: Tomcat Users List
Subject: Re: XML Parser for Tomcat 4.1.12



Ujwal Oswal wrote:

>How do I overwrite the default xerces parser for Tomcat 4.1.12. I am having
>existing application on Tomcat 4.05 which works great but 
>when I migrated to Tomcat 4.1.12. its giving me  problems. I tried copying
>xerces.jar into "common/endorsed" directory. It gave me
>

That the proper way to go.

>errors when I started Tomcat after that. 
>
Please always post your exception + the Xerces version. There are many 
issues with Xerces...and you will have faster answer :-)

-- Jeanfrancois

>
>Please help.
>
>UO
>
>  
>


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