1. Explore
  2. »
  3. Tomcat Catalina

Tomcat Catalina errors

Tomcat Servlet Engine Core Classes and Standard implementations

http://tomcat.apache.org/
Solution coverage:
Summary coverage:

Top patterns

  1. Tomcat cannot load a class

    Tomcat classloader is strange - check out this great article at MuleSoft: Understanding The Tomcat Classpath - Common Problems And How To Fix Them

  2. Container cannot start due to unwanted jar in WEB-INF/lib folder

    You have packaged servlet-api.jar file in your build, this is the source of the problem. To solve this issue check this answer

  3. StandardService.startInternal() has thrown a LifecycleException
    No solution
Error patternsPackagesClassesMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

Tomcat cannot load a class

java.lang.ClassNotFoundException
org.apache.catalina.loader.WebappClassLoader.loadClass
3773Web pages
1Solution
ClassNotFoundExceptionWebappClassLoader.loadClass()3773

Container cannot start due to unwanted jar in WEB-INF/lib folder

org.apache.catalina.LifecycleException
org.apache.catalina.core.ContainerBase.startInternal
747Web pages
1Solution
LifecycleExceptionContainerBase.startInternal()747

StandardService.startInternal() has thrown a LifecycleException

org.apache.catalina.LifecycleException
4 frames hidden
org.apache.catalina.core.StandardService.startInternal
674Web pages
LifecycleExceptionStandardService.startInternal()674

LifecycleBase.start() has thrown a LifecycleException

org.apache.catalina.LifecycleException
5 frames hidden
org.apache.catalina.util.LifecycleBase.start
672Web pages
LifecycleExceptionLifecycleBase.start()672

Servlet Context unable to find the stated resource

javax.naming.NameNotFoundException
org.apache.naming.NamingContext.lookup
445Web pages
1Solution
NameNotFoundExceptionNamingContext.lookup()445

DefaultInstanceManager.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
org.apache.catalina.core.DefaultInstanceManager.loadClass
389Web pages
ClassNotFoundExceptionDefaultInstanceManager.loadClass()389

DefaultInstanceManager.loadClassMaybePrivileged() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged
385Web pages
ClassNotFoundExceptionDefaultInstanceManager.loadClassMaybePrivileged()385

DefaultInstanceManager.newInstance() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
4 frames hidden
org.apache.catalina.core.DefaultInstanceManager.newInstance
382Web pages
ClassNotFoundExceptionDefaultInstanceManager.newInstance()382

Tomcat server was not shutdown properly

java.lang.IllegalStateException
org.apache.catalina.loader.WebappClassLoader.loadClass
377Web pages
1Solution
IllegalStateExceptionWebappClassLoader.loadClass()377

WebappClassLoader.loadClass() has thrown an IllegalStateException

java.lang.IllegalStateException
1 frames hidden
org.apache.catalina.loader.WebappClassLoader.loadClass
367Web pages
IllegalStateExceptionWebappClassLoader.loadClass()367

ApplicationFilterChain.internalDoFilter() has thrown a JasperException

org.apache.jasper.JasperException
4 frames hidden
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
342Web pages
JasperExceptionApplicationFilterChain.internalDoFilter()342

Servlet initialization failed

javax.servlet.ServletException
org.apache.catalina.core.StandardWrapper.loadServlet
333Web pages
1Solution
ServletExceptionStandardWrapper.loadServlet()333

ApplicationFilterChain.doFilter() has thrown a JasperException

org.apache.jasper.JasperException
5 frames hidden
org.apache.catalina.core.ApplicationFilterChain.doFilter
321Web pages
JasperExceptionApplicationFilterChain.doFilter()321

Calling getOutputStream() and getWriter() on the same response object

java.lang.IllegalStateException
org.apache.catalina.connector.Response.getWriter
279Web pages
IllegalStateExceptionResponse.getWriter()279

StandardWrapperValve.invoke() has thrown a JasperException

