It is XML parser (DOM and SAX ) from oracle (doc <https://docs.oracle.com/cd/B10501_01/appdev.920/a96609/arj_xmlparserv2.htm>) . Why is tomcat using XMLparserv2 , tomcat we have in linux machine is from redhat . Why does tomcat downloaded from apache tomcat site work different form the one provided by REDHat . how does class loading work in tomcat.
On Thu, Nov 16, 2017 at 8:15 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Vicky, > > On 11/16/17 6:53 AM, Vicky B wrote: > > Hi All, > > > > I have application which is using spring , ESAPI and oracle > > xmlparserv2.jar , this application works fine in my local tomcat on > > windows but when i deployed in linux server with linux based > > apache tomcat i got below error when spring container was trying > > to parse application specific xmls > > > > org.apache.catalina.core.StandardContext.listenerStart Exception > > sending context initialized event to listener instance of class > > org.springframework.web.context.ContextLoaderListener > > > > org.springframework.beans.factory.BeanDefinitionStoreException: > > Parser configuration exception parsing XML from class path > > resource [spring/spring-context.xml]; nested exception is > > javax.xml.parsers.ParserConfigurationException: Unable to validate > > using XSD: Your JAXP provider > > [oracle.xml.jaxp.JXDocumentBuilderFactory@526ad194] does not > > support XML Schema. Are you running on Java 1.4 with Apache > > Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD > > support. > > > > > > when i removed xmlparserv2.jar from my war file the application > > worked fine , what is the issue is this due to class loading issue > > or could be possible reason for this issue . Does tomcat provide > > xml parser which spring loads. > > What is xmlparserv2.jar? > > - -chris > -----BEGIN PGP SIGNATURE----- > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQJRBAEBCAA7FiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAloNpJQdHGNocmlzQGNo > cmlzdG9waGVyc2NodWx0ei5uZXQACgkQHPApP6U8pFjMzBAAnGkUGwrItoDMyqhU > 2Q4LEOe6/dUW1ZdixIGztY87r7e3r0Q0BAGhFD4bS6NMRjS1XwG1trUKYPiIyp1Q > DUScFZfa3kSBnpbxHtdYTSls91LZq5C5uo/sfDh7zmJ1asWmO4WdfcdaBJIAYl1I > XyEpLqGHKHiGBpbpAzsKiI94TBJWL5RXoOaEcXxWms1z6T+x9yO0uwdbKVGEasjY > cMpJlmwjq7dJyglttQ+hsEUfpXyJ6BsregRQwvC2/EGrQgbZQTMpVTUTR3Qyw3NX > sjSiU1lZyXO3gBncooqNGiR2AJG2w8OZkMVyZGh/c6qj+ZJf/1dene7DA+7VOjmZ > 2NrqDH1mhm2S0OXrU+/poOEnUS6324J2Hqu4Fz5M5rUPaKqNaZd/BKeD8YbxgHiz > t1Fr9mYIXkq+NVZuAkDjQdybwZ/cwdnTk73PMRX3v6StE5XDLxAkHs/djOgl8cWB > Spv5Ri23rufbv5mcWPQep2wnR6l2OGb6w3C1v6wv93VS06Ex/dLGqxZYukllxqzW > QSEFC1DRvYsAVLjvTM2nKSKwgFR/YAlvQ2FDuulfevE8aU0hMQ8E4AgZc/oP4SlS > fF0EJ8LStp75ZHlFYfCGLHVmhCiZFuCJOjCyiZt87jfHDerTHoxjRZMIpAI51Lxd > oYbq3v/0qYfAV0jqClo0SM9u/8s= > =ivJQ > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- *Thanks & Regards Vickyb*