On 26/01/2016 21:58, James H. H. Lampert wrote: > On 1/26/16 12:55 PM, Christopher Schultz wrote: > >> If you are explicitly configuring the APR connector and the APR >> library (or some required dependency -- e.g. OpenSSL -- then Tomcat >> will not start. > > to which I just replied: >> This is quite literally straight out of apache-tomcat-7.0.67.zip. >> We're currently using 7.0.54 on our own AS/400, and we have customer >> boxes anywhere from 7.0.47 to 7.0.62. And we use JSSE for SSL. > > I just noticed something about my original email. > > Somehow, the crucial exception itself got missed when I was cutting and > pasting from the terminal session into the email, which suggests. > > Immediately following the INFO message about APR came the exceptions and > stack traces, reproduced here:
Setting xmlParsingProtection="false" on the JreMemoryLeakPreventionListener should stop the exception. It looks like your XML implementation isn't compatible for the fix for that memory leak. I never did get to the root of what triggered the memory leak. It may be that your XML implementation doesn't suffer from it. Either a way a possible memory leak is probably better than a server that won't start. Mark > >> java.lang.ClassCastException: >> org.apache.crimson.tree.DOMImplementationImpl incompatible with >> org.w3c.dom.ls.DOMImplementationLS >> at >> org.apache.catalina.core.JreMemoryLeakPreventionListener.lifecycleEvent(JreMemoryLeakPreventionListener.java:459) >> >> at >> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) >> >> at >> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) >> >> at >> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402) >> >> at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:99) >> at org.apache.catalina.startup.Catalina.load(Catalina.java:642) >> at org.apache.catalina.startup.Catalina.load(Catalina.java:667) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) >> >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) >> >> at java.lang.reflect.Method.invoke(Method.java:611) >> at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:253) >> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:427) >> Jan 26, 2016 12:38:02 PM org.apache.catalina.startup.Catalina start >> SEVERE: The required Server component failed to start so Tomcat is >> unable to start. >> Throwable occurred: org.apache.catalina.LifecycleException: An invalid >> Lifecycle transition was attempted ([before_start]) for compoonent >> [StandardServer[8005]] in state [INITIALIZING] >> at >> org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:409) >> >> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:144) >> at org.apache.catalina.startup.Catalina.start(Catalina.java:693) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) >> >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) >> >> at java.lang.reflect.Method.invoke(Method.java:611) >> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) >> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:428) > > -- > JHHL > > > --------------------------------------------------------------------- > 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