org.apache.jasper.JasperException
6 frames hidden
org.apache.catalina.core.StandardWrapperValve.invoke
274Web pages
JasperExceptionStandardWrapperValve.invoke()274

ContainerBase.invoke() has thrown a JasperException

org.apache.jasper.JasperException
9 frames hidden
org.apache.catalina.core.ContainerBase.invoke
267Web pages
JasperExceptionContainerBase.invoke()267

ResponseFacade.getWriter() has thrown an IllegalStateException

java.lang.IllegalStateException
1 frames hidden
org.apache.catalina.connector.ResponseFacade.getWriter
266Web pages
IllegalStateExceptionResponseFacade.getWriter()266

StandardWrapper.loadServlet() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
org.apache.catalina.core.StandardWrapper.loadServlet
246Web pages
ClassNotFoundExceptionStandardWrapper.loadServlet()246

HostConfig.deployWAR() has thrown an IllegalStateException

java.lang.IllegalStateException
3 frames hidden
org.apache.catalina.startup.HostConfig.deployWAR
238Web pages
IllegalStateExceptionHostConfig.deployWAR()238

StandardContext.listenerStart() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
org.apache.catalina.core.StandardContext.listenerStart
233Web pages
ClassNotFoundExceptionStandardContext.listenerStart()233

StandardContext.start() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
org.apache.catalina.core.StandardContext.start
227Web pages
ClassNotFoundExceptionStandardContext.start()227

LifecycleBase.start() has thrown a LifecycleException

org.apache.catalina.LifecycleException
3 frames hidden
org.apache.catalina.util.LifecycleBase.start
218Web pages
LifecycleExceptionLifecycleBase.start()218

StandardContext.resourcesStart() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
org.apache.catalina.core.StandardContext.resourcesStart
213Web pages
IllegalArgumentExceptionStandardContext.resourcesStart()213

ContainerBase.invoke() has thrown a JasperException

org.apache.jasper.JasperException
26 frames hidden
org.apache.catalina.core.ContainerBase.invoke
202Web pages
JasperExceptionContainerBase.invoke()202

Servlet filter exception handling

javax.servlet.ServletException
1 frames hidden
org.apache.catalina.core.ApplicationFilterChain.doFilter
176Web pages
1Solution
ServletExceptionApplicationFilterChain.doFilter()176

StandardContext.listenerStart() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
5 frames hidden
org.apache.catalina.core.StandardContext.listenerStart
176Web pages
ClassNotFoundExceptionStandardContext.listenerStart()176

Bug in JSF Mojarra

java.lang.IllegalStateException
org.apache.catalina.connector.Request.doGetSession
171Web pages
1Solution
IllegalStateExceptionRequest.doGetSession()171

StandardWrapper.load() has thrown a ServletException

javax.servlet.ServletException
1 frames hidden
org.apache.catalina.core.StandardWrapper.load
165Web pages
ServletExceptionStandardWrapper.load()165

Request.getSession() has thrown an IllegalStateException

java.lang.IllegalStateException
1 frames hidden
org.apache.catalina.connector.Request.getSession
162Web pages
IllegalStateExceptionRequest.getSession()162

StandardContext.loadOnStartup() has thrown a ServletException

javax.servlet.ServletException
2 frames hidden
org.apache.catalina.core.StandardContext.loadOnStartup
161Web pages
ServletExceptionStandardContext.loadOnStartup()161

ApplicationFilterChain.doFilter() has thrown a JasperException

org.apache.jasper.JasperException
12 frames hidden
org.apache.catalina.core.ApplicationFilterChain.doFilter
160Web pages
JasperExceptionApplicationFilterChain.doFilter()160

StandardWrapper.allocate() has thrown a ServletException

javax.servlet.ServletException
1 frames hidden
org.apache.catalina.core.StandardWrapper.allocate
160Web pages
ServletExceptionStandardWrapper.allocate()160

StandardContext.start() has thrown a ServletException

javax.servlet.ServletException
3 frames hidden
org.apache.catalina.core.StandardContext.start
154Web pages
ServletExceptionStandardContext.start()154

RequestFacade.getSession() has thrown an IllegalStateException

java.lang.IllegalStateException
2 frames hidden
org.apache.catalina.connector.RequestFacade.getSession
153Web pages
IllegalStateExceptionRequestFacade.getSession()153

Servlet trying to execute further code after request has already been dispatched by RequestDispatcher

java.lang.IllegalStateException
org.apache.catalina.core.ApplicationDispatcher.doForward
149Web pages
IllegalStateExceptionApplicationDispatcher.doForward()149

StandardWrapper.loadServlet() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
5 frames hidden
org.apache.catalina.core.StandardWrapper.loadServlet
149Web pages
ClassNotFoundExceptionStandardWrapper.loadServlet()149

StandardContext.listenerStop() has thrown an IllegalStateException

java.lang.IllegalStateException
6 frames hidden
org.apache.catalina.core.StandardContext.listenerStop
147Web pages
IllegalStateExceptionStandardContext.listenerStop()147

StandardContext.start() has thrown a LifecycleException

org.apache.catalina.LifecycleException
3 frames hidden
org.apache.catalina.core.StandardContext.start
146Web pages
LifecycleExceptionStandardContext.start()146

SelectorContext.lookup() has thrown a NameNotFoundException

javax.naming.NameNotFoundException
2 frames hidden
org.apache.naming.SelectorContext.lookup
144Web pages
NameNotFoundExceptionSelectorContext.lookup()144

ApplicationDispatcher.forward() has thrown an IllegalStateException

java.lang.IllegalStateException
1 frames hidden
org.apache.catalina.core.ApplicationDispatcher.forward
144Web pages
IllegalStateExceptionApplicationDispatcher.forward()144

Bootstrap.start() has thrown a NullPointerException

java.lang.NullPointerException
15 frames hidden
org.apache.catalina.startup.Bootstrap.start
144Web pages
NullPointerExceptionBootstrap.start()144

ContainerBase.addChildInternal() has thrown a LifecycleException

org.apache.catalina.LifecycleException
5 frames hidden
org.apache.catalina.core.ContainerBase.addChildInternal
144Web pages
LifecycleExceptionContainerBase.addChildInternal()144

Bootstrap.main() has thrown a NullPointerException

java.lang.NullPointerException
16 frames hidden
org.apache.catalina.startup.Bootstrap.main
143Web pages
NullPointerExceptionBootstrap.main()143

ContainerBase.addChild() has thrown a LifecycleException

org.apache.catalina.LifecycleException
6 frames hidden
org.apache.catalina.core.ContainerBase.addChild
142Web pages
LifecycleExceptionContainerBase.addChild()142

DefaultInstanceManager.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
org.apache.catalina.core.DefaultInstanceManager.loadClass
141Web pages
ClassNotFoundExceptionDefaultInstanceManager.loadClass()141

StandardHost.addChild() has thrown a LifecycleException

org.apache.catalina.LifecycleException
7 frames hidden
org.apache.catalina.core.StandardHost.addChild
141Web pages
LifecycleExceptionStandardHost.addChild()141

HostConfig.deployDescriptor() has thrown an IllegalStateException

java.lang.IllegalStateException
3 frames hidden
org.apache.catalina.startup.HostConfig.deployDescriptor
138Web pages
IllegalStateExceptionHostConfig.deployDescriptor()138

This web application instance has been stopped already

java.lang.IllegalStateException
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading
137Web pages
IllegalStateExceptionWebappClassLoaderBase.checkStateForResourceLoading()137

DefaultInstanceManager.loadClassMaybePrivileged() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged
137Web pages
ClassNotFoundExceptionDefaultInstanceManager.loadClassMaybePrivileged()137

StandardContext.listenerStop() has thrown an IllegalStateException

java.lang.IllegalStateException
5 frames hidden
org.apache.catalina.core.StandardContext.listenerStop
136Web pages
IllegalStateExceptionStandardContext.listenerStop()136
Nothing to list here.
Nothing to list here.
Nothing to list here.
Nothing to list here.