project after deployment running as false, can not start , the error log :
Apr 02, 2014 2:06:47 pm org.apache.catalina.startup.ContextConfig parseWebXml
serious : Parse error in application web.xml file at jndi :/ localhost / fut / WEB-INF / web.xml
org.xml.sax.SAXParseException; systemId: jndi :/ localhost / fut / WEB-INF / web.xml; lineNumber: 9; columnNumber: 27; ; Error at (9, 27): For input string: ""
at org.apache.tomcat.util.digester.Digester.createSAXException (Digester.java: 2687)
at org.apache.tomcat.util.digester.Digester.createSAXException (Digester.java: 2719)
at org.apache.tomcat.util.digester.Digester.endElement (Digester.java: 1054)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement (AbstractSAXParser.java: 609)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement (AbstractXMLDocumentParser.java: 183)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement (XMLDTDValidator.java: 766)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement (XMLDocumentFragmentScannerImpl.java: 1342)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl $ FragmentContentDriver.next (XMLDocumentFragmentScannerImpl.java: 2770)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next (XMLDocumentScannerImpl.java: 606)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument (XMLDocumentFragmentScannerImpl.java: 510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (XML11Configuration.java: 848)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (XML11Configuration.java: 777)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse (XMLParser.java: 141)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse (AbstractSAXParser.java: 1213)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl $ JAXPSAXParser.parse (SAXParserImpl.java: 649)
at org.apache.tomcat.util.digester.Digester.parse (Digester.java: 1537)
at org.apache.catalina.startup.ContextConfig.parseWebXml (ContextConfig.java: 1742)
at org.apache.catalina.startup.ContextConfig.webConfig (ContextConfig.java: 1174)
at org.apache.catalina.startup.ContextConfig.configureStart (ContextConfig.java: 828)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent (ContextConfig.java: 302)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java: 119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent (LifecycleBase.java: 90)
at org.apache.catalina.core.StandardContext.startInternal (StandardContext.java: 5148)
at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java: 150)
at org.apache.catalina.core.ContainerBase.addChildInternal (ContainerBase.java: 866)
at org.apache.catalina.core.ContainerBase.addChild (ContainerBase.java: 842)
at org.apache.catalina.core.StandardHost.addChild (StandardHost.java: 615)
at org.apache.catalina.startup.HostConfig.deployDescriptor (HostConfig.java: 649)
at org.apache.catalina.startup.HostConfig $ DeployDescriptor.run (HostConfig.java: 1581)
at java.util.concurrent.Executors $ RunnableAdapter.call (Executors.java: 471)
at java.util.concurrent.FutureTask.run (FutureTask.java: 262)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java: 1145)
at java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java: 615)
at java.lang.Thread.run (Thread.java: 744)
Caused by: java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString (NumberFormatException.java: 65)
at java.lang.Integer.parseInt (Integer.java: 504)
at java.lang.Integer.valueOf (Integer.java: 582)
at org.apache.catalina.deploy.ServletDef.setLoadOnStartup (ServletDef.java: 179)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java: 57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java: 43)
at java.lang.reflect.Method.invoke (Method.java: 606)
at org.apache.tomcat.util.IntrospectionUtils.callMethodN (IntrospectionUtils.java: 904)
at org.apache.tomcat.util.digester.CallMethodRule.end (CallMethodRule.java: 532)
at org.apache.tomcat.util.digester.Digester.endElement (Digester.java: 1051)
... 31 more
Apr 02, 2014 2:06:47 pm org.apache.catalina.startup.ContextConfig parseWebXml
serious : Occurred at line 9 column 27
Apr 02, 2014 2:06:48 pm org.apache.catalina.startup.ContextConfig configureStart
serious : Marking this application unavailable due to previous error (s)
Apr 02, 2014 2:06:48 pm org.apache.catalina.startup.TldConfig lifecycleEvent
serious : Error processing TLD files for context with name [/ fut]
java.lang.IllegalArgumentException: MALFORMED
at java.util.zip.ZipCoder.toString (ZipCoder.java: 58)
at java.util.zip.ZipFile.getZipEntry (ZipFile.java: 531)
at java.util.zip.ZipFile.access $ 900 (ZipFile.java: 56)
at java.util.zip.ZipFile $ 1.nextElement (ZipFile.java: 513)
at java.util.zip.ZipFile $ 1.nextElement (ZipFile.java: 483)
at java.util.jar.JarFile $ 1.nextElement (JarFile.java: 243)
at java.util.jar.JarFile $ 1.nextElement (JarFile.java: 238)
at org.apache.tomcat.util.scan.FileUrlJar.nextEntry (FileUrlJar.java: 76)
at org.apache.catalina.startup.TldConfig.tldScanJar (TldConfig.java: 482)
at org.apache.catalina.startup.TldConfig.access $ 100 (TldConfig.java: 58)
at org.apache.catalina.startup.TldConfig $ TldJarScannerCallback.scan (TldConfig.java: 276)
at org.apache.tomcat.util.scan.StandardJarScanner.process (StandardJarScanner.java: 241)
at org.apache.tomcat.util.scan.StandardJarScanner.scan (StandardJarScanner.java: 166)
at org.apache.catalina.startup.TldConfig.execute (TldConfig.java: 250)
at org.apache.catalina.startup.TldConfig.lifecycleEvent (TldConfig.java: 540)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java: 119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent (LifecycleBase.java: 90)
at org.apache.catalina.core.StandardContext.startInternal (StandardContext.java: 5148)
at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java: 150)
at org.apache.catalina.core.ContainerBase.addChildInternal (ContainerBase.java: 866)
at org.apache.catalina.core.ContainerBase.addChild (ContainerBase.java: 842)
at org.apache.catalina.core.StandardHost.addChild (StandardHost.java: 615)
at org.apache.catalina.startup.HostConfig.deployDescriptor (HostConfig.java: 649)
at org.apache.catalina.startup.HostConfig $ DeployDescriptor.run (HostConfig.java: 1581)
at java.util.concurrent.Executors $ RunnableAdapter.call (Executors.java: 471)
at java.util.concurrent.FutureTask.run (FutureTask.java: 262)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java: 1145)
at java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java: 615)
at java.lang.Thread.run (Thread.java: 744)
Apr 02, 2014 2:06:48 pm org.apache.catalina.core.StandardContext startInternal
serious : Error getConfigured
Apr 02, 2014 2:06:48 pm org.apache.catalina.core.StandardContext startInternal
serious : Context [/ fut] startup failed due to previous errors
Apr 02, 2014 2:06:48 pm org.apache.catalina.startup.HostConfig deployDirectory
Information : Deploying web application directory C: \ Program Files \ Apache Software Foundation \ Tomcat 7.0 \ webapps \ docs
Apr 02, 2014 2:06:48 pm org.apache.catalina.startup.HostConfig deployDirectory
Information : Deploying web application directory C: \ Program Files \ Apache Software Foundation \ Tomcat 7.0 \ webapps \ examples
Apr 02, 2014 2:06:49 pm org.apache.catalina.startup.HostConfig deployDirectory
Information : Deploying web application directory C: \ Program Files \ Apache Software Foundation \ Tomcat 7.0 \ webapps \ host-manager
Apr 02, 2014 2:06:49 pm org.apache.catalina.startup.HostConfig deployDirectory
Information : Deploying web application directory C: \ Program Files \ Apache Software Foundation \ Tomcat 7.0 \ webapps \ manager
Apr 02, 2014 2:06:49 pm org.apache.catalina.startup.HostConfig deployDirectory
Information : Deploying web application directory C: \ Program Files \ Apache Software Foundation \ Tomcat 7.0 \ webapps \ ROOT
Apr 02, 2014 2:06:49 pm org.apache.coyote.AbstractProtocol start
Information : Starting ProtocolHandler ["http-bio-8080"]
Apr 02, 2014 2:06:49 pm org.apache.coyote.AbstractProtocol start
Information : Starting ProtocolHandler ["ajp-bio-8009"]
Apr 02, 2014 2:06:49 pm org.apache.catalina.startup.Catalina start
Information : Server startup in 2273 ms
/ localhost / fut / WEB-INF / web.xml content
PUBLIC "-. / / Sun Microsystems, Inc / / DTD Web Application 2.3 / / EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
initenv
sys.Conn.initenv
DownloadFilter
com.fut.utils.DownloadFilter
DownloadFilter
/ marcdata / preorder / *
doc
application / vnd.ms-word
xls
application / vnd.ms-excel
ppt
application / vnd.ms-powerpoint
index.html
index.htm
index.jsp
404
/ err / index.htm
505
/ err1/index.htm
ask how to deal with
------ Solution --------------------------------- -----------
lineNumber: 9; columnNumber: 27 web.xml parsing error.
------ For reference only -------------------------------------- -
the following web.xml while also being given ,
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/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd ">
------ For reference only ---------- -----------------------------
WebContent / WEB-INF / web.xml; lineNumber: 2; columnNumber: 9; document is invalid : no grammar.