() throws LifecycleException;// Lifecycle describes the life cycle of the program running
4 manual debuggingPublic static void main (String args []) {String argsNew [] = {"start"}; // manually add this parameter(New Catalina (). process (argsNew );}
4.1 initialize Catalina // goto4.1.1 public Embedded (){This (null); // go 1.2}
4.1.2 public Embedded (Realm realm ){
Super ();SetRealm (realm );SetSecurityPro
The following shows the error that I ran Tomcat when I was using SPRINGMVC because of a problem with the Web. XML configuration.Severity: A child container failed during startjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException:Failed to start component [Standardengine[catalina]. Standardhost[localhost]. Standardcontext[/springmvcfiletest]] at Java.util.concurrent.FutureTask.repor
This is the problem when you start Tomcat today.Failed to start component [Standardengine[catalina]. Standardhost[localhost]. Standardcontext[/springstruts]]One look first remove the project to run Tomcat itself to see if Tomcat went wrong?If it is not generally the case of Web. XML, do you see if your Web. XML is corr
Conf/web. xml ------------- org. apache. catalina. servlets. DefaultServlet, tomcatconfcatalina1.org. apache. catalina. servlets. DefaultServlet
First, all requests entering tomcat will flow through the servlet. If no servlet specified by the application is matched, it will flow to the default servlet. The default servlet is configured in/conf/web. xml. What is
Define final with reference to metadata.
Later I found another author's solution:
Solution: Remove activedevloader from the Tomcat settings of the project, or remove devloader from the XXX. xml file of the project in the \ conf \ Catalina \ localhost directory of Tomcat. Tomcat 7 is available.
With myeclipse, you
Tags: blog HTTP Io OS ar Java SP file on
There is a blog talking very well: http://blog.csdn.net/flyliuweisky547/article/details/22753383
Below is the code I added with comments
@ Echo offrem: The environment modification is localized. The setlocal to endlocal command does not have an impression on the environment modification. The Code setlocalrem after endlocal is difficult to understand. It should be deleted from temporary files. if not "" % 1 "" = "" Run "" Goto mainentryif "% Temp %" = ""
When tomacat is started, the following error occurs:Severe:
Null
Component
Catalina:
Type=
Jspmonitor,
Name=
JSP,
Webmodule= //
Localhost/, Go to the Internet to find the answer. Many Daniel said that the JDK version of the project is inconsistent with the JDK version set by Tomcat. Therefore, after both are changed to jdk1.5 and rebuild, an error is returned:
ExceptionSending context initialize
Org. apache. catalina. connector. ClientAbortException: null,
For example, the error log is as follows:
Org. apache. catalina. connector. ClientAbortException: null
The problem is that the connection is closed when the server is preparing to respond.
If the requests from the browser to the server need to go through several intermediate proxies, you should check the link in which the connection is closed
Workaround:Manually set the MaxPermSize size, if it is a Linux system, modify the tomcat_home/bin/catalina.sh, if it is a Windows system, modify tomcat_home/bin/Catalina.bat, Add the following line to the "echo" Using catalina_base: $CATALINA _base "":Java_opts= "-server-xx:permsize=64m-xx:maxpermsize=128mThis article is from the "Nothing-skywalker" blog, please be sure to keep this source http://tianxingzhe.blog.51cto.com/3390077/1675313Containerba
From http://topic.csdn.net/u/20080131/10/5aa34d03-92f2-41ca-adf1-b97e61218705.html
In current tomcat, shtml is not supported by default and requires certain configuration. In fact, it is not very complicated. Different Tomcat versions have different configuration methods. The reference method is as follows:
Tomcat5.x configuration method:
1. Find the servlets-ssi.renametojar file in the $ catalina_base/S
It is very likely that the jar package in the Lib folder of Tomcat conflicts with the jar package in the Lib file of the project.
Delete all the duplicates under the Lib file of the project and the jar files of Tomcat.
Note: If you create a flex project and convert it to a web form, delete the Tomcat class library in the project. Otherwise, the project will con
The error message is as follows, mainly because there is a/tomcat-users.xml.new (the system cannot find the specified path .)
2006-9-3 11:28:39 org. Apache. Coyote. http11.http11protocol initInformation: initializing coyote HTTP/1.1 on http-80802006-9-3 11:28:40 org. Apache. Catalina. startup. Catalina LoadInformation: initialization processed in 1360 MS2006-9-3
] #[Root @ denet2 tomcat] # cd bin/[Root @ denet2 bin] # lsBootstrap. jar cpappend. bat jpappend. bat servlet. jar startup. batCatalina. bat jasper. bat jspc. bat shutdown. bat startup. shCatalina. sh jasper. sh jspc. sh shutdown. sh[Root @ denet2 bin] #./startup. shUsing CLASSPATH:/usr/local/tomcat/bin/bootstrap. jar:/usr/local/tomcat/bin/servlet. jar:/usr/local
[Switch] set the remote Debug Method in Tomcat
Http://hi.baidu.com/huamarco/blog/item/75c3f2a411e3ebf29152ee34.html
From: http://blog.csdn.net/zmxj/
What is remote debugging? When debugging Java code for a web project, we need to integrate your Tomcat server with your development tools (such as JBuilder, or you need some plug-ins to support the tool (such as myclipse in eclipse). These methods are implement
What is remote debugging? When debugging Java code for a web project, we need to integrate your Tomcat server with your development tools (such as JBuilder, or you need some plug-ins to support the tool (such as myclipse in eclipse). These methods are implemented locally, that is, your development tool and tomcat run on the same server, if your development tools and servers are no longer on one machine, you
Log formats are diverse, sometimes the same as below:
The first solution is to modify all the ports in server. XML, because not only port 8080 may be occupied!
When a problem occurs, I modify port 8080. As a result, the two other ports were occupied after some time.
11-jul-2014 16:53:16. 703 info [main] org. Apache. Catalina. Core. aprlifecyclelistener. init loaded APR based Apache Tomcat native library 1.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.