title: FAIL - Application at context path /Hello could not be started
body: <p>I'm trying to deploy new web application in Tomcat 6.0, but whenever I click on start button, I repeatedly getting  <strong>FAIL - Application at context path /Hello could not be started</strong>. Other deployed application running fine, whenever I click on start button. But why not this application?</p>
  
  <p><strong>web-xml:</strong></p>
  
  <pre><code> &lt;web-app xmlns="http://java.sun.com/xml/ns/j2ee"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
           version="2.4"&gt;
  
  &lt;servlet&gt;
  &lt;servlet-name&gt;j_security_check&lt;/servlet-name&gt;
  &lt;servlet-class&gt;EmailHander&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  
  &lt;login-config&gt;
  &lt;auth-method&gt;FORM&lt;/auth-method&gt;
  &lt;form-login-config&gt;
  &lt;form-login-page&gt;/login.jsp&lt;/form-login-page&gt;
  &lt;form-error-page&gt;/fail_login.html&lt;/form-error-page&gt;
  &lt;/form-login-config&gt;
  &lt;/login-config&gt;
  &lt;web-app&gt;
  </code></pre>
  
  <p>This is what Exception I'm getting in catalina log file:</p>
  
  <pre><code>Jan 23, 2010 6:49:31 PM org.apache.catalina.startup.ContextConfig applicationWebConfig
  SEVERE: Parse error in application web.xml file at jndi:/localhost/Hello/WEB-INF/web.xml
  org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
      at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)
      at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:365)
      at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1066)
      at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4339)
      at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1249)
      at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:612)
      at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:136)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
      at java.lang.Thread.run(Thread.java:619)
  </code></pre>
  
  <p>What is the reason of that error in web-xml file?</p>