Blog categories:
Tomcat
tomcat
Tomcat cannot be started today, the following error is reported:
org. Apache. Catalina. Core. StandardContext startInternal
SEVERE: the Error listenerStart
org. Apache. Catalina. Core. StandardContext startInternal
SEVERE: Context [/*****] startup failed due to previous errors
online to find more than N articles, all did not hit the point.
later found a method on foreign websites
http://grails.1312388.n4.nabble.com/Deployment-problems-td4628710.html.
I tried it and it worked. The plan is as follows.
Tomcat Error is too vague, nothing is reported, only prompt Error listenerStart. To debug, we need to get a more detailed log. You can create a new file called Logging.Properties in the Web-inf/Classes directory as follows
Java code
- handlers = org. Apache. Juli. FileHandler, Java. Util. Logging. ConsoleHandler # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Handler specific properties. # Describes specific configuration info for Handlers. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # org. Apache. Juli. FileHandler. Level = FINE Org. Apache. Juli. FileHandler. Directory = ${catalina. Base}/logs org. Apache. Juli. FileHandler. The prefix = error – debug. Java. Util. Logging. ConsoleHandler. Level = FINE Java. Util. Logging. ConsoleHandler. Formatter = Java. Util. Logging. SimpleFormatter ol>
thus, when we start tomcat again, we will generate a more detailed log error-debug.2012-05-31.log under the logs directory.
let’s go in and see what’s wrong.
the error I encountered was FileNotFoundException. The mistake that everybody encounters should have all sorts of, so want specific problem specific analysis.
tomcat logging of document may refer to http://tomcat.apache.org/tomcat-7.0-doc/logging.html
Read More:
- Tomcat start error: severe: error listener start
- IntelliJ idea solves Tomcat error: error listener start
- An error occurred when starting Tomcat in Eclipse: the sub container failed to start
- Error: (serious: a child container failed during start) (server component failed to start so Tomcat is unable)
- tomcat Issues org.apache.catalina.LifecycleException: Failed to start component
- [Solved] Tomcat Failed to Start Error: Server Tomcat v8.5 Server at localhost failed to start
- Maven failed to start component [standard engine [Tomcat] when using tomcat7 Maven plugin plug-in run
- A child container failed during start Tomcat error prompt
- Failed to execute goal org.apache.tomcat . maven:tomcat7-maven-plugin : 2.2: run solution
- Tomcat service failed to start
- Tomcat start error touch under Linux
- Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently
- Tomcat — failed to start, flash back
- The Tomcat connector configured to listen on port 7014 failed to start
- Server Tomcat v8.0 Server at localhost failed to start.
- Server Tomcat v7.0 server at localhost failed to start
- Start tomcat server error Context initialization failed
- Solution to Tomcat’s broken pipe error
- The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in u
- Start Tomcat and report error occurred during initialization of VM could not reserve enough space for object