• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

org.apache.catalina.LifecycleException

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
When i was trying to deploy my project, i got this error:

===================================================================================================================================================================
Sep 07, 2014 10:25:47 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor D:\Sun\Apache TomEE Plume\conf\Catalina\localhost\Workshop.xml
Sep 07, 2014 10:25:47 AM org.apache.tomee.catalina.TomcatWebAppBuilder init
INFO: ------------------------- localhost -> /Workshop
Sep 07, 2014 10:25:48 AM org.apache.tomee.catalina.TomEEClassLoaderEnricher validateJarFile
WARNING: jar 'F:\Web Design\wwwroot\Ali Farvardin\Farvardin Workshop\Workshop\build\web\WEB-INF\lib\javax.persistence_2.1.0.v201304241213.jar' contains offending class: javax.persistence.Entity. It will be ignored.
Sep 07, 2014 10:25:48 AM org.apache.catalina.core.ContainerBase addChildInternal
SEVERE: ContainerBase.addChild: start:
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/ns/javaee}locale-config, expected [{http://java.sun.com/xml/ns/javaee}application, {http://java.sun.com/xml/ns/javaee}ordering, {http://java.sun.com/xml/ns/javaee}absolute-ordering, {http://java.sun.com/xml/ns/javaee}factory, {http://java.sun.com/xml/ns/javaee}component, {http://java.sun.com/xml/ns/javaee}converter, {http://java.sun.com/xml/ns/javaee}managed-bean, {http://java.sun.com/xml/ns/javaee}name, {http://java.sun.com/xml/ns/javaee}navigation-rule, {http://java.sun.com/xml/ns/javaee}referenced-bean, {http://java.sun.com/xml/ns/javaee}render-kit, {http://java.sun.com/xml/ns/javaee}lifecycle, {http://java.sun.com/xml/ns/javaee}validator, {http://java.sun.com/xml/ns/javaee}behavior, {http://java.sun.com/xml/ns/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/ns/javaee}locale-config, expected [{http://java.sun.com/xml/ns/javaee}application, {http://java.sun.com/xml/ns/javaee}ordering, {http://java.sun.com/xml/ns/javaee}absolute-ordering, {http://java.sun.com/xml/ns/javaee}factory, {http://java.sun.com/xml/ns/javaee}component, {http://java.sun.com/xml/ns/javaee}converter, {http://java.sun.com/xml/ns/javaee}managed-bean, {http://java.sun.com/xml/ns/javaee}name, {http://java.sun.com/xml/ns/javaee}navigation-rule, {http://java.sun.com/xml/ns/javaee}referenced-bean, {http://java.sun.com/xml/ns/javaee}render-kit, {http://java.sun.com/xml/ns/javaee}lifecycle, {http://java.sun.com/xml/ns/javaee}validator, {http://java.sun.com/xml/ns/javaee}behavior, {http://java.sun.com/xml/ns/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
Caused by: javax.xml.bind.UnmarshalException: Unexpected element {http://xmlns.jcp.org/xml/ns/javaee}locale-config, expected [{http://java.sun.com/xml/ns/javaee}application, {http://java.sun.com/xml/ns/javaee}ordering, {http://java.sun.com/xml/ns/javaee}absolute-ordering, {http://java.sun.com/xml/ns/javaee}factory, {http://java.sun.com/xml/ns/javaee}component, {http://java.sun.com/xml/ns/javaee}converter, {http://java.sun.com/xml/ns/javaee}managed-bean, {http://java.sun.com/xml/ns/javaee}name, {http://java.sun.com/xml/ns/javaee}navigation-rule, {http://java.sun.com/xml/ns/javaee}referenced-bean, {http://java.sun.com/xml/ns/javaee}render-kit, {http://java.sun.com/xml/ns/javaee}lifecycle, {http://java.sun.com/xml/ns/javaee}validator, {http://java.sun.com/xml/ns/javaee}behavior, {http://java.sun.com/xml/ns/javaee}faces-config-extension]
at org.metatype.sxc.jaxb.RuntimeContext.validationError(RuntimeContext.java:390)
at org.metatype.sxc.jaxb.RuntimeContext.validationError(RuntimeContext.java:379)
at org.metatype.sxc.jaxb.RuntimeContext.unexpectedElement(RuntimeContext.java:225)
at org.apache.openejb.jee.FacesConfig$JAXB._read(FacesConfig$JAXB.java:343)
at org.apache.openejb.jee.FacesConfig$JAXB.read(FacesConfig$JAXB.java:399)
at org.apache.openejb.jee.FacesConfig$JAXB.read(FacesConfig$JAXB.java:61)
at org.apache.openejb.sxc.Sxc.unmarshall(Sxc.java:167)
at org.apache.openejb.sxc.Sxc.unmarhsal(Sxc.java:158)
at org.apache.openejb.sxc.Sxc.unmarshalJavaee(Sxc.java:143)
at org.apache.openejb.sxc.FacesConfigXml.unmarshal(FacesConfigXml.java:34)
at org.apache.openejb.config.ReadDescriptors.readFacesConfig(ReadDescriptors.java:827)
... 54 more

Sep 07, 2014 10:25:48 AM org.apache.catalina.startup.HostConfig deployDescriptor
SEVERE: Error deploying configuration descriptor D:\Sun\Apache TomEE Plume\conf\Catalina\localhost\Workshop.xml
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Workshop]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
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)

Sep 07, 2014 10:25:50 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deployment of configuration descriptor D:\Sun\Apache TomEE Plume\conf\Catalina\localhost\Workshop.xml has finished in 2,500 ms
===================================================================================================================================================================

This is my web.xml:

===================================================================================================================================================================
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" 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">
<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Development</param-value>
</context-param>

<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>

<session-config>
<session-timeout>
30
</session-timeout>
</session-config>

<welcome-file-list>
<welcome-file>faces/login.xhtml</welcome-file>
</welcome-file-list>

<!--<description>Farvardin Workshop</description>
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/FarvardinWorkshop</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>-->

<!-- <listener>
<listener-class>org.jboss.weld.environment.servlet.Listener</listener-class>
</listener>
<resource-env-ref>
<resource-env-ref-name>BeanManager</resource-env-ref-name>
<resource-env-ref-type>javax.enterprise.inject.spi.BeanManager</resource-env-ref-type>
</resource-env-ref> -->

<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>none</param-value>
</context-param>

</web-app>
===================================================================================================================================================================

And my faces-config.xml:

===================================================================================================================================================================
<?xml version='1.0' encoding='UTF-8'?>
<faces-config version="2.2" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd">
<!--<lifecycle>
<phase-listener>Root.AuthorizationListener</phase-listener>
</lifecycle>
<application>
<system-event-listener>
<source-class>javax.faces.component.html.HtmlInputText</source-class>
<system-event-class>javax.faces.event.PostValidateEvent</system-event-class>
<system-event-listener-class>Validation.ErrorDisplayListener</system-event-listener-class>
</system-event-listener>-->

<locale-config>
<default-locale>fa</default-locale>
<supported-locale>pes</supported-locale>
</locale-config>
<resource-bundle>
<base-name>Resources.Text</base-name>
<var>text</var>
</resource-bundle>

<!-- <resource-library-contracts>
<contract-mapping>
<url-pattern>*</url-pattern>
<contracts>/</contracts>
</contract-mapping>
</resource-library-contracts>-->
</application>
</faces-config>
===================================================================================================================================================================

Specification:

Web Server: Apache TomEE Plume 1.7.0

Framework: JSF

Libraries: JSF2.2, PrimeFaces 5.0, Eclipselink 2.5

Platform : JDK 1.8

IDE: Netbeans 8.0



What is wrong?

Thank you in advance.
 
Saloon Keeper
Posts: 27707
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Arash!

I've not worked with TomEE, but as I recall, it's more of a full-stack J2EE than Tomcat is. Which means that certain jars that you would have to include for Tomcat are already part of Tomee.

In particular, I'm thinking that you have included JPA and maybe JTA jars in your WAR that you don't need to and they're conflicting with the built-in ones.
 
Arash Babak
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Tim for your response,
TomEE has eclipselink-2.1.jar and i've added eclipselink-2.5 library. I changed TomEEs to eclipselink-2.5, but it didn't resolve the problem. Then i decided to start a new project and added my components one by one(classes, JSF views and etc). i added my libraries that mentioned, Text.properties(into class path) and web.xml:

================================================
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Development</param-value>
</context-param>

<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>

<session-config>
<session-timeout>
30
</session-timeout>
</session-config>

<welcome-file-list>
<welcome-file>faces/login.xhtml</welcome-file>
</welcome-file-list>

<description>Farvardin Workshop</description>
<resource-env-ref>
<description>DB Connection</description>
<resource-env-ref-name>jdbc/FarvardinWorkshop</resource-env-ref-name>
<resource-env-ref-type>javax.sql.DataSource</resource-env-ref-type>
</resource-env-ref>

<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>none</param-value>
</context-param>

</web-app>
================================================

And faces-config.xml:

================================================
<?xml version='1.0' encoding='UTF-8'?>
<faces-config version="2.2" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd">
</faces-config>
================================================

To this point, everything was working; till i added these lines into the faces-config.xml file:

<locale-config>
<default-locale>fa</default-locale>
<supported-locale>pes</supported-locale>
</locale-config>
<resource-bundle>
<base-name>resources.Text</base-name>
<var>text</var>
</resource-bundle>

After that i got the error again.

What's wrong?
 
Tim Holloway
Saloon Keeper
Posts: 27707
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Use the "Code" button on our message editor to wrap formatting tags around your XML. It makes it easier to read.

Your original stack trace seemed to think that the XML schema being used to validate your EJBs wasn't suitable. I know of no reason why changing locale information or messages in faces-config.xml should be involved in that.

Other than that, like I said, I'm not familiar with details of TomEE, so I have no idea.
 
Arash Babak
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I will.
Yes, that doesn't make any sense, changing local, causes the problem. Appreciate your attention.
 
Arash Babak
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I Found the answer.
Sometimes a simple thing can't be seen. When i was commenting some lines in my faces-config.xml, i commented application start tag as well. Unfortunately i didn't notice this line of error: "Unexpected element {http://xmlns.jcp.org/xml/ns/javaee}locale-config, expected [{http://java.sun.com/xml/ns/javaee}application".
 
Tim Holloway
Saloon Keeper
Posts: 27707
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oops.
 
reply
    Bookmark Topic Watch Topic
  • New Topic