org.apache.openejb.OpenEJBException: Cannot unmarshall the web.xml file: jndi:/localhost/anOldWebapp/WEB-INF/web.xml: unexpected element (uri:"http://java.sun.com/xml/ns/javaee", local:"taglib"). Expected elements are <{http://java.sun.com/xml/ns/javaee}display-name>,<{http://java.sun.com/xml/ns/javaee}session-config>,<{http://java.sun.com/xml/ns/javaee}post-construct>,<{http://java.sun.com/xml/ns/javaee}distributable>,<{http://java.sun.com/xml/ns/javaee}security-role>,<{http://java.sun.com/xml/ns/javaee}security-constraint>,<{http://java.sun.com/xml/ns/javaee}ejb-ref>,<{http://java.sun.com/xml/ns/javaee}servlet-mapping>,<{http://java.sun.com/xml/ns/javaee}jsp-config>,<{http://java.sun.com/xml/ns/javaee}filter>,<{http://java.sun.com/xml/ns/javaee}context-param>,<{http://java.sun.com/xml/ns/javaee}listener>,<{http://java.sun.com/xml/ns/javaee}login-config>,<{http://java.sun.com/xml/ns/javaee}icon>,<{http://java.sun.com/xml/ns/javaee}resource-ref>,<{http://java.sun.com/xml/ns/javaee}mime-mapping>,<{http://java.sun.com/xml/ns/javaee}ejb-local-ref>,<{http://java.sun.com/xml/ns/javaee}welcome-file-list>,<{http://java.sun.com/xml/ns/javaee}message-destination-ref>,<{http://java.sun.com/xml/ns/javaee}message-destination>,<{http://java.sun.com/xml/ns/javaee}servlet>,<{http://java.sun.com/xml/ns/javaee}env-entry>,<{http://java.sun.com/xml/ns/javaee}description>,<{http://java.sun.com/xml/ns/javaee}service-ref>,<{http://java.sun.com/xml/ns/javaee}persistence-context-ref>,<{http://java.sun.com/xml/ns/javaee}locale-encoding-mapping-list>,<{http://java.sun.com/xml/ns/javaee}resource-env-ref>,<{http://java.sun.com/xml/ns/javaee}persistence-unit-ref>,<{http://java.sun.com/xml/ns/javaee}filter-mapping>,<{http://java.sun.com/xml/ns/javaee}pre-destroy>,<{http://java.sun.com/xml/ns/javaee}error-page>

openejb-users | freeway | 7 years ago
  1. 0

    How can OpenEJB ignore old webapps in Tomcat?

    openejb-users | 7 years ago | freeway
    org.apache.openejb.OpenEJBException: Cannot unmarshall the web.xml file: jndi:/localhost/anOldWebapp/WEB-INF/web.xml: unexpected element (uri:"http://java.sun.com/xml/ns/javaee", local:"taglib"). Expected elements are <{http://java.sun.com/xml/ns/javaee}display-name>,<{http://java.sun.com/xml/ns/javaee}session-config>,<{http://java.sun.com/xml/ns/javaee}post-construct>,<{http://java.sun.com/xml/ns/javaee}distributable>,<{http://java.sun.com/xml/ns/javaee}security-role>,<{http://java.sun.com/xml/ns/javaee}security-constraint>,<{http://java.sun.com/xml/ns/javaee}ejb-ref>,<{http://java.sun.com/xml/ns/javaee}servlet-mapping>,<{http://java.sun.com/xml/ns/javaee}jsp-config>,<{http://java.sun.com/xml/ns/javaee}filter>,<{http://java.sun.com/xml/ns/javaee}context-param>,<{http://java.sun.com/xml/ns/javaee}listener>,<{http://java.sun.com/xml/ns/javaee}login-config>,<{http://java.sun.com/xml/ns/javaee}icon>,<{http://java.sun.com/xml/ns/javaee}resource-ref>,<{http://java.sun.com/xml/ns/javaee}mime-mapping>,<{http://java.sun.com/xml/ns/javaee}ejb-local-ref>,<{http://java.sun.com/xml/ns/javaee}welcome-file-list>,<{http://java.sun.com/xml/ns/javaee}message-destination-ref>,<{http://java.sun.com/xml/ns/javaee}message-destination>,<{http://java.sun.com/xml/ns/javaee}servlet>,<{http://java.sun.com/xml/ns/javaee}env-entry>,<{http://java.sun.com/xml/ns/javaee}description>,<{http://java.sun.com/xml/ns/javaee}service-ref>,<{http://java.sun.com/xml/ns/javaee}persistence-context-ref>,<{http://java.sun.com/xml/ns/javaee}locale-encoding-mapping-list>,<{http://java.sun.com/xml/ns/javaee}resource-env-ref>,<{http://java.sun.com/xml/ns/javaee}persistence-unit-ref>,<{http://java.sun.com/xml/ns/javaee}filter-mapping>,<{http://java.sun.com/xml/ns/javaee}pre-destroy>,<{http://java.sun.com/xml/ns/javaee}error-page>
  2. 0

    How can OpenEJB ignore old webapps in Tomcat?

    openejb-users | 7 years ago | freeway
    org.apache.openejb.OpenEJBException: Cannot unmarshall the web.xml file: jndi:/localhost/anOldWebapp/WEB-INF/web.xml: unexpected element (uri:"http://java.sun.com/xml/ns/javaee", local:"taglib"). Expected elements are <{http://java.sun.com/xml/ns/javaee}display-name>,<{http://java.sun.com/xml/ns/javaee}session-config>,<{http://java.sun.com/xml/ns/javaee}post-construct>,<{http://java.sun.com/xml/ns/javaee}distributable>,<{http://java.sun.com/xml/ns/javaee}security-role>,<{http://java.sun.com/xml/ns/javaee}security-constraint>,<{http://java.sun.com/xml/ns/javaee}ejb-ref>,<{http://java.sun.com/xml/ns/javaee}servlet-mapping>,<{http://java.sun.com/xml/ns/javaee}jsp-config>,<{http://java.sun.com/xml/ns/javaee}filter>,<{http://java.sun.com/xml/ns/javaee}context-param>,<{http://java.sun.com/xml/ns/javaee}listener>,<{http://java.sun.com/xml/ns/javaee}login-config>,<{http://java.sun.com/xml/ns/javaee}icon>,<{http://java.sun.com/xml/ns/javaee}resource-ref>,<{http://java.sun.com/xml/ns/javaee}mime-mapping>,<{http://java.sun.com/xml/ns/javaee}ejb-local-ref>,<{http://java.sun.com/xml/ns/javaee}welcome-file-list>,<{http://java.sun.com/xml/ns/javaee}message-destination-ref>,<{http://java.sun.com/xml/ns/javaee}message-destination>,<{http://java.sun.com/xml/ns/javaee}servlet>,<{http://java.sun.com/xml/ns/javaee}env-entry>,<{http://java.sun.com/xml/ns/javaee}description>,<{http://java.sun.com/xml/ns/javaee}service-ref>,<{http://java.sun.com/xml/ns/javaee}persistence-context-ref>,<{http://java.sun.com/xml/ns/javaee}locale-encoding-mapping-list>,<{http://java.sun.com/xml/ns/javaee}resource-env-ref>,<{http://java.sun.com/xml/ns/javaee}persistence-unit-ref>,<{http://java.sun.com/xml/ns/javaee}filter-mapping>,<{http://java.sun.com/xml/ns/javaee}pre-destroy>,<{http://java.sun.com/xml/ns/javaee}error-page>
  3. 0

    org.apache.catalina.LifecycleException [Solved] (JSF forum at Coderanch)

    coderanch.com | 3 months ago
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Workshop]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.apache.catalina.LifecycleException [Solved] (JSF forum at Coderanch)

    coderanch.com | 5 months ago
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Workshop]]
  6. 0

    TomEE Users - openejb-jar.xml not being parsed?

    nabble.com | 5 months ago
    org.apache.openejb.OpenEJBException: Cannot unmarshall the openejb-jar.xml. Xml content written to: /tmp/openejb-jar-150619643823582179.xml: null

    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. org.apache.openejb.OpenEJBException

      Cannot unmarshall the web.xml file: jndi:/localhost/anOldWebapp/WEB-INF/web.xml: unexpected element (uri:"http://java.sun.com/xml/ns/javaee", local:"taglib"). Expected elements are <{http://java.sun.com/xml/ns/javaee}display-name>,<{http://java.sun.com/xml/ns/javaee}session-config>,<{http://java.sun.com/xml/ns/javaee}post-construct>,<{http://java.sun.com/xml/ns/javaee}distributable>,<{http://java.sun.com/xml/ns/javaee}security-role>,<{http://java.sun.com/xml/ns/javaee}security-constraint>,<{http://java.sun.com/xml/ns/javaee}ejb-ref>,<{http://java.sun.com/xml/ns/javaee}servlet-mapping>,<{http://java.sun.com/xml/ns/javaee}jsp-config>,<{http://java.sun.com/xml/ns/javaee}filter>,<{http://java.sun.com/xml/ns/javaee}context-param>,<{http://java.sun.com/xml/ns/javaee}listener>,<{http://java.sun.com/xml/ns/javaee}login-config>,<{http://java.sun.com/xml/ns/javaee}icon>,<{http://java.sun.com/xml/ns/javaee}resource-ref>,<{http://java.sun.com/xml/ns/javaee}mime-mapping>,<{http://java.sun.com/xml/ns/javaee}ejb-local-ref>,<{http://java.sun.com/xml/ns/javaee}welcome-file-list>,<{http://java.sun.com/xml/ns/javaee}message-destination-ref>,<{http://java.sun.com/xml/ns/javaee}message-destination>,<{http://java.sun.com/xml/ns/javaee}servlet>,<{http://java.sun.com/xml/ns/javaee}env-entry>,<{http://java.sun.com/xml/ns/javaee}description>,<{http://java.sun.com/xml/ns/javaee}service-ref>,<{http://java.sun.com/xml/ns/javaee}persistence-context-ref>,<{http://java.sun.com/xml/ns/javaee}locale-encoding-mapping-list>,<{http://java.sun.com/xml/ns/javaee}resource-env-ref>,<{http://java.sun.com/xml/ns/javaee}persistence-unit-ref>,<{http://java.sun.com/xml/ns/javaee}filter-mapping>,<{http://java.sun.com/xml/ns/javaee}pre-destroy>,<{http://java.sun.com/xml/ns/javaee}error-page>

      at org.apache.openejb.config.ReadDescriptors.readWebApp()
    2. OpenEJB :: OSGi :: Core
      ReadDescriptors.readWebApp
      1. org.apache.openejb.config.ReadDescriptors.readWebApp(ReadDescriptors.java:494)
      1 frame
    3. OpenEJB :: Assembly :: Tomcat :: Catalina
      GlobalListenerSupport.lifecycleEvent
      1. org.apache.openejb.tomcat.catalina.TomcatWebAppBuilder.createWebModule(TomcatWebAppBuilder.java:624)
      2. org.apache.openejb.tomcat.catalina.TomcatWebAppBuilder.loadApplication(TomcatWebAppBuilder.java:541)
      3. org.apache.openejb.tomcat.catalina.TomcatWebAppBuilder.start(TomcatWebAppBuilder.java:242)
      4. org.apache.openejb.tomcat.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:58)
      4 frames