I get this error *everytime* I try to reload a context in Tomcat (without
doing a hard restart of Tomcat). It works fine on first start, just not
after a reload.
Has anyone run into this before? I noticed a jndi lookup in this trace that
might be the cause seeing as how jndi shouldn't be running.
SEVERE: Exception processing TLD META-INF/taglib.tld in JAR at resource path
C:\path to web app\WEB-INF\lib\jersey.jar in context
java.lang.NullPointerException
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
at org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java
:518)
at org.apache.catalina.startup.TldConfig.tldScanJar(TldConfig.java:476)
at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:301)
at org.apache.catalina.core.StandardContext.processTlds(
StandardContext.java:4428)
at org.apache.catalina.core.StandardContext.start(StandardContext.java
:4235)
at org.apache.catalina.core.ContainerBase.addChildInternal(
ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDescriptor(
HostConfig.java:626)
at org.apache.catalina.startup.HostConfig.deployDescriptors(
HostConfig.java:553)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
:488)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.backgroundProcess(
ContainerBase.java:1337)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
(ContainerBase.java:1601)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
(ContainerBase.java:1610)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(
ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
Jan 29, 2008 11:55:05 AM
org.apache.catalina.startup.ContextConfigprocessDefaultWebConfig
SEVERE: Parse error in default web.xml
java.lang.NullPointerException
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
at org.apache.catalina.startup.ContextConfig.processDefaultWebConfig(
ContextConfig.java:695)
at org.apache.catalina.startup.ContextConfig.defaultWebConfig(
ContextConfig.java:632)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java
:1061)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(
ContextConfig.java:261)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
LifecycleSupport.java:117)
at org.apache.catalina.core.StandardContext.start(StandardContext.java
:4239)
at org.apache.catalina.core.ContainerBase.addChildInternal(
ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDescriptor(
HostConfig.java:626)
at org.apache.catalina.startup.HostConfig.deployDescriptors(
HostConfig.java:553)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
:488)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.backgroundProcess(
ContainerBase.java:1337)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
(ContainerBase.java:1601)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
(ContainerBase.java:1610)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(
ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
Jan 29, 2008 11:55:05 AM
org.apache.catalina.startup.ContextConfigapplicationWebConfig
SEVERE: Parse error in application web.xml file at
jndi:/localhost/WEB-INF/web.xml
java.lang.NullPointerException
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
at org.apache.catalina.startup.ContextConfig.applicationWebConfig(
ContextConfig.java:369)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java
:1062)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(
ContextConfig.java:261)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
LifecycleSupport.java:117)
at org.apache.catalina.core.StandardContext.start(StandardContext.java
:4239)
at org.apache.catalina.core.ContainerBase.addChildInternal(
ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDescriptor(
HostConfig.java:626)
at org.apache.catalina.startup.HostConfig.deployDescriptors(
HostConfig.java:553)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
:488)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.backgroundProcess(
ContainerBase.java:1337)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
(ContainerBase.java:1601)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
(ContainerBase.java:1610)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(
ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
Jan 29, 2008 11:55:05 AM org.apache.catalina.startup.ContextConfig start
SEVERE: Marking this application unavailable due to previous error(s)
Jan 29, 2008 11:55:05 AM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Jan 29, 2008 11:55:05 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors