org.apache.catalina.LifecycleException

Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Workshop]]

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

  • Stack trace

    • org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Workshop]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:547) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1671) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1485) at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:882) at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:368) at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.tomee.catalina.TomEERuntimeException: org.apache.openejb.OpenEJBException: Cannot unmarshall the faces configuration file: file:/F:/Web%20Design/wwwroot/Ali%20Farvardin/Farvardin%20Workshop/Workshop/build/web/WEB-INF/faces-config.xml: Unexpected element {http://xmlns.jcp.org/xml
    • s/javaee}locale-config, expected [{http://java.sun.com/xml
    • s/javaee}application, {http://java.sun.com/xml
    • s/javaee}ordering, {http://java.sun.com/xml
    • s/javaee}absolute-ordering, {http://java.sun.com/xml
    • s/javaee}factory, {http://java.sun.com/xml
    • s/javaee}component, {http://java.sun.com/xml
    • s/javaee}converter, {http://java.sun.com/xml
    • s/javaee}managed-bean, {http://java.sun.com/xml
    • s/javaee}name, {http://java.sun.com/xml
    • s/javaee}navigation-rule, {http://java.sun.com/xml
    • s/javaee}referenced-bean, {http://java.sun.com/xml
    • s/javaee}render-kit, {http://java.sun.com/xml
    • s/javaee}lifecycle, {http://java.sun.com/xml
    • s/javaee}validator, {http://java.sun.com/xml
    • s/javaee}behavior, {http://java.sun.com/xml
    • s/javaee}faces-config-extension] at org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication(TomcatWebAppBuilder.java:2150) at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1134) at org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1087) at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:130) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5378) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 42 more Caused by: org.apache.openejb.OpenEJBException: Cannot unmarshall the faces configuration file: file:/F:/Web%20Design/wwwroot/Ali%20Farvardin/Farvardin%20Workshop/Workshop/build/web/WEB-INF/faces-config.xml: Unexpected element {http://xmlns.jcp.org/xml
    • s/javaee}locale-config, expected [{http://java.sun.com/xml
    • s/javaee}application, {http://java.sun.com/xml
    • s/javaee}ordering, {http://java.sun.com/xml
    • s/javaee}absolute-ordering, {http://java.sun.com/xml
    • s/javaee}factory, {http://java.sun.com/xml
    • s/javaee}component, {http://java.sun.com/xml
    • s/javaee}converter, {http://java.sun.com/xml
    • s/javaee}managed-bean, {http://java.sun.com/xml
    • s/javaee}name, {http://java.sun.com/xml
    • s/javaee}navigation-rule, {http://java.sun.com/xml
    • s/javaee}referenced-bean, {http://java.sun.com/xml
    • s/javaee}render-kit, {http://java.sun.com/xml
    • s/javaee}lifecycle, {http://java.sun.com/xml
    • s/javaee}validator, {http://java.sun.com/xml
    • s/javaee}behavior, {http://java.sun.com/xml
    • s/javaee}faces-config-extension] at org.apache.openejb.config.ReadDescriptors.readFacesConfig(ReadDescriptors.java:831) at org.apache.openejb.config.DeploymentLoader.addFacesConfigs(DeploymentLoader.java:1366) at org.apache.openejb.config.DeploymentLoader.createWebModule(DeploymentLoader.java:1014) at org.apache.openejb.config.DeploymentLoader.createWebModule(DeploymentLoader.java:777) at org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:211) at org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication(TomcatWebAppBuilder.java:2148) ... 49 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    No Bugmate found.