faces-config.xml must only be in WEB-INF in a war. It doesn't get picked up 
from the classpath at all, just via file from the web context.

faces-config.xml also is now optional and doesn't need to exist since EE 6 
(JSF-2.0). JSF should get automatically started via the MyFaces 
ServletContainerInitializer. Any JSF container must provide such a boot 
mechanism in servlet-3.0 environments according to the JSF spec.

LieGrue,
strub




----- Original Message -----
> From: Romain Manni-Bucau <rmannibu...@gmail.com>
> To: users@openejb.apache.org
> Cc: 
> Sent: Saturday, December 8, 2012 9:15 AM
> Subject: Re: JSF not starting on TomEE 1.5.1 plus
> 
> Hi,
> 
> just looked quickly your project
> 
> 
> can you try the following actions please:
> 
> 1) move resources.xml in web-inf directly
> 2) move faces-config.xml in META-INF in the classpath
> (WEB-INF-INF/classes should be fine)
> 
> ?
> 
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
> 
> 
> 
> 2012/12/8 slobo <mch...@otit.fi>:
>>  I just noticed that my project does not have Server Faces facet enabled.
>>  Should it, or is it done otherwise with TomEE?
>> 
>> 
>> 
>>  --
>>  View this message in context: 
> http://openejb.979440.n4.nabble.com/JSF-not-starting-on-TomEE-1-5-1-plus-tp4659143p4659261.html
>>  Sent from the OpenEJB User mailing list archive at Nabble.com.
> 

Reply via email to