Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 7th, 2011  |  syntax: None  |  size: 2.56 KB  |  views: 692  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. SEVERE: Parse error in application web.xml file at jndi:/localhost/demo/WEB-INF/web.xml
  2. Throwable occurred: java.lang.NumberFormatException: For input string: ""
  3.         at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2687)
  4.         at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2713)
  5.         at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1060)
  6.         at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
  7.         at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
  8.         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
  9.         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
  10.         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
  11.         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  12.         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  13.         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  14.         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  15.         at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
  16.         at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1543)
  17.         at org.apache.catalina.startup.ContextConfig.parseWebXml(ContextConfig.java:1685)
  18.         at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1201)
  19.         at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:874)
  20.         at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:317)
  21.         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
  22.         at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)
  23.         at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4974)
  24.         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
  25.         at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1284)
  26.         at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:735
  27.  
  28. ...
  29.  
  30.  
  31.         <servlet>
  32.                 <servlet-name>NavModelRegisterServlet</servlet-name>
  33.                 <servlet-class>xxx</servlet-class>
  34.                 <load-on-startup/>
  35.         </servlet>
  36.  
  37.  
  38. (resolved by changing to  <load-on-startup>1</load-on-startup> but not <load-on-startup></load-on-startup>)