On 28/12/2015 09:17, Kien Vo wrote: > My current xerces version is 2.6.1.
Thanks. > My app used Tomcat 7 without any issues. But upgrading to Tomcat 8 got that > error. Again, you need to be specific about versions. Tomcat 7.0.what? > Is there any way to by-pass this error? Try answering my previous question about line 447 of Tomcat's JreMemoryLeakPreventionListener Mark > >> Subject: Re: Fail to start Tomcat 8 with xerces library >> To: users@tomcat.apache.org >> From: ma...@apache.org >> Date: Mon, 28 Dec 2015 07:58:14 +0000 >> >> On 28/12/2015 07:24, Kien Vo wrote: >>> Hi all, >>> >>> I encountered this error when starting Tomcat 8 with >>> xerces library. Any help appreciated! >>> >>> I put xerces.jar in this folder C:\tomcat8\endorsed. If I >>> don't put it there, Tomcat does not load that library at all. My application >>> gets "NoSuchMethodException". >>> >>> Tomcat server: 8.0.30.0 >>> JVM Version: >>> 1.7.0_51-b13 (32 bit) >>> OS Name: >>> Windows 7 (64 bit) >>> OS Version: >>> 6.1 >> >> That version information is helpful but it doesn't include the Xerces >> version. There have been quite a few Xerces releases so the version is >> important. >> >>> org.w3c.dom.ls.LSException: >>> java.lang.NullPointerException >>> >>> at >>> com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl.writeToString(DOMSerializerImpl.java:534) >>> >>> at >>> org.apache.catalina.core.JreMemoryLeakPreventionListener.lifecycleEvent(JreMemoryLeakPreventionListener.java:447) >> >> Have you looked at line 447 of Tomcat's JreMemoryLeakPreventionListener? >> If not, take a look. If yes, you should be able to ask a more specific >> question. >> >> Mark >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org