java.lang.IllegalArgumentException: Invalid <url-pattern> *asdfasd* in servlet mapping

Coderanch | Tripati Sahu | 7 years ago
  1. 0

    Doubt on Mapping

    Coderanch | 7 years ago | Tripati Sahu
    java.lang.IllegalArgumentException: Invalid <url-pattern> *asdfasd* in servlet mapping
  2. 0

    A problem in Tomcat 6.0.20 startup on Windows Vista.

    Coderanch | 7 years ago | Ankit Tripathi
    java.lang.IllegalArgumentException: Invalid <url-pattern> MyServlet in servlet m apping
  3. 0

    I don't know if this is a bug or something I don't understand from the instructions. From catalina log: INFO: validateJarFile(C:\Tomcat55\webapps\cas\WEB-INF\lib\servlet-api-2.3.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class Oct 15, 2008 8:19:31 AM org.apache.catalina.startup.ContextConfig applicationWebConfig SEVERE: Parse error in application web.xml file at jndi:/localhost/tabbedrss/WEB-INF/web.xml java.lang.IllegalArgumentException: addChild: Child name 'tabbedrss' is not unique at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2726) at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2752) at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1061) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562) at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:348) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1048) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:927) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:890) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Oct 15, 2008 8:19:31 AM org.apache.catalina.startup.ContextConfig applicationWebConfig SEVERE: Occurred at line 64 column 15 Oct 15, 2008 8:19:31 AM org.apache.catalina.startup.ContextConfig start SEVERE: Marking this application unavailable due to previous error(s) Oct 15, 2008 8:19:31 AM org.apache.catalina.core.StandardContext start SEVERE: Error getConfigured Oct 15, 2008 8:19:31 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/tabbedrss] startup failed due to previous errors Oct 15, 2008 8:19:42 AM org.apache.coyote.http11.Http11AprProtocol start INFO: Starting Coyote HTTP/1.1 on http-80 Oct 15, 2008 8:19:42 AM org.apache.coyote.ajp.AjpAprProtocol start

    Apereo Issues | 8 years ago | Joe Moore
    java.lang.IllegalArgumentException: addChild: Child name 'tabbedrss' is not unique
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I don't know if this is a bug or something I don't understand from the instructions. From catalina log: INFO: validateJarFile(C:\Tomcat55\webapps\cas\WEB-INF\lib\servlet-api-2.3.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class Oct 15, 2008 8:19:31 AM org.apache.catalina.startup.ContextConfig applicationWebConfig SEVERE: Parse error in application web.xml file at jndi:/localhost/tabbedrss/WEB-INF/web.xml java.lang.IllegalArgumentException: addChild: Child name 'tabbedrss' is not unique at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2726) at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2752) at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1061) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562) at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:348) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1048) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:927) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:890) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Oct 15, 2008 8:19:31 AM org.apache.catalina.startup.ContextConfig applicationWebConfig SEVERE: Occurred at line 64 column 15 Oct 15, 2008 8:19:31 AM org.apache.catalina.startup.ContextConfig start SEVERE: Marking this application unavailable due to previous error(s) Oct 15, 2008 8:19:31 AM org.apache.catalina.core.StandardContext start SEVERE: Error getConfigured Oct 15, 2008 8:19:31 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/tabbedrss] startup failed due to previous errors Oct 15, 2008 8:19:42 AM org.apache.coyote.http11.Http11AprProtocol start INFO: Starting Coyote HTTP/1.1 on http-80 Oct 15, 2008 8:19:42 AM org.apache.coyote.ajp.AjpAprProtocol start

    Apereo Issues | 8 years ago | Joe Moore
    java.lang.IllegalArgumentException: addChild: Child name 'tabbedrss' is not unique
  6. 0

    exception while deploying spring app on tomcat 6

    Stack Overflow | 7 years ago | Pratyusha
    java.lang.IllegalArgumentException: Servlet mapping specifies an unknown servlet name profile

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Invalid <url-pattern> *asdfasd* in servlet mapping

      at org.apache.tomcat.util.digester.Digester.createSAXException()
    2. Glassfish Core
      Digester.endElement
      1. org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2808)
      2. org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2834)
      3. org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1143)
      3 frames
    3. Java RT
      SAXParserImpl$JAXPSAXParser.parse
      1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
      2. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
      3. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
      4. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
      5. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      6. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      7. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      8. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
      9. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
      10. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      10 frames
    4. Glassfish Core
      ContainerBase$ContainerBackgroundProcessor.run
      1. org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)
      2. org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:365)
      3. org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1066)
      4. org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
      5. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      6. org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)
      7. org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1116)
      8. org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214)
      9. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
      10. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      11. org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
      12. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
      13. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
      14. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
      14 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